#pooja_webhooks

1 messages ¡ Page 1 of 1 (latest)

gentle flowerBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1318960302607433780

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

whole stirrup
#

I need first name and last name from checkout.session.completed event and use it in invoice.paid event

desert kettle
#

There's no way to pass information between triggers/events as such. You'd need to retrieve the information independently based on the event type.

Can you share the example events you're looking at so that I'm on the same page?

whole stirrup
#

checkout.session.completed event and invoice.paid event, I dont get client name in invoice.paid event so I need to get it from checkout.session.completed event but now I need to do furtherprocessing in invoice.paid event as I have all the product data there

desert kettle
#

can you share the event IDs that you're looking at?
should start with evt_xxx

whole stirrup
#

"id": "evt_1QXNmtKfUHeU3rJl9km9KYRc", and "id": "evt_1QXNmsKfUHeU3rJlPfL5QEA7",

#

is there a way to do so?

desert kettle
#

invoice.paid event delivers an invoice object as a payload.
Have you checked if the invoice object has customer_name parameter filled when you received invoice.paid event?

whole stirrup
#

customer_name parameter in invoice.paid is Cardholder name/fullname on card