Releases: flutter-stripe/flutter_stripe
Releases · flutter-stripe/flutter_stripe
4.0.0
4.0.0
** Breaking changes **
- Added support for iOS 15 paymentSummaryItems: PKDeferredPaymentSummaryItem and PKRecurringPaymentSummaryItem.
Adding a summary item before was:
ApplePayCartSummaryItem(
label: 'Product Test',
amount: '0.01',
);
Becomes
ApplePayCartSummaryItem.immediate(
label: 'Product Test',
amount: '0.01',
);
-
Changed paymentsheet parameters to make it more clear which settings are used for Google Pay and Apple Pay. Changes:
merchantCountryCode
is now moved into bothPaymentSheetApplePay
andPaymentSheetGooglePay
,currencyCode
andtestEnv
is now part of thePaymentSheetGooglePay
object. -
Added possibility to add
ApplePayCartSummaryItem
to the paymensheet.
Other changes
- Support for affirm payment method.
- Several fixes by the Stripe sdk v.0.15.0.
v3.3.0
v3.2.0
v3.1.0
- Added styling parameters for the payment sheet.
- Better error logging for Google Pay.
- Fix #462 Not returning back when using in app browser.
- Fix bug that threw not implemented exception in the nextCardAction method when using 3d Secure.
- Make Flutter Stripe backwards compatible with Flutter v2.
- Fix #731 Styling for the Cardform field.
- Several fixes by the Stripe sdk v.0.10.0, v.0.11.0 and v.0.12.0 .
v3.0.0
** Breaking changes **
- Support for Flutter 3 and support Dart sdk 2.16 and higher.
- Only supports application running on Freezed v2.0.0 and higher
- Changed parameter structure for
createPaymentMethod
,confirmPayment
,confirmSetupIntent
in line with latest changes of the Stripe SDK. For example
Stripe.instance.confirmPayment(
clientSecret,
PaymentMethodParams.ideal(
bankName: 'revolut',
),
);
Becomes
Stripe.instance.confirmPayment(
clientSecret,
PaymentMethodParams.ideal(
paymentMethodData:
PaymentMethodDataIdeal( 'revolut'),
),
);
- Change styling parameter structure for Cardformfield in order to support more styling options.
Other changes
v2.5.0
- BREAKING CHANGE: Mostly fixes and changes to types, but some method's now accept slightly different parameters:
- Removed setUrlSchemeOnAndroid in favor of setReturnUrlSchemeOnAndroid. setReturnUrlSchemeOnAndroid functions exactly the same, this is just a rename.
- Removed handleCardAction in favor of handleNextAction. handleNextAction functions exactly the same, this is just a rename.
- BREAKING: This library now supports iOS 12 and up, due to
stripe-ios
increasing the deployment target.- To upgrade your iOS deployment target to 12.0, you can either do so in Xcode under your Build Settings, or by modifying IPHONEOS_DEPLOYMENT_TARGET in your project.pbxproj directly. You will also need to update your Podfile to target :ios, '12.0'.
- Feat: add card ID and bankAccount ID to token response
- Feat: Add support for ACHv2
- Feat: Add support for setting a card's currency when creating a Token
- Feat: Added support for placeholderColor, textErrorColor , borderColor, borderRadius, and borderWidth for AuBECSDebitForm on iOS
- Several fixes by the Stripe sdk v0.7.0
- Updated freezed dependency to allow 2.x