flutter_stripe_payment has been discontinued - a new plugin called flutter_stripe should be used instead:
- the credit card information form is no longer a dialog but can be used as and styled as a native view
- support for Payment Sheet
- support for many more payment providers
- PCI compliant, SCA-Ready with 3D Secure authentication
- integration with the Pay plugin
- documentation, support and regular updates
Old method name | New method name | Comment |
---|---|---|
setOptions |
initialize |
|
setStripeAccount |
initialize |
stripeAccountId parameter |
deviceSupportsNativePay |
- | Apple + Google Pay is supported by using the pay plugin or payment sheet |
canMakeNativePayPayments |
- | see above |
paymentRequestWithNativePay |
- | see above |
completeNativePayRequest |
- | see above |
cancelNativePayRequest |
- | see above |
paymentRequestWithCardForm |
- | use the CardField view or payment sheet |
createTokenWithCard |
createToken |
|
createTokenWithBankAccount |
- | |
createSourceWithParams |
createPaymentMethod |
|
createPaymentMethod |
createPaymentMethod |
|
authenticatePaymentIntent |
handleCardAction |
|
confirmPaymentIntent |
confirmPaymentMethod |
|
authenticateSetupIntent |
- | |
confirmSetupIntent |
confirmSetupIntent |
Check the example app for details on how to use the new plugin.