#luigi_checkout-metadata

1 messages ยท Page 1 of 1 (latest)

rough sigilBOT
#

๐Ÿ‘‹ 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/1493761626460131429

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

lavish burrow
#

luigi_checkout-metadata

#

@warped sequoia the metadata you passed in those requests is set on the Checkout Session object. The corresponding Event checkout.session.completed would have the same exact metadata

#

Can you give an example Event where the data is missing so I can have a look?

warped sequoia
#

sure:

  • checkout.session.completed for a checkout created in a connected account: evt_1TMG7OFZjWjAEtFMgPhtWQJt
  • checkout.session.completed for a checkout created in the main account: evt_1TMGlCFZjWjAEtFMlC8cykHt
rough sigilBOT
warped sequoia
#

also, the first request id is for the checkout created in the connected account. Second one is for the main account

lavish burrow
#

how did you get that Event exactly?

#

Basically evt_1TMG7OFZjWjAEtFMgPhtWQJt is the result of something you did manually in the Dashboard in Workbench with a blueprint. It does not have any metadata.
I think you might be mixing up the Events between what your own code does/run and what you do manually in Workbench

#

@latent hearth on my team is taking over but I wanted to clarify this first

latent hearth
#

๐Ÿ‘‹ catching up

warped sequoia
#

Basically evt_1TMG7OFZjWjAEtFMgPhtWQJt is the result of something you did manually in the Dashboard in Workbench with a blueprint. It does not have any metadata.
I think you might be mixing up the Events between what your own code does/run and what you do manually in Workbench
tbh I don't even know how to do that. I got this event when I finished filling the embedded checkout in our test website

latent hearth
warped sequoia
#

yeah okay, I see the confusion now

#

someone did create this event via the workbench, and since I was testing the checkout at the same time, I got both mixed up

#

in fact, I don't even receive the events from the connected account in the main's account webhook

#

thank you both for the help, I don't think I'd be able to catch that ๐Ÿ˜„