React Native library for Stripe.
MIT License
Bot releases are hidden (Show)
Published by charliecruzan-stripe over 1 year ago
paymentSummaryItems
field in initPaymentSheet()
's applePay
params to cartItems
. So your change will look like this: initPaymentSheet({
...
applePay: {
- paymentSummaryItems: [
+ cartItems: [
}
...
})
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
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
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
options
argument to presentPaymentSheet
which includes a timeout
property. #1287
Please see the changelog for additional details.
Published by charliecruzan-stripe over 1 year ago
stripe-android
v20.19.2. #1289
Please see the changelog for additional details.
Published by charliecruzan-stripe over 1 year ago
canAddCardToWallet
wouldn't correctly return the details.token
object. #1282
Please see the changelog for additional details.
Published by charliecruzan-stripe over 1 year ago
confirmPlatformPaySetupIntent
on iOS. #1266
shippingDetails
property. #1272
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.
Published by charliecruzan-stripe almost 2 years ago
createPlatformPayPaymentMethod
no longer returns a token
object. #1236
createPlatformPayToken
, which accepts identical arguments.createPlatformPayPaymentMethod
on iOS where a "Canceled" error could be returned in production. #1236
PlatformPayButton
with type={PlatformPay.ButtonType.GooglePayMark}
would be unclickable. #1236
CardField
would render without the necessary padding. 48debb2
null
value to certain method parameters would result in a crash. #1252
Please see the changelog for additional details.
Published by charliecruzan-stripe almost 2 years ago
ShippingMethod
type to contain the isPending
field instead of a type
field (which previously was never correct). This reflects the inputs accepted. #1227
ShippingMethod
type to contain the startDate
and endDate
keys, if applicable. #1227
<CardForm />
on Android. #1234
Please see the changelog for additional details.
Published by charliecruzan-stripe almost 2 years ago
hasPairedAppleWatch
option to canAddCardToWallet
. #1219
deprecated
and will be removed in a future release, but are still supported in this version.'const' enums are not supported.
see commit
canAddCardToWallet
method would sometimes wrongly return false
with a details.status
of MISSING_CONFIGURATION
in production builds. #1215
canAddCardToWallet
would return false
if the card had already been provisioned on a paired device like an Apple Watch, but had not yet been provisioned on the current device, and would also return false
if the card had been provisioned on the current device, but not on a paired Apple Watch. #1219
Please see the changelog for additional details.
Published by charliecruzan-stripe almost 2 years ago
<AddressSheet />
component, which enables you to collect local and international shipping or billing addresses from your customers with address autocomplete. #1169
defaultShippingDetails
field to the params
argument in initPaymentSheet(params)
. This will allow you to collect shipping details (either in your own UI or using the new <AddressSheet />
component) for payments in the Payment Sheet. #1169
Please see the changelog for additional details.
Published by charliecruzan-stripe almost 2 years ago
stripe-ios
increasing the deployment target. If you would like to build for iOS 12, please continue to use @stripe/[email protected]
. #1190
resetPaymentSheetCustomer
method to clear persisted authentication state in the PaymentSheet. #1176
preferredNetwork
and availableNetworks
fields to the CardResult
payment method. #1176
CardForm
and CardView
on Android. #1150
primaryButtonLabel
property to initPaymentSheet()
. #1190
confirmSetupIntent
would throw an error if the Card
payment method was provided with the paymentMethodId
parameter. #1151
stripe-android
to 20.15.+. #1176
stripe-ios
to 23.1.+. #1190
FinancialConnections.Subcategory
and FinancialConnections.Permission
types to be camel-case instead of snake case. #1176
borderWidth
and borderRadius
for <CardField />
and CardForm />
was inconsistent across iOS and Android. #1182
Please see the changelog for additional details.
Published by charliecruzan-stripe about 2 years ago
<GooglePayButton />
component's type
prop now only accepts standard
or pay
(pay_shadow
, pay_dark
, standard_shadow
, and standard_dark
were all removed). It defaults to standard
. #1135
compileSdkVersion
(in android/build.gradle
) now must be at least 33. Changing your compileSdkVersion
does not change runtime behavior.returnURL
as an optional parameter to handleNextAction
. Use this so the Stripe SDK can redirect back to your app after authentication. #1104
stripe-ios
from 22.7.+ to 22.8.+. Updated stripe-android
from 20.9.+ to 20.12.+. This updates the Google Pay button to match the new brand guidelines. #1135
Please see the changelog for additional details.
Published by charliecruzan-stripe about 2 years ago
Please see the changelog for additional details.
Published by ianjabour-stripe about 2 years ago
compileSdkVersion
(in android/build.gradle
) now must be at least 32
. Changing your compileSdkVersion
does not change runtime behavior.confirmPayment
can now be called with just a client secret (e.g. await confirmPayment("payment-intent-id")
), in other words the payment method can be excluded. If the payment method is excluded, it is assumed by the SDK that you have attached the payment method on the server-side during payment intent creation. #1084
collectBankAccountForPayment
, collectBankAccountForSetup
, collectBankAccountToken
, and collectFinancialConnectionsAccounts
wouldn't work with Stripe Connect accounts. #1086.stripe-ios
to 22.7.+ and stripe-android
to 20.9.+.Please see the changelog for additional details.
Published by charliecruzan-stripe about 2 years ago
collectBankAccountToken
& collectFinancialConnectionsAccounts
functions.collectBankAccountForPayment
and collectBankAccountForSetup
would fail on Android when using React Native 0.65.x or under. #1059
IllegalStateException: Cannot remove Fragment attached to a different FragmentManager
. #1054
Published by charliecruzan-stripe about 2 years ago
<GooglePayButton />
component no longer overrides the type
to use the dark mode version when the device is in Dark Mode. If you set the type
value, it will always be respected. If you don't set the type
value, it will match the system's theme (standard_shadow
when in Light Mode, and standard_dark
when in Dark Mode). #1051
pay_dark
and standard_dark
to the <GooglePayButton />
component's type
prop. This allows you to display the dark Google Pay button. #1051
borderColor
, borderRadius
, and cursorColor
to CardForm
's cardStyle
prop on iOS (already exists on Android). #1048
@stripe/stripe-react-native
by preventing unnecessary files from being published. #1043
Please see the changelog for additional details.
Published by charliecruzan-stripe over 2 years ago
params
object that is supplied to initPaymentSheet(params)
:
applePay
field. Previously this field accepted a boolean, now it accepts an object of type ApplePayParams
, which includes the merchantCountryCode
field, and a new paymentSummaryItems
field (see "New features" below).googlePay
field. Previously this field accepted a boolean, now it accepts an object of type GooglePayParams
, which includes the merchantCountryCode
, currencyCode
, and testEnv
fields.merchantCountryCode
field now lives under the applePay
and googlePay
objects, it has been removed from the base params
object.currencyCode
and testEnv
fields now live under the googlePay
object, they have been removed from the base params
object .ApplePay.CartSummaryItem
:
type
to isPending
- (if you had type: 'pending'
, replace it with isPending: true
. if type: 'final'
, either remove it or set isPending: false
).
ApplePay.ShippingMethod
: renamed type
to isPending
.paymentType
field. This field is required, and in all pre-existing cases where you created a CartSummaryItem
, should be set to paymentType: 'Immediate'
(support for types Deferred
and Recurring
wasn't available until this release).paymentSummaryItems
: PKDeferredPaymentSummaryItem
and PKRecurringPaymentSummaryItem
.applePay.paymentSummaryItems
to the initPaymentSheet
method. #1020
CardField
and CardForm
on Android to match that on iOS; postal code input no longer accepts characters that are never present in postal codes (anything besides 0-9, a-z, A-Z, hyphens, and whitespace). #1027.collectBankAccountForSetup
or collectBankAccountForPayment
and getting a Canceled
result could cause a crash. #1037
lintVitalRelease
step. #1038
Published by charliecruzan-stripe over 2 years ago
canAddCardToWallet
method. #986.stripe-ios
to ~>22.5.1
. #1011
brand
field in CardField
's onCardChange
callback wouldn't be set unless the card details were fully complete. #1012
merchantDisplayName
wasn't provided. #1015
CardField
's expiry date would remain marked as valid, even when it's invalid. #1018
Published by acomley-stripe over 2 years ago
CardField
if postalCodeEnabled=false
(regardless of countryCode
). #996
Please see the changelog for additional details.
Published by ianjabour-stripe over 2 years ago
defaultValues
prop to the CardForm
component. Currently only accepts countryCode
, and is Android-only. #974
countryCode
prop to the CardField
component. #989
createToken
method. #976
Canceled
) if no payment option is selected in the Payment Sheet custom flow (i.e., the x
button is clicked to close the Payment Sheet). #975
complete
field in the onCardChange
callback would incorrectly be set to true
even if the postal code wasn't filled out. #989
SetupIntent.lastSetupError
and PaymentIntent.lastPaymentError
object shape consistent on iOS and Android.#990
Please see the changelog for additional details.
Published by acomley-stripe over 2 years ago
appearance.shapes.shadow.borderRadius
to appearance.shapes.shadow.blurRadius
, and appearance.primaryButton.shapes.shadow.borderRadius
to appearance.primaryButton.shapes.shadow.blurRadius
. #962
Unable to instantiate fragment com.reactnativestripesdk.PaymentLauncherFragment
. #965
appearance.shapes.shadow.offset
and appearance.primaryButton.shapes.shadow.offset
not applying the y-coordinate in the correct direction. #962
handleNextAction
wouldn't resolve on Android when using 3DS2. #966
CardForm
component on Android. #966
CardField
component on Android via the cardStyle.textColor
prop. #851
Please see the changelog for additional details.
Published by charliecruzan-stripe over 2 years ago
primaryButtonColor
field on initPaymentSheet()
. Please use the new appearance.primaryButton.colors.background
field instead. #940
appearance
field on initPaymentSheet()
. #940
confirmPayment
and confirmSetupIntent
calls, and any Google Pay related methods. #957
CardField
onCardChange
callback. #958
Please see the changelog for additional details.