Releases: stripe/stripe-react-native
Releases · stripe/stripe-react-native
0.37.1 - 2024-03-15
0.37.0 - 2024-02-16
Breaking changes
- Your
compileSdkVersion
(inandroid/build.gradle
) now must be at least 34. Changing yourcompileSdkVersion
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
Features
- Use
preferredNetworks
onCardField
,CardForm
,CustomerSheet
, andPaymentSheet
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
'splaceholderColor
wasn't being applied to the card brand icon.
Please see the changelog for additional details.
0.35.1 - 2024-01-16
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
0.34.0 - 2023-10-25
Features
- Added new
presentationStyle
options for CustomerSheet and AddressSheet. #1515 - Support
PlatformPayButton
'sappearance
andborderRadius
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
inshippingContact
for PlatformPay methods would includenull
in the string - Fixed an issue on Android where
phoneNumber
inShippingContact
for PlatformPay methods would benull
- Removed XML asset files, library size reduced. #1534
Please see the changelog for additional details.
0.33.0 - 2023-09-22
Features
- Added the
amount
andlabel
params toinitPaymentSheet
'sgooglePay
field configuration. Use this to diplay the amount for setup intents. - Added the
amount
andlabel
paramscreatePlatformPayPaymentMethod
,confirmPlatformPayPayment
, andconfirmPlatformPaySetupIntent
. - 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 returnedpaymentIntent
object fromconfirmPlatformPayPayment
and the returnedsetupIntent
object fromconfirmPlatformPaySetupIntent
would be null.
Please see the changelog for additional details.
0.32.0 - 2023-09-15
Features
createPlatformPayPaymentMethod
andcreatePlatformPayToken
now also include an optionalshippingContact
field in their results. #1500- Added the
removeSavedPaymentMethodMessage
field toinitPaymentSheet
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
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
Features
- Added the
handleNextActionForSetup
method. This can be used exactly likehandleNextAction
, except with SetupIntents. #1440 canAddCardToWallet
now returns thefpanLastFour
anddpanLastFour
in theGooglePayCardToken
type. ThecardLastFour
field (which is now superseded byfpanLastFour
) 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'sshippingDetails
on iOS. #1465 - Fixed an error where
usePaymentSheet
could cause infinite reloads. #1439'
Please see the changelog for additional details.