Tuesday, September 26, 2023

Integrate stripe payment plugin in flutter

A flutter plugin with stripe payment plugin integration


Conveniently secure payments methods using Stripe.

Quick Glance

  • This Flutter plugin is a straight port from tipsi-stripe plugin for React Native – we tried to keep the API as close as possible so the documentation applies this this plugin as well.
  • Collect chargable tokens from users’ Card Input and Apple & Google Pay
  • For SCA compliant apps, setup payment intents for later confirmation.

Supported features:

Native Pay

  • canMakeNativePayPayments()
  • deviceSupportsNativePay()
  • potentiallyAvailableNativePayNetworks()
  • completeNativePayRequest()
  • cancelNativePayRequest()

Card Form

  • paymentRequestWithCardForm()

Card Params Object

  • createTokenWithCard()

Bank Account Params Object

  • createTokenWithBankAccount()

Create Source Object With Params

  • createSourceWithParams()


Android & iOS

  • Create a Stripe account and project
  • Retrieve a publishable key from the Stripe dashboard


  • Requires AndroidX

Include support in android/gradle.properties


For proper setup also have a look at: https://github.com/jonasbark/flutter_stripe_payment/issues/88#issuecomment-553798157


As this plugin is a port from tipsi-stripe for React Native you may consult their documentation: https://github.com/tipsi/tipsi-stripe/tree/experimental-connect/website/docs-md It includes:

  • how to setup Google / Apple Pay
  • method documentations