Changes
- Updated Stripe iOS SDK from 26.16.0 to 26.16.1.
- Updated Stripe Android SDK from 23.25.1 to 23.26.0.
- [Changed] iOS: Payment Sheet now titles the card entry form "Add a card" instead of "Add card".
- [Changed] Documented platform support for Payment Sheet, Embedded Payment Element, Customer Sheet, Onramp, and
initStripeoptions that apply on a single platform only.
Fixes
- [Fixed] Android: Payment Sheet no longer hides the Bank payment method unnecessarily.
- [Fixed] Android: Payment Sheet no longer leaks its Activity when closed before passive CAPTCHA warm-up finishes.
- [Fixed] Example iOS CocoaPods bootstrap on Ruby 3.4 by pinning CocoaPods 1.16.2 and json below 3; align root
react-native-webviewwith the example app and type Connect's dynamic WebView load for that release. - [Fixed] Android:
updateEmbeddedPaymentElementnow resolves with a Failed error instead of hanging. - [Fixed] Android: Customer Sheet adapter callbacks now resolve after completing their deferred work, including decode failures on attach and detach.
- [Fixed] Android:
initCustomerSheetno longer resolves twice when both an ephemeral key and an intent configuration are provided. - [Fixed] Android:
dismissPlatformPayandupdatePlatformPaySheetnow settle their promises. - [Fixed] iOS and Android:
intentCreationCallbackandconfirmationTokenCreationCallbacknow resolve after completing; Android no longer returns a Payment Sheet missing-init error when only Embedded was waiting. - [Fixed] Android: 3D Secure
textFieldcustomization is now applied to the challenge UI. - [Fixed] Card
metadatais now included when creating or confirming card payment methods on Android and when using CardField on iOS. - [Fixed] iOS: 3D Secure
timeoutnow sets the authentication timeout (in minutes). - [Fixed] Declared optional card
metadataonPaymentMethod.CardParamsandshippingDetailsonPaymentIntent.CardParams. - [Fixed] iOS:
CardFormemitsonFocusChangewhen card fields gain or lose focus, enabling keyboard dismissal withStripeContainer. (#954) - [Fixed] iOS:
CardFormkeeps entered card details when style-related props update without changing the form type. - [Fixed] iOS:
AuBECSDebitFormkeeps entered bank details when only style props change. - [Fixed] Android:
CardFieldclear()resets validation and error states on all fields, not only the text. - [Fixed] Android:
AuBECSDebitFormborderWidthandborderRadiususe density-independent pixels, matchingCardFieldand iOS (this may change appearance for apps that tuned around the previous scaling). - [Fixed] Android:
AddToWalletButtonpasses the ephemeral key map to Google Pay as JSON instead of Kotlin map text. - [Fixed] Added web platform stand-ins for native specs so Expo SDK 58 apps using the default template (
web.output: "server") no longer fail native release builds when a route imports the SDK; calling Stripe APIs on web still returnsWebUnsupportederrors. - [Fixed] Declared
paymentMethodOrderon Customer Sheet initialization params (Android). - [Fixed] Android: Embedded Payment Element reports invalid configuration through
embeddedPaymentElementLoadingFailedinstead of crashing when props cannot be parsed. - [Fixed] iOS: Declared the iOS 15 deployment target in the podspec to match the pinned Stripe iOS SDK.
- [Fixed] Exclude Android unit test sources and other test globs from the published npm package.
- [Fixed] CI: Made Bitrise Maestro end-to-end test shards fail clearly when the CLI install is incomplete and invoke the installed binary directly.
- [Fixed] Android: Report
PaymentMethodMessagingElementconfiguration and appearance errors to JavaScript instead of crashing the host. - [Fixed]
PaymentMethodMessagingElementnow surfaces native configuration error messages in theonStateChangefailed state. - [Fixed] Corrected the
PaymentMethodMessagingElementdocumentation example property names and removed the undeclaredonLoadCompleteiOS export. - [Fixed]
PaymentMethodMessagingElementevents are scoped to each mounted element when multiple instances are on screen.