Skip to content

13.0.0

Choose a tag to compare

@remonh87 remonh87 released this 04 Jun 19:21
· 24 commits to main since this release
c807baa

Breaking Changes

  • collectBankAccountForPayment and verifyPaymentIntentWithMicrodeposits now return CollectBankAccountResult (a sealed class) instead of PaymentIntent. 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 EmbeddedPaymentElement widget renders inline in your layout (no bottom sheet). Use EmbeddedPaymentElementController to call confirm(), 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 collectBankAccountForPayment and verifyPaymentIntentWithMicrodeposits crashing when the native SDK returns a setup intent instead of a payment intent. (#2395)
  • Fixed crash in _handleCardChanged when the native layer sends a wrapped {card: {...}} payload instead of flat card fields. Both shapes are now handled. (#2265)
  • Fixed confirmPaymentSheetPayment not triggering the token creation handler registered via onCreatePaymentMethod. (#2400)
  • Fixed LinkDisplayParams serialization — Dart field names were not matching the link / display keys expected by native iOS and Android, causing Link display configuration to be silently ignored. (#2407)
  • iOS: Added FlutterFramework as an explicit SPM dependency in stripe_ios to fix Swift Package Manager resolution. (#2420)

Removed

  • UPI payment method has been removed following its removal from the Stripe React Native SDK.