Accept payments with Flutter Web

622

You'll need to investigate & ask this of the maintainers of the various community libraries offer Flutter plugins, whether they can target web in addition to Android/ios. In particular this one appears to support web and includes an example.

Short of that, you can try using WebViews and Stripe.js as a workaround.

Share:
622
Eight Rice
Author by

Eight Rice

Building the world's most awesomest app, which already exists in our pets' future as remorse. It's not boxing-related.

Updated on December 24, 2022

Comments

  • Eight Rice
    Eight Rice over 1 year

    There are lots of ready-made Flutter integrations for different payment processors for the two mobile platforms, but I can't find any that support web. Is that because there are none?
    So far I've been looking at:
    https://github.com/Techie-Qabila/stripe_api - which seems to be out of date. I'm also seeing this question asked a bunch of times over the last few months.
    Looking for any suggestions on how to accept payments in Flutter Web.

  • Eight Rice
    Eight Rice over 3 years
    I've been trying to implement the one you suggested, but it doesn't support web, because it relies on uni_links. Also, WebViews does not work with web. And saying that my best bet is to ask someone to do something and hope they'll do it is hardly a solution.
  • Nolan H
    Nolan H over 3 years
    Stripe doesn't provide a Flutter plugin, they offer native SDKs for iOS and Android. Web is handled by Stripe.js. If the available Flutter plugins don't or won't support what you need, then you'll need to investigate building your own: flutter.dev/docs/development/packages-and-plugins/…
  • Eight Rice
    Eight Rice over 3 years
    What about another payment processor please? I was looking into building my own implementation now. It involves making a separate API in cloud functions that handles the communcation with Stripe, and it seems like at least one year worth of work for someone like me..Is there really no relatively simple way I can accept payments on my website?