#matthias-adenin-purse_api

1 messages ¡ Page 1 of 1 (latest)

frail kayakBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1359796094732603532

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

rustic ether
#

Hi there, to clarify, you want to redirect your customer to another page if the payment succeeds?

steep drift
#

Yes !

#

We are passing the return_url in the confirmCardPayment

#

But redirection is not made

#

I'm not going through the API /confirm paymentIntent, I do it by JS

rustic ether
#

Ok, the return_url is for Stripe.js to redirect your customer from the payment authentication page.

steep drift
#

Ye

#

s

rustic ether
#

Not redirect your customer to another page after payment.

steep drift
#

yes when I confirm the payment

rustic ether
#

For example, some payment methods (like Alipay) will redirect the customer to the Alipay page for payment confirmation. Once the customer complete the confirmation, they will be redirected to return_url.

steep drift
#

i'm using payment_method = card only

#

payment_method_types *

rustic ether
#

I see, card payment isn't a redirect based payment method, meaning your customer won't be redirected to another page for confirmation. this explains why return_url is never called.

So you'll want to implement your own redirect to send your customer to a successful page.

frail kayakBOT