Skip to content

Releases: stripe/stripe-react-native

0.27.2 - 2023-05-15

15 May 20:42
Compare
Choose a tag to compare

Fixes

  • Updated stripe-android from 20.24.0 to 20.25.+ #1384
  • Updated stripe-ios from 23.7.+ to 23.8.+ #1384

Please see the changelog for additional details.

0.27.1 - 2023-05-03

03 May 19:08
Compare
Choose a tag to compare

Note: Xcode 13 is no longer supported by Apple. Please upgrade to Xcode 14.1 or later.

Fixes

  • Fixed the type of created on Token.Result on Android (was a number, should be a string). #1369
  • Fixed AddToWalletButton not properly resolving the androidAssetSource in release mode. #1373
  • Fixed isPlatformPaySupported not respecting existingPaymentMethodRequired or testEnv on Android. #1374

Please see the changelog for additional details.

0.27.0 - 2023-04-21

21 Apr 18:05
Compare
Choose a tag to compare

Features

  • Added billingDetailsCollectionConfiguration to initPaymentSheet parameters. Use this to configure the collection of email, phone, name, or address in the Payment Sheet. #1361

Fixes

  • Updated Google Pay button asset to match Google's most recent branding guidelines. #1343
  • Fixed type for ApplePay.ShippingContact.phoneNumber. #1349
  • Fixed CardResult type to include threeDSecureUsage. #1347

Please see the changelog for additional details.

0.26.0 - 2023-03-16

16 Mar 22:02
Compare
Choose a tag to compare

New Features

  • Added support for PayPal and CashApp to PaymentSheet, confirmPayment, and confirmSetupIntent. #1331

Fixes

  • Compatible with v0.1.4 of @stripe/stripe-identity-react-native. 8fa8a7a

Please see the changelog for additional details.

0.25.0 - 2023-02-27

27 Feb 18:03
Compare
Choose a tag to compare

New Features

  • Added the supportsTapToPay option to canAddCardToWallet. #1308

Fixes

  • Fixed an issue on iOS where canAddCardToWallet would always return a details.status of UNSUPPORTED_DEVICE on iPads. #1305
  • Fixed an issue on iOS where canAddCardToWallet would always return a {canAddCard: false} if the card in question had been provsioned on the current device, but had not yet been provisioned on a paired Watch. #1305
  • Fixed an issue on iOS where the deprecated onDidSetShippingMethod & onDidSetShippingContact events wouldn't be triggered if you were using the useApplePay hook without using the ApplePayButton component. #1298
  • Fixed an issue on Android where canAddCardToWallet could result in a null pointer exception on devices without NFC compatibility. #1308

Please see the changelog for additional details.

0.24.0 - 2023-02-17

17 Feb 19:31
Compare
Choose a tag to compare

Breaking changes

  • #1248 Renamed the paymentSummaryItems field in initPaymentSheet()'s applePay params to cartItems. So your change will look like this:
 initPaymentSheet({
   ...
   applePay: {
-    paymentSummaryItems: [
+    cartItems: [
   }
  ...
 })

New Features

  • Added the setOrderTracking property to the PlatformPayButton component and the initPaymentSheet method. Use this callback for setting the order details to give users the ability to track and manage their purchases in Wallet. To learn more about order tracking, see Apple’s Wallet Orders documentation. #1248
  • Added the buttonType field to initPaymentSheet()'s applePay params. Use this to set the text displayed by the call to action button in the Apple Pay sheet.#1248
  • Added the request field to initPaymentSheet()'s, confirmPlatformPayPayment()'s, and confirmPlatformPaySetupIntent's applePay params. Use this to support different types of payment requests, like RecurringPaymentRequest, AutomaticReloadPaymentRequest, and MultiMerchantRequest.#1248
  • Added an options argument to presentPaymentSheet which includes a timeout property. #1287

Please see the changelog for additional details.

0.23.3 - 2023-02-07

07 Feb 23:28
Compare
Choose a tag to compare

Fixes

  • Fixes a build failure on Android when using stripe-android v20.19.2. #1289

Please see the changelog for additional details.

0.23.2 - 2023-02-06

06 Feb 21:42
Compare
Choose a tag to compare

Fixes

  • Fixed a bug on Android where canAddCardToWallet wouldn't correctly return the details.token object. #1282

Please see the changelog for additional details.

0.23.1 - 2023-01-25

25 Jan 22:12
Compare
Choose a tag to compare

Fixes

  • Fixed an issue with confirmPlatformPaySetupIntent on iOS. #1266
  • Fixed types so that Klarna accepts the shippingDetails property. #1272
  • Both PaymentIntent.Result and SetupIntent.Result types now include a paymentMethod field. This replaces the paymentMethodId field, which will be removed in a later release. #1272

Please see the changelog for additional details.

0.23.0 - 2023-01-09

09 Jan 21:42
Compare
Choose a tag to compare

Breaking changes

  • createPlatformPayPaymentMethod no longer returns a token object. #1236
    • If your integration depends on Stripe's Tokens API, please use createPlatformPayToken, which accepts identical arguments.

Fixes

  • Fixed an issue with createPlatformPayPaymentMethod on iOS where a "Canceled" error could be returned in production. #1236
  • Fixed an issue where the PlatformPayButton with type={PlatformPay.ButtonType.GooglePayMark} would be unclickable. #1236
  • Fixed an issue on Android where CardField would render without the necessary padding. 48debb2
  • Fixed an issue on iOS where providing a null value to certain method parameters would result in a crash. #1252

Please see the changelog for additional details.