stripe_payment 1.1.4 copy "stripe_payment: ^1.1.4" to clipboard
stripe_payment: ^1.1.4 copied to clipboard

discontinuedreplaced by: flutter_stripe
PlatformAndroidiOS

A Flutter plugin to integrate the stripe libraries for iOS and Android. Supports Apple / Google Pay, SCA, PSD2 and much more.

⚠ WARNING: This plugin has been discontinued.
Head over to migration.md for migrate to the new flutter_stripe plugin

pub package

stripe_payment #

Conveniently secure payments methods using Stripe.

Quick Glance #

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

Supported features: #

Native Pay -  & G #

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

Card Form #

  • paymentRequestWithCardForm()

Card Params Object #

  • createTokenWithCard()

Bank Account Params Object #

  • createTokenWithBankAccount()

Create Source Object With Params #

  • createSourceWithParams()

Apple Pay

Dependencies #

Android & iOS #

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

Stripe Dashboard

Android #

  • Requires AndroidX

Include support in android/gradle.properties

android.useAndroidX=true
android.enableJetifier=true

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

Documentation #

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

Blog Posts #

Xcode 12.5 support #

Xcode 12.5 is not supported - see this discussion for a fix

377
likes
130
points
928
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to integrate the stripe libraries for iOS and Android. Supports Apple / Google Pay, SCA, PSD2 and much more.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on stripe_payment