We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Suddenly, while presenting the payment sheet for adding a new card the app crashes.
To Reproduce
const initPaymentSheetRes: InitPaymentSheetResult = await initPaymentSheet({ merchantDisplayName: STRIPE_MERCHANT_ID, customerId: response.data.customerId, customerEphemeralKeySecret: response.data.customerEphemeralKeySecret, setupIntentClientSecret: response.data.setupIntentClientSecret, returnURL: 'appname://stripe-redirect', style: 'alwaysLight', billingDetailsCollectionConfiguration: { name: PaymentSheet.CollectionMode.ALWAYS, address: PaymentSheet.AddressCollectionMode.FULL }, defaultBillingDetails: { name: `${user.data?.firstName} ${user.data?.lastName}`, phone: user.data?.phoneNumber } }) console.log(initPaymentSheetRes) const presentPaymentSheetRes = await presentPaymentSheet() << HERE IS THE CRASH
customerId, customerEphemeralKeySecret, and setupIntentClientSecret have the proper format.
customerId
customerEphemeralKeySecret
setupIntentClientSecret
Expected behavior No crash and payment sheet to appear
package.json:
yarn.lock
"@stripe/stripe-identity-react-native@0.2.11": version "0.2.11" resolved "https://registry.yarnpkg.com/@stripe/stripe-identity-react-native/-/stripe-identity-react-native-0.2.11.tgz#7d4c4d152e9f53dd4edfb4c747796691bf6d330b" integrity sha512-X9HnVVK2Q1RSm5RsDj2hFCBfGetdCuf22EucWrpUn3ZVPjJAKtToen3q3ohTUdbDAmJtxvFD31vMYN+t+28suA==
"@stripe/stripe-react-native@^0.37.1": version "0.37.3" resolved "https://registry.yarnpkg.com/@stripe/stripe-react-native/-/stripe-react-native-0.37.3.tgz#61e7e7ceffa2ba131bfb0340ff6e461ccfb6e543" integrity sha512-9OReixY4bP3ogHUoAmDs+FRKxTCCDz6APep6fn8LAzs5xG5IGDetFb7UlZkigFYqtJgbe3+n4kMS5wIcxKgnLQ==
Additional context
node_module
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Suddenly, while presenting the payment sheet for adding a new card the app crashes.
To Reproduce
customerId
,customerEphemeralKeySecret
, andsetupIntentClientSecret
have the proper format.Expected behavior
No crash and payment sheet to appear
package.json:
yarn.lock
"@stripe/stripe-identity-react-native@0.2.11":
version "0.2.11"
resolved "https://registry.yarnpkg.com/@stripe/stripe-identity-react-native/-/stripe-identity-react-native-0.2.11.tgz#7d4c4d152e9f53dd4edfb4c747796691bf6d330b"
integrity sha512-X9HnVVK2Q1RSm5RsDj2hFCBfGetdCuf22EucWrpUn3ZVPjJAKtToen3q3ohTUdbDAmJtxvFD31vMYN+t+28suA==
"@stripe/stripe-react-native@^0.37.1":
version "0.37.3"
resolved "https://registry.yarnpkg.com/@stripe/stripe-react-native/-/stripe-react-native-0.37.3.tgz#61e7e7ceffa2ba131bfb0340ff6e461ccfb6e543"
integrity sha512-9OReixY4bP3ogHUoAmDs+FRKxTCCDz6APep6fn8LAzs5xG5IGDetFb7UlZkigFYqtJgbe3+n4kMS5wIcxKgnLQ==
Additional context
node_module
The text was updated successfully, but these errors were encountered: