Releases: flutter-stripe/flutter_stripe
Releases · flutter-stripe/flutter_stripe
13.0.0
Breaking Changes
collectBankAccountForPaymentandverifyPaymentIntentWithMicrodepositsnow returnCollectBankAccountResult(a sealed class) instead ofPaymentIntent. Update any code that assigns or pattern-matches the return value. (#2395)
Features
- EmbeddedPaymentElement — Full Flutter widget support for the embedded payment element on iOS and Android. The new
EmbeddedPaymentElementwidget renders inline in your layout (no bottom sheet). UseEmbeddedPaymentElementControllerto callconfirm(), which now returns a payment result so failures (declined card, insufficient funds, etc.) can be detected directly without relying solely on callbacks. Available callbacks:onHeightChanged,onPaymentOptionChanged,onLoadingFailed,onRowSelectionImmediateAction,onFormSheetConfirmComplete. (#2239) - Multibanco — Added Multibanco as a supported payment method following the sync with Stripe React Native v0.66.0. (#2421)
- Sync with Stripe React Native v0.66.0 — Aligned iOS and Android native bridges with the upstream React Native SDK v0.66.0. (#2421)
Fixes
- Fixed
collectBankAccountForPaymentandverifyPaymentIntentWithMicrodepositscrashing when the native SDK returns a setup intent instead of a payment intent. (#2395) - Fixed crash in
_handleCardChangedwhen the native layer sends a wrapped{card: {...}}payload instead of flat card fields. Both shapes are now handled. (#2265) - Fixed
confirmPaymentSheetPaymentnot triggering the token creation handler registered viaonCreatePaymentMethod. (#2400) - Fixed
LinkDisplayParamsserialization — Dart field names were not matching thelink/displaykeys expected by native iOS and Android, causing Link display configuration to be silently ignored. (#2407) - iOS: Added
FlutterFrameworkas an explicit SPM dependency instripe_iosto fix Swift Package Manager resolution. (#2420)
Removed
- UPI payment method has been removed following its removal from the Stripe React Native SDK.
12.6.0
12.5.0
v12.3.0
12.3.0
Features
- Sync with Stripe React Native 0.58.0
Fixes
- #2332 Android: Google Pay not appear on the PaymentSheet
- #2321 Android: Wrap context with AppCompat theme for Google Pay button.
- #2320 Android: add ProGuard rules to prevent 3D Secure crash.
- #2314 Android: Card details not complete error when using dangerouslyUpdateCardDetails
- #2307 Android: Paymentsheet card not focusable when tapping middle or bottom of the field.
12.2.0
12.2.0
Features
- Sync with Stripe React Native 0.57.1
- Added support for Alma payments
- Added token creation callback methods
- ioS: Support for liquid glass
- Implemented new constructors for customer sheet and deprecated the old ones
- Remove Giropay as Stripe no longer supports it
- Improved stability of customer sheet screen
Fixes
12.1.1
12.1.0
v12.0.0
12.0.0
Breaking changes
- This package now supports and requires Freezed v3
- Breaking change due to sync with Stripe React Native's (v0.50.1) new architecture.
- Remove Sofort payment method as Stripe does not support it anymore
Features
- Paymentsheet now supports link display parameters
- Paymentsheet can now be configured with a map of paymentmethods for future usage
Fixes
v11.5.0
11.5.0
Align with Stripe React Native 0.43.0:
Breaking changes
- Removed support for FPX payments via the bank picker UI. If you'd like to accept FPX payments, we recommend using Mobile Payment Element. Also see the FPX Payment guide for more info on how to integrate FPX specifically.
Features
-
Financial Connections now supports dark mode, and will automatically adapt to the device's theme. Learn more about configuring appearance settings.
-
Added card brand filtering to PaymentSheet and CustomerSheet to specify allowed or blocked card brands. 1857
-
Added ability to pass an
onEventlistener to Financial Connections methods via aparamsargument:collectBankAccountForPaymentcollectBankAccountForSetupcollectBankAccountTokencollectFinancialConnectionsAccounts
-
Added ability to pass
metadatatoPaymentMethod.ConfirmParamsandPaymentMethod.CreateParams -
CustomerSheetis now generally available!- If you were using
CustomerSheetBeta, change that toCustomerSheet. - If you were using
CustomerSheetBeta.CustomerSheet, change that toCustomerSheet.Component
- If you were using
-
Enabled vertical mode
Fixes
- Updated
stripe-iosto 24.7.* - Updated
stripe-androidto 21.6.*