React Native library for Stripe.
MIT License
Bot releases are hidden (Show)
Published by acomley-stripe over 2 years ago
implementation 'com.stripe:stripecardscan:20.3.+'
to your dependencies {}
block in android/app/build.gradle
.us_bank_account
payment method is now available in the payment sheet on Android. #944
Please see the changelog for additional details.
Published by charliecruzan-stripe over 2 years ago
Please see the changelog for additional details: https://github.com/stripe/stripe-react-native/blob/master/CHANGELOG.md
Published by acomley-stripe over 2 years ago
<AddToWalletButton />
component. Instead of passing cardHolderName
, cardLastFour
, cardDescription
, and cardBrand
directly as props, you will instead pass a cardDetails
prop, which is an object containing the following fields:
primaryAccountIdentifier
: The wallet.primary_account_identifier
value from the issued card.name
: The card holder name (previously cardHolderName
).description
: A user-facing description of the card (previously cardDescription
).lastFour
: Last 4 digits of the card, optional (previously cardLastFour
).brand
: The card brand, optional (previously cardBrand
).Please see the changelog for additional details: https://github.com/stripe/stripe-react-native/blob/master/CHANGELOG.md
Published by acomley-stripe over 2 years ago
createPaymentMethod
, confirmPayment
, confirmSetupIntent
, collectBankAccountForPayment
, and collectBankAccountForSetup
. Please read this migration guide for details.
type
field to paymentMethodType
on PaymentMethod.Result
, PaymentIntent.Result
, and SetupIntent.Result
(result of createPaymentMethod
, retrieveSetupIntent
, confirmSetupIntent
, confirmPayment
, collectBankAccountForPayment
, collectBankAccountForSetup
, verifyMicrodepositsForPayment
, and verifyMicrodepositsForSetup
).placeholder
prop on <CardField />
and <CardForm />
to placeholders
.<CardForm />
on Android.Published by charliecruzan-stripe over 2 years ago
setUrlSchemeOnAndroid
in favor of setReturnUrlSchemeOnAndroid
. setReturnUrlSchemeOnAndroid
functions exactly the same, this is just a rename.handleCardAction
in favor of handleNextAction
. handleNextAction
functions exactly the same, this is just a rename.createPaymentMethod
's billingDetails
and shippingDetails
parameters no longer accept the addressPostalCode
, addressCity
, addressCountry
, addressLine1
, addressLine2
, or addressState
keys. Instead, they accept an address
object containing: city
, country
, line1
, line2
, postalCode
, state
.confirmPayment
's billingDetails
and shippingDetails
parameters no longer accept the addressPostalCode
, addressCity
, addressCountry
, addressLine1
, addressLine2
, or addressState
keys. Instead, they accept an address
object containing: city
, country
, line1
, line2
, postalCode
, state
.BillingDetails
no longer includes addressPostalCode
, addressCity
, addressCountry
, addressLine1
, addressLine2
, or addressState
keys. Instead, it includes an address
object containing: city
, country
, line1
, line2
, postalCode
, state
keys.ShippingDetails
no longer includes addressPostalCode
, addressCity
, addressCountry
, addressLine1
, addressLine2
, or addressState
keys. Instead, it includes an address
object containing: city
, country
, line1
, line2
, postalCode
, state
keys.PaymentIntents
was renamed PaymentIntent
. (If you were using PaymentIntents.Status
, now you must change it to PaymentIntent.Status
)SetupIntents
was renamed SetupIntent
. (If you were using SetupIntents.Status
, now you must change it to SetupIntent.Status
)Card.Token
is now Token.Result
Card.Brand
is now Token.CardBrand
Card.TokenType
is now Token.Type
Card.BankAccount
is now Token.BankAccount
Card.Params
is now Token.Params
CardFormView.Names
is now CardFormView.FieldName
CardFieldInput.Names
is now CardFieldInput.FieldName
ApplePayButtonComponent.Styles
is now ApplePayButtonComponent.Style
ApplePayButtonComponent.Types
is now ApplePayButtonComponent.Type
PaymentMethod
is now PaymentMethod.Result
PaymentIntent
is now PaymentIntent.Result
SetupIntent
is now SetupIntent.Result
Card
namespace are now under Token
CreateTokenParams
is now Token.CreateParams
BankAcccountHolderType
is now Token.BankAcccountHolderType
ThreeDSecureConfigurationParams
is now ThreeDSecure.ConfigurationParams
PaymentMethodCreateParams.Params
is now PaymentMethod.CreateParams
PaymentMethodCreateParams.Options
is now PaymentMethod.ConfirmOptions
CreateTokenParams
is now Token.CreateParams
ConfirmSetupIntent.Params
is now SetupIntent.ConfirmParams
ConfirmSetupIntent.Options
is now SetupIntent.ConfirmOptions
confirmPayment
now accepts the PaymentIntent.ConfirmParams
(same type, just renamed).BillingDetails
type is now exported directly, instead of under the PaymentMethodCreateParams
object.presentGooglePay
now accepts GooglePay.PresentParams
GooglePay.PresentGooglePayParams
is now GooglePay.PresentParams
GooglePay.PresentGooglePayType
is now GooglePay.PresentType
GooglePay.IsGooglePaySupportedParams
is now GooglePay.IsSupportedParams
GooglePay.SetupIntentParams
<CardField />
onBlur
callback will now be called appropriately on AndroidcurrentActivity
is nullstripe-android
from v19.3.+ to v20.1.+Published by charliecruzan-stripe over 2 years ago
stripe-ios
increasing the deployment target. If you would like to build for iOS 11, please continue to use @stripe/[email protected]
.
Build Settings
, or by modifying IPHONEOS_DEPLOYMENT_TARGET
in your project.pbxproj
directly. You will also need to update your Podfile to target :ios, '12.0'
.stripe-ios
to 22.0.0.Published by charliecruzan-stripe over 2 years ago
currency
when creating a TokenplaceholderColor
, textErrorColor
, borderColor
, borderRadius
, and borderWidth
for AuBECSDebitForm
on iOSstripe-ios
to 21.13.0. Upgrade stripe-android
to 19.3.0.Published by charliecruzan-stripe over 2 years ago
confirmPayment
payment methods (#821)Published by michelleb-stripe over 2 years ago
isGooglePaySupported
method (#811)paymentSheetFlowController
before initializing new paymentsheet (#814)Published by michelleb-stripe over 2 years ago
currencyCode
support to initPaymentSheet
for Google Pay & Setup IntentspaymentSheetFragment
directly, instead of through intents which would sometimes result in a NullPointerException
.stripe-ios
to v21.11.1. Upgraded stripe-android
to v19.1.+. Added Android 12 support to example.stripe-android
Published by michelleb-stripe about 3 years ago
feat: Add button color, return URL, allowsDelayedPaymentMethods, and billing details to PaymentSheet (#601)
fix: check support for specific TextInputState methods (#568)
chore: Add jest mock file (#565)
chore: Update Podfile.lock stripe-react-native version (#587)
chore: Update tips migration guide (#631)
Published by davidme-stripe about 3 years ago
Published by michelleb-stripe about 3 years ago
openApplePaySetup
method (#400)presentPaymentSheet
null
as initial value for isApplePaySupported
(#496)Published by davidme-stripe about 3 years ago
Published by michelleb-stripe over 3 years ago
confirmPaymentMethod
to confirmPayment
(#318)created
timestamp discrepancy (#368)initPaymentSheet
only when ready (#315)Published by davidme-stripe over 3 years ago
retrieveSetupIntent
method (#294)dangerouslyGetFullCardDetails
prop to CardField
component (#280)paymentMethod
object when presentApplePay
resolves (#271)borderRadius
prop to the ApplePayButton
component (#258)StripeContainer
component that allows for dismissal of the keyboard when wrapped around the CardField
component (#222)stripeAccountId
set (#267)onActivityResult
when Stripe isn't initializedPublished by thorsten-stripe over 3 years ago
fontFamily
prop to CardField
component (#103)onShippingContactSelected
handler (#148)createToken
method for older integrations (#187)autofocus
prop to CardField
component (#199)CardField
input is invalidated (#237)Published by thorsten-stripe over 3 years ago
.npmignore
disallow list (#204)stripe-android
version 16.8.2
(#212)