#cobra_florianw
1 messages ยท Page 1 of 1 (latest)
I guess I haven't completed a Checkout Session with the bank account payment method before, but shouldn't it just redirect to the success url like all the other payment methods?
I tried it in test mode with simulated payment, it just shows that the payment was successful but it won't redirect from there.
Can you share the checkout session id where this happened?
Happened with this checkout session: cs_test_a1HAiUhJQGXmOh21PFgj1xVtApoArwqIL6fP7GLL7WDxjofoyEmT3BIGOD
Payment went through, Webhooks worked as well, it's just the redirect that does not work.
Oh try setting return_url: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-return_url
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Oh, i've never noticed this setting. I'll give it a try and see how it goes.
Let me know if that was the issue
return_url sadly does not work in our case since we are using ui_mode hosted. Switching ui modes would need a lot of restructuring of our current procedure. I've however updated the stripe nuget we used since it was a bit outdated (thats why i did not know return_url) but it still is not redirecting.
Another option we have thought of was sending a webhook from our end to our frontend after handling the checkout.session.completed webhook for the bank transfer payment.
Any other ideas that i could try?
๐ stepping in as codename_duchess needs to step away
I believe this is expected and there isn't a way to force a redirect here at the time of bank transfer
Let me double check though
I'll be away for a couple of minutes, I'll check in again later tho