#immaculate_avocado_42097

1 messages · Page 1 of 1 (latest)

rocky arrowBOT
lethal osprey
#

Can you describe that exactly it is you're trying to do?

wraith charm
#

i need a response after the if the payment was success or failed

lethal osprey
#

After what?

wraith charm
#

after the checkout session

lethal osprey
#

You won't get payment status after your session creation. There's no guarantee that session will ever be paid, so you need to rely on async events to be notified

#

On creation the session will be status: 'open' and payment_status: 'unpaid'

#

Only after your customer is redirected and actually pays will those values change, and the way to be notified on that happening is via a webhook