-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
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
PaymentSheet Crashing on Android since v0.11.0+ #980
Comments
It looks like this happens when you don't provide a |
@charliecruzan-stripe you are 100% correct. Adding const { error } = await initPaymentSheet({
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
setupIntentClientSecret: setupIntent,
currencyCode: "USD",
style: "alwaysLight",
// for @stripe/stripe-react-native v0.11.0 and above
+ merchantDisplayName: "anything",
appearance: {
colors: {
primary: color.primary,
},
primaryButton: {
colors: { background: color.invertedBackground },
},
},
}) |
It looks like there may have been a change to one of our underlying native dependencies, but I think beforehand, not providing the |
v0.10 is working w/o |
Describe the bug
Since v0.11.0 (and above), calling
presentPaymentSheet
on Android (11) crashes the app with adid not call through to super.onCreate()
fatal error.To Reproduce
I have not had the time to isolate the error in a test-harness project. That being said, my use case simply involves the basic paymentsheet / react native boilerplate setup :
When
openPaymentSheet()
is invoked by the press of a button, the android app crashes with the following error :Expected behavior
Upon invocation of
openPaymentSheet
it is expected for the payment sheet to open.Screenshots
n/a
Smartphone (please complete the following information):
Additional context
This bug is not present on v0.10.0 but I was able to reproduce on v0.11.0 and v0.12.0 of the stripe-react-native package.
Reverting to v0.10.0 or anterior completely fixes the problem.
The text was updated successfully, but these errors were encountered: