You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after getting credentials from above flow const { error: errors } = await confirmPaymentSheetPayment();
we open confirm paymentSheet.
See error Your app just crashed. See the error below. java.lang.IllegalStateException: Attempting to confirm intent for invalid payment selection: null com.stripe.android.paymentsheet.IntentConfirmationInterceptorKtxKt.intercept(IntentConfirmationInterceptorKtx.kt:31) com.stripe.android.paymentsheet.flowcontroller.DefaultFlowController$confirmPaymentSelection$1.invokeSuspend(DefaultFlowController.kt:353) kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) android.os.Handler.handleCallback(Handler.java:942) android.os.Handler.dispatchMessage(Handler.java:99) android.os.Looper.loopOnce(Looper.java:211) android.os.Looper.loop(Looper.java:300) android.app.ActivityThread.main(ActivityThread.java:8503) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Expected behavior
Expected to complete flow with stripe
but it get crash due to payment options is undefined.
it is working perfectly on iOS
Smartphone (please complete the following information):
Device:Redmi Note 11 pro 5G
OS: 1.0.12.0.TKCMIXM
The text was updated successfully, but these errors were encountered:
Describe the bug
We are integrated mobile pay payment through stripe using this @stripe/stripe-react-native
To Reproduce
Steps to reproduce the behavior:
Using stripe provider to initialize stripe sdk
Payment initiate code
const { error, ...rest }: any = await initPaymentSheet({ merchantDisplayName: "Example, Inc.", customerId: customer, customerEphemeralKeySecret: ephemeralKey, paymentIntentClientSecret: paymentIntent, defaultBillingDetails: { name: "Jane Doe", }, customFlow: true, returnURL: Linking.createURL(
mobilpayment, { queryParams: { ...data, amount: amount, paymentMethod: type, }, }), style: "alwaysLight", });
after getting credentials from above flow
const { error: errors } = await confirmPaymentSheetPayment();
we open confirm paymentSheet.
Your app just crashed. See the error below. java.lang.IllegalStateException: Attempting to confirm intent for invalid payment selection: null com.stripe.android.paymentsheet.IntentConfirmationInterceptorKtxKt.intercept(IntentConfirmationInterceptorKtx.kt:31) com.stripe.android.paymentsheet.flowcontroller.DefaultFlowController$confirmPaymentSelection$1.invokeSuspend(DefaultFlowController.kt:353) kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) android.os.Handler.handleCallback(Handler.java:942) android.os.Handler.dispatchMessage(Handler.java:99) android.os.Looper.loopOnce(Looper.java:211) android.os.Looper.loop(Looper.java:300) android.app.ActivityThread.main(ActivityThread.java:8503) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Expected behavior
Expected to complete flow with stripe
but it get crash due to payment options is undefined.
it is working perfectly on iOS
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: