#Kamiyabali-checkout-success
1 messages · Page 1 of 1 (latest)
You'd listen for the checkout.session.completed webhook event: https://stripe.com/docs/payments/checkout/fulfill-orders
hi, actually i am not getting any data on response redirection... not getting payload... already tested with all form method POST,GET,PUT and also with raw data..
What do you mean by response redirection?
When your user is sent to success_url?
on request, I sent success url , but on that url i don't get any payload after payment success
Correct, that's expected. What data do you need?
I need status of payment request either payment success or not
Well, if they're sent to success_url then the session was successful
But you can append your success_url with the CHECKOUT_SESSION_ID variable and it'll be accessible on your success page and you can lookup what you need: https://stripe.com/docs/payments/checkout/custom-success-page
Generally though you should listen for checkout.session.completed events async with a webhook as there's no guarantee your customer ever makes it to your success_url