#aeu1999-Custom flow

1 messages · Page 1 of 1 (latest)

clear light
#

👋 happy to help

#

I'm not really following

#

could you please elaborate

worthy gate
#

ll ask a different question, using the prebuilt checkout, how can we save the details of our form on our database before the user is directed to the success page

clear light
#

by listening to the webhooks checkout.session.completed

#

if you're listening to that event the user will not be directly redirected to the success page until we receive a HTTP 200 response from your webhook

tiny garden
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

worthy gate
tiny garden
#

Not sure I understand the Q. What are you trying to achieve?

worthy gate
tiny garden
#

You'd subscribe to the checkout.session.completed webhook event as my colleague stated. That will contain all the details pertinent to the Checkout payment and you can persist those details as you need

#

Checkout will wait up to 10 seconds for a 200 response from your webhook before redirecting to success_url

worthy gate