stripe-react-native

React Native library for Stripe.

MIT License

Downloads
430.6K
Stars
1.2K
Committers
57

Bot releases are hidden (Show)

stripe-react-native - 0.38.0 - 2024-05-24 Latest Release

Published by charliecruzan-stripe 5 months ago

Features

  • Adds support for paymentMethodOrder in PaymentSheet, which provides client side sorting of payment methods.
  • Updated stripe-android to 20.44.*
stripe-react-native - 0.37.3 - 2024-04-19

Published by charliecruzan-stripe 6 months ago

Fixes

  • Fixed an issue with generating App Privacy reports.
  • Native library updates.

Please see the changelog for additional details.

stripe-react-native - 0.37.2 - 2024-04-02

Published by charliecruzan-stripe 7 months ago

Fixes

  • Native library updates.

Please see the changelog for additional details.

stripe-react-native - 0.37.1 - 2024-03-15

Published by charliecruzan-stripe 7 months ago

Fixes

  • Native library updates.

Please see the changelog for additional details.

stripe-react-native - 0.37.0 - 2024-02-16

Published by charliecruzan-stripe 8 months ago

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.

stripe-react-native - 0.36.0 - 2024-02-02

Published by charliecruzan-stripe 9 months ago

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.

stripe-react-native - 0.35.1 - 2024-01-16

Published by charliecruzan-stripe 9 months ago

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.

stripe-react-native - 0.35.0 - 2023-11-02

Published by charliecruzan-stripe 12 months ago

Features

  • Added support for RevolutPay bindings

Please see the changelog for additional details.

stripe-react-native - 0.34.0 - 2023-10-25

Published by charliecruzan-stripe 12 months ago

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.

stripe-react-native - 0.33.0 - 2023-09-22

Published by charliecruzan-stripe about 1 year ago

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.

stripe-react-native - 0.32.0 - 2023-09-15

Published by charliecruzan-stripe about 1 year ago

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.

stripe-react-native - 0.31.1 - 2023-09-08

Published by charliecruzan-stripe about 1 year ago

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.

stripe-react-native - 0.30.0 - 2023-08-04

Published by charliecruzan-stripe about 1 year ago

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.

stripe-react-native - 0.29.0 - 2023-07-13

Published by charliecruzan-stripe over 1 year ago

Breaking changes

  • The Apple Pay and Google Pay APIs, which are deprecated and were replaced with the Platform Pay API last year, have been removed. #1424

Features

Fixes

  • Fixes handleURLCallback to only take action on iOS, no-op on Android. #1423

Please see the changelog for additional details.

stripe-react-native - 0.28.0 - 2023-06-16

Published by charliecruzan-stripe over 1 year ago

Features

  • Added a disabled prop to CardField and CardForm which applies a disabled state such that user input is not accepted. #1403

Fixes

  • Fixed an instance on Android where collectBankAccountToken or collectFinancialConnectionsAccounts could result in a fatal error. #1401
  • Resolve with better error objects on iOS in confirmPaymentSheetPayment, createTokenForCVCUpdate, createPaymentMethod, retrievePaymentIntent, and retrieveSetupIntent #1399

Please see the changelog for additional details.

stripe-react-native - 0.27.2 - 2023-05-15

Published by charliecruzan-stripe over 1 year ago

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.

stripe-react-native - 0.27.1 - 2023-05-03

Published by charliecruzan-stripe over 1 year ago

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.

stripe-react-native - 0.27.0 - 2023-04-21

Published by charliecruzan-stripe over 1 year ago

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.

stripe-react-native - 0.26.0 - 2023-03-16

Published by charliecruzan-stripe over 1 year ago

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.

stripe-react-native - 0.25.0 - 2023-02-27

Published by charliecruzan-stripe over 1 year ago

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.