#heymato

1 messages · Page 1 of 1 (latest)

dark groveBOT
bleak pond
#

hi! not sure I follow, what's the context? which API?

whole crown
#

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

bleak pond
#

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

whole crown
#

Is it a possibility to the return_url the same as the payment page so it redirects to itself?

bleak pond
#

it can be any URL you like

whole crown
#

OK thank you

#

OK I will checkout this direction then,