Skip to content

Releases: stripe/stripe-react-native

0.37.1 - 2024-03-15

15 Mar 19:33
Compare
Choose a tag to compare

Fixes

  • Native library updates.

Please see the changelog for additional details.

0.37.0 - 2024-02-16

16 Feb 19:34
Compare
Choose a tag to compare

Breaking changes

  • Your compileSdkVersion (in android/build.gradle) now must be at least 34. Changing your compileSdkVersion does not change runtime behavior.

Fixes

  • Fixed an issue on Android where the SDK was unable to follow URL redirects in some cases.
  • Fixed an issue on Android where Google Pay & Link were not saved as default payment methods in PaymentSheet.

Please see the changelog for additional details.

0.36.0 - 2024-02-02

02 Feb 19:08
Compare
Choose a tag to compare

Features

  • Use preferredNetworks on CardField, CardForm, CustomerSheet, and PaymentSheet to set the list of preferred networks that should be used to process payments made with a co-branded card.
  • Set the Google Pay button type that is used in PaymentSheet with the googlePay.buttonType parameter.

Fixes

  • Fixed an issue on Android where CardField's placeholderColor wasn't being applied to the card brand icon.

Please see the changelog for additional details.

0.35.1 - 2024-01-16

16 Jan 23:22
Compare
Choose a tag to compare

Fixes

  • Fixed a build error on Android when using React Native 0.73.0 and higher #1579
  • Fixed the test mock for useStripe #1559
  • Fixed a build error on Android that would only occur when using the nx build tool #1586

Please see the changelog for additional details.

0.35.0 - 2023-11-02

02 Nov 23:10
Compare
Choose a tag to compare

Features

  • Added support for RevolutPay bindings

Please see the changelog for additional details.

0.34.0 - 2023-10-25

25 Oct 20:38
Compare
Choose a tag to compare

Features

  • Added new presentationStyle options for CustomerSheet and AddressSheet. #1515
  • Support PlatformPayButton's appearance and borderRadius props on Android. #1534
  • PaymentSheet now supports Swish for PaymentIntents in private beta #1542
  • PaymentSheet now supports saved payment method support for SEPA family payment methods #1542

Fixes

  • Fixed an issue on Android where apps could crash when launching Google Pay
  • Fixed an issue on Android where street in shippingContact for PlatformPay methods would include null in the string
  • Fixed an issue on Android where phoneNumber in ShippingContact for PlatformPay methods would be null
  • Removed XML asset files, library size reduced. #1534

Please see the changelog for additional details.

0.33.0 - 2023-09-22

22 Sep 18:46
Compare
Choose a tag to compare

Features

  • Added the amount and label params to initPaymentSheet's googlePay field configuration. Use this to diplay the amount for setup intents.
  • Added the amount and label params createPlatformPayPaymentMethod, confirmPlatformPayPayment, and confirmPlatformPaySetupIntent.
  • PaymentSheet now supports the following payment methods on both iOS and Android (previously some of the following were iOS only) for SetupIntents and PaymentIntents with setup for future usage:
    • Alipay
    • BECS Direct Debit
    • Cash App Pay
    • iDEAL
    • SEPA
    • Sofort
    • Bancontact
    • BLIK
    • Boleto
    • Revolut Pay
    • OXXO (PaymentIntents only)
    • Konbini (PaymentIntents only)
  • PaymentSheet now supports the following payment methods on iOS only for SetupIntents and PaymentIntents with setup for future usage:
    • PayNow
    • PromptPay

Fixes

  • Fixed an issue on iOS where the value for the paymentMethod field on the returned paymentIntent object from confirmPlatformPayPayment and the returned setupIntent object from confirmPlatformPaySetupIntent would be null.

Please see the changelog for additional details.

0.32.0 - 2023-09-15

15 Sep 18:51
Compare
Choose a tag to compare

Features

  • createPlatformPayPaymentMethod and createPlatformPayToken now also include an optional shippingContact field in their results. #1500
  • Added the removeSavedPaymentMethodMessage field to initPaymentSheet to display a custom message when a saved payment method is removed. iOS Only. #1498

Fixes

  • Fixed an issue on iOS where recollecting the CVC wouldn't work correctly. #1501

Please see the changelog for additional details.

0.31.1 - 2023-09-08

08 Sep 22:24
Compare
Choose a tag to compare

Features

  • [BETA] Added CustomerSheet API, a prebuilt UI component that lets your customers manage their saved payment methods. #1491
  • [PaymentSheet] Added support for AmazonPay (private beta), BLIK (iOS only), GrabPay, and FPX with PaymentIntents. #1491

Fixes

  • Fixed font scaling on Android PaymentSheet not respecting floating-point number values. #1469

Please see the changelog for additional details.

0.30.0 - 2023-08-04

04 Aug 22:09
Compare
Choose a tag to compare

Features

  • Added the handleNextActionForSetup method. This can be used exactly like handleNextAction, except with SetupIntents. #1440
  • canAddCardToWallet now returns the fpanLastFour and dpanLastFour in the GooglePayCardToken type. The cardLastFour field (which is now superseded by fpanLastFour) is deprecated.

Fixes

  • Fixed an error on Android where AddressSheet would throw an error if submitted with the keyboard open. #1462
  • Fixed an issue where state was not included in the returned PaymentIntent's shippingDetails on iOS. #1465
  • Fixed an error where usePaymentSheet could cause infinite reloads. #1439'

Please see the changelog for additional details.