A flutter plugin with stripe payment plugin integration | Mobile App development


A flutter plugin to integrate the stripe plugin for iOS and Android. Currently only adding a credit card as source is implemented.


To set your publishable key set:

import 'package:stripe_payment/stripe_payment.dart';

from somewhere in your code, e.g. your main.dart file.

To open the dialog:

StripeSource.addSource().then((String token) {
    print(token); //your stripe card source token


Please be aware that your main activity must extend from FlutterFragmentActivity. Otherwise the Android dialog would’ve looked very nasty.


  •  better error handling
  •  internationalization
  •  more stripe library implementations?

Credit (github url) : https://github.com/jonasbark/flutter_stripe_payment

Next Article : https://flutterappdev.com/2019/02/23/a-behaviorsubject-for-flutter-with-automatic-persist-and-hydrate/

Leave a Reply

Your email address will not be published.