#Robin020

1 messages ยท Page 1 of 1 (latest)

dapper emberBOT
runic crag
#

Hi there!

thick fossil
#

Hey

runic crag
#

Yes, that can happen. That's why we strongly recommend to use webhook events to fulfill orders

thick fossil
#

No way to pass in like a callback to the create checkout session before it gets redirected?

runic crag
#

Well the callback is the webhook event.

thick fossil
#

I see

#

Then I will get back into the docs ๐Ÿ™‚ Any advice you can give me?

runic crag
thick fossil
#

For example, How do I know the webhook event is called for which customer?

runic crag
#

The event payload will contain a Checkout Session object, which should contain the customer ID (if you provided one), or any metadata you set on the Checkout Session object.

#

But I would recommend you to read the doc first, and then ask questions ๐Ÿ™‚

thick fossil
#

You're right.