Hi everyone, I was wondering if someone know on how to improve the redirect workflow once a user has completed the checkout process on stripe? Right now the user get’s redirected back to the sign up page first and then to their profile page after around 5 seconds. This can be a bit confusing for the user since they already have created their account.
Is there a way to redirect the user directly to their profile page or a custom page once a user have completed the checkout process in stripe?
Hi, @equibodyapp thanks for the reply. Yes, the redirect URL/page has been set.
The issue is that it does not go there right away but goes back to the registration page for a few seconds after completing the checkout and then automatically redirects to the final URL/page destination.
I’m trying to push it to go there directly after checkout.
I’m not sure about the Bubble plugin as I don’t use it - perhaps Bubble handles a lot of it within the plugin which limits the flexibility of putting your own redirect URL’s but you can pass the success URL to Stripe when you initialise a checkout session.
Perhaps look at other Stripe plugins if this is important to your app.
ok thanks for helping. It seems to be such as a basic function that I should be able to do implement it without installing another plugin…I’ll keep working on it
@chris.williamson1996 thanks for the tips. I’ll give it that try. Just to verify before I get too deep into the rabbit hole. Is using webhook the easiest and most reliable way to redirect a user back to a specific URL after finishing the transaction on stripe?
I really wished the workflow way would work but having people redirected back to the registration page and then redirected to their profile page is just a terrible user experience.
Hey @chris.williamson1996 are you referring to the input on Default Redirect Link on Settings - Customer Portal? I tried that and still having the same issue since it only applies to editing subscription and not creating a new subscription. Maybe you are reffering to a different place on stripe?
Hey you can create a final step with a condition “if the previous Stripe step is successful (something like that)”, go to another page (or do whatever you need)
That’s how I do it and it works almost perfectly.
In 1% of the cases though, Stripe doesn’t actually return back to the app. Not a big problem but I’ll need to manually register the user. If anyone has a solution I’ll be happy to hear!
Edit: oh I just understood what you were asking. I have the same problem. I think you can overlay the page with a spinning icon that says “Processing” - this element only appears when payment is successful (use a State to track perhaps). At least during these 5 seconds the user is not confused! Let me know how it goes - I need to fix this too lol