Flutter Web + Stripe

I try to find solutions how to integrate Stripe Checkout into Flutter Web App.

I ask for your experiences, pitfalls and advices regarding solutions I’ve mentioned below and any other options you know about.

:one: I know about packages: flutter_stripe and flutter_stripe_web but there is an important note:

This package is in a very early stage so be cautious to use it in production.

So seems like it’s not a good one for my purposes.

:two: Also I found an Firebase’s extension Run Payments with Stripe with 2-year old tutorial from Flutter Community on YouTube that seems like a solution. But it can be outdated.

Looking for your help.

1 Like

If you’re not feeling confident about using the stripe packages in Flutter, you can always implement a web view and show a page built in Javascript or a proxy to a backend and implement the UI/Services yourself (which I would prefer for safety).

1 Like

I have been able to implement stripe checkout…it’s best to checkout Instead of trying to implement checkout with in the app using widgets from stripe package

If u gpt it and go through the docs u should be able to do it in a short amount of time…also handle the cancel and success gracefully.

Sorry if I didn’t answer your question

There are webhooks to check your transaction record and stuff it’s awesome…

They have good api

1 Like

Thanks for your answer!

I’m not sure about web view, because my app will be web only.

Regarding last option, did you mean how handle create an proxy API, where everything will be handled, and work with it from app?

1 Like

Thanks for your answer!

So your suggestion is to just work with their API directly, am I right? What pitfalls can you encounter?

1 Like

So no hurdles at all…just make sure to run your functions in Firestore

U can also emulate it

Yea once u get the gist of it it’s okay

1 Like

If you’d like to be able to change payment gateways in the future another option to consider is this package we’ve developed. It makes it simple to charge through Stripe (or many other gateways) using Invoice Ninja admin interface to configure the gateway.

1 Like