#immaculate_avocado_42097
1 messages · Page 1 of 1 (latest)
Can you describe that exactly it is you're trying to do?
i need a response after the if the payment was success or failed
After what?
after the checkout session
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