Redirecting from Stripe Checkout to FlutterFlow Web App

Troubleshooting

Hi everyone,

I’m facing an issue with redirecting to my FlutterFlow web app from Stripe Checkout’s success_url.

Here’s what’s happening:

• When running the app locally using flutter run -d chrome, the URL defaults to:

http://localhost:55837/home

• After completing the Stripe checkout process, the URL returns:

http://localhost:55837/success

and this is fine for local runs… but I think i need to use /#/success in normal run mode/ if not the browser think it's a file and wants to download the "success" file…

• Still using localhost runs, when using hash routing, like:

http://localhost:55837/#/success, the app unexpectedly redirects to the homepage: http://localhost:55837/home

Additionally:

• When using FlutterFlow’s “test run” feature, neither

https://websiteurl/success nor https://websiteurl/#/success are working.

In both cases, I’m being redirected back to the homepage.

Note: The success page has no specific logic and is just a test page.

Any help or advice would be greatly appreciated! Thanks!

What have you tried so far?

I'm using a custom function to use the base URL that will be used for debugging purposes or localhost for my Stripe checkout success URL. So the Stripe checkout success URL is correct.

Did you check FlutterFlow's Documentation for this topic?
Yes
1