⚠ WARNING: This plugin has been discontinued.
Head over to migration.md for migrate to the new flutter_stripe plugin
- 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.
- canMakeNativePayPayments()
- deviceSupportsNativePay()
- potentiallyAvailableNativePayNetworks()
- completeNativePayRequest()
- cancelNativePayRequest()
- paymentRequestWithCardForm()
- createTokenWithCard()
- createTokenWithBankAccount()
- createSourceWithParams()
- Create a Stripe account and project
- Retrieve a publishable key from the Stripe dashboard
- Requires AndroidX
Include support in android/gradle.properties
android.useAndroidX=true
android.enableJetifier=true
For proper setup also have a look at: #88 (comment)
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
Xcode 12.5 is not supported - see this discussion for a fix