Releases: stripe/stripe-react-native
Releases · stripe/stripe-react-native
0.29.0 - 2023-07-13
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
- You can now collect payment details before creating a
PaymentIntent
orSetupIntent
. See our docs for more info. This integration also allows you to confirm the Intent on the server. #1424
Fixes
- Fixes
handleURLCallback
to only take action on iOS, no-op on Android. #1423
Please see the changelog for additional details.
0.28.0 - 2023-06-16
Features
- Added a
disabled
prop toCardField
andCardForm
which applies a disabled state such that user input is not accepted. #1403
Fixes
- Fixed an instance on Android where
collectBankAccountToken
orcollectFinancialConnectionsAccounts
could result in a fatal error. #1401 - Resolve with better error objects on iOS in
confirmPaymentSheetPayment
,createTokenForCVCUpdate
,createPaymentMethod
,retrievePaymentIntent
, andretrieveSetupIntent
#1399
Please see the changelog for additional details.
0.27.2 - 2023-05-15
Fixes
Please see the changelog for additional details.
0.27.1 - 2023-05-03
Note: Xcode 13 is no longer supported by Apple. Please upgrade to Xcode 14.1 or later.
Fixes
- Fixed the type of
created
onToken.Result
on Android (was a number, should be a string). #1369 - Fixed
AddToWalletButton
not properly resolving theandroidAssetSource
in release mode. #1373 - Fixed
isPlatformPaySupported
not respectingexistingPaymentMethodRequired
ortestEnv
on Android. #1374
Please see the changelog for additional details.
0.27.0 - 2023-04-21
Features
- Added
billingDetailsCollectionConfiguration
toinitPaymentSheet
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 includethreeDSecureUsage
. #1347
Please see the changelog for additional details.
0.26.0 - 2023-03-16
New Features
- Added support for PayPal and CashApp to PaymentSheet,
confirmPayment
, andconfirmSetupIntent
. #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
New Features
- Added the
supportsTapToPay
option tocanAddCardToWallet
. #1308
Fixes
- Fixed an issue on iOS where
canAddCardToWallet
would always return adetails.status
ofUNSUPPORTED_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 theuseApplePay
hook without using theApplePayButton
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
Breaking changes
- #1248 Renamed the
paymentSummaryItems
field ininitPaymentSheet()
'sapplePay
params tocartItems
. So your change will look like this:
initPaymentSheet({
...
applePay: {
- paymentSummaryItems: [
+ cartItems: [
}
...
})
New Features
- Added the
setOrderTracking
property to thePlatformPayButton
component and theinitPaymentSheet
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 toinitPaymentSheet()
'sapplePay
params. Use this to set the text displayed by the call to action button in the Apple Pay sheet.#1248 - Added the
request
field toinitPaymentSheet()
's,confirmPlatformPayPayment()
's, andconfirmPlatformPaySetupIntent
'sapplePay
params. Use this to support different types of payment requests, likeRecurringPaymentRequest
,AutomaticReloadPaymentRequest
, andMultiMerchantRequest
.#1248 - Added an
options
argument topresentPaymentSheet
which includes atimeout
property. #1287
Please see the changelog for additional details.
0.23.3 - 2023-02-07
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
Fixes
- Fixed a bug on Android where
canAddCardToWallet
wouldn't correctly return thedetails.token
object. #1282
Please see the changelog for additional details.