Main changes

July 5, 2021 ยท View on GitHub

flutter_stripe_payment has been discontinued - a new plugin called flutter_stripe should be used instead:

Main changes

Migration

Old method nameNew method nameComment
setOptionsinitialize
setStripeAccountinitializestripeAccountId 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
createTokenWithCardcreateToken
createTokenWithBankAccount-
createSourceWithParamscreatePaymentMethod
createPaymentMethodcreatePaymentMethod
authenticatePaymentIntenthandleCardAction
confirmPaymentIntentconfirmPaymentMethod
authenticateSetupIntent-
confirmSetupIntentconfirmSetupIntent

Check the example app for details on how to use the new plugin.