#kaustuva-le
1 messages · Page 1 of 1 (latest)
- Not possible AFAIK. But you can distinguish by retrieve the PaymentIntent and check its status
- No but you can always ignore it, can't you? 🙂
- The thing is we want the customer to be redirected to confirmation URL if success and back to checkout URL if failure.
- We want to avoid appending sensitive info(intent secret) like that in the URL
- So you can set your confirmation URL, and check the status there. If the status is fail, redirect them back to the checkout URL one more time
- That's not super sensitive, as it's already exposed in the client! Not so much worry to have it in your URL