Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 2.97 KB

migration.md

File metadata and controls

31 lines (28 loc) · 2.97 KB

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

Main changes

Migration

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.