#aer1al-checkout

1 messages · Page 1 of 1 (latest)

gloomy wagon
#

you pull the ID of the Session from the URL param, call your backend, and have your backend call the Stripe API to check the status.

#

note that is only in addition to using webhooks for having your backend update and fulfil the order, which you also need to do(since the customer might not visit the redirect page).

obtuse token
#

when would i use payment intents?

gloomy wagon
#

hmm, that's not related to using Checkout at all really

obtuse token
#

ohh okay

#

can you give me an example flow where they would be used?

gloomy wagon
#

when you want to have a more complex integration where you host the payment components embedded on your own page instead of a redirect to Checkout(what we call the Custom payment flow)

obtuse token
#

ahh i see

#

thanks

obtuse token
gloomy wagon
#

no, it has to be done on the backend

obtuse token
#

okay thanks, i was using @elfin fossil 's nextstripe library to create my session

#

i guess what i will have to do is create an endpoint that calls stripe like you advised, and also implement a webhook right?