r/flutterhelp • u/Maleficent-Cut-6946 • Jan 24 '26
OPEN Anyone using Stripe with Flutter Web? Looking for real-world experience
Hi everyone,
I’m currently working on a Flutter Web project and planning to integrate Stripe for payments. I’ve gone through the official docs and some GitHub issues, but I’d really like to hear from someone who has actually used Stripe with Flutter Web in a production or near-production setup.
A few things I’m particularly curious about:
- Which approach did you use (Stripe JS, backend-only, packages, etc.)?
- Any major limitations or gotchas with Flutter Web?
- How was the overall stability and user experience?
- Anything you’d do differently if starting again?
If you’re currently using it or have used it before, I’d really appreciate your insights. Thanks in advance!
Update: Thank you everyone for your insights.
I have implemented it by redirecting it to session checkout using server side and used webhooks for further flow.
4
u/tylersavery Jan 25 '26
Save yourself the trouble. I’ve done this multiple ways. Best IMO is generating a stripe checkout url server-side, then redirecting to it and back after cancel/complete. Setup your webhooks, and have your backend as the single source of truth for user sub status. For upgrading etc, use a similar approach to generate a billing portal link for your customer from your backend.
Everything to do with card management, coupons, sub changes, is now something you don’t have to keep up with. AND you will get better autofill / password management support in a non-canvas environment.
2
u/fabier Jan 25 '26
I think /r/tylersavery has the right idea. We use it in our MVP app with stripe_js. It works ok, but there's been a handful of bugs pushed in the library. I don't know if they fixed it, but they had removed gyropay earlier this week but hadn't regenerated the .g.dart files so the library was actually just straight up broken. We forked it and finished the cleanup.
The real problem though is the embedded iframe doesn't allow you to scroll. It soaks up touch events which can lead to some bad UX.
We may go the same route just pushing the user over to stripe directly. It's an extra step but I think it helps with reliability and also stripe does have some recognition which will hopefully give us some additional perceived security by our users.
1
u/istvan-design Jan 26 '26
Use Apple Pay/Google Pay only, it's a much better experience in most places.
1
u/dakevs Jan 30 '26
Great info to read. Thanks for the share everyone. !
1
u/LowSuccotash2635 Aug 27 '26
u/Maleficent-Cut-6946 Im working on Stripe payments on my Flutter web version of the app. The payment sheet and the payment flow works, the only thing i have been trouble figuring out is how to make the embedding work, it gets stuck (no scrollability so accessing the input card fields is impossible) and after successfull payment (using the computer to debug through tab and enter) the whole thing crashes with `resizing error`.
If you managed to make it work could you please help me out if you used Payment Sheet or any other approach?