#heymato
1 messages · Page 1 of 1 (latest)
hi! not sure I follow, what's the context? which API?
I'm using a paymentIntent to create a payment. When I choose bancontact and click cancel, I'm not going back to the payments section but immediatly to my return_url with a payment failed. I'd rather want it to go back to the choose payments page
PaymentIntents only have a return_url, you can't add another URL for if something else happens. What you would do is when your return_url is visited, retrieve the corresponding PaymentIntent and check its status and based on that , show different infromation or do a redirect
Is it a possibility to the return_url the same as the payment page so it redirects to itself?
it can be any URL you like