-
Notifications
You must be signed in to change notification settings - Fork 269
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 does not open on iOS when selecting klarna payment. #1572
Comments
@seanzhang-stripe yes my payment id is pm_1OGlVpB3gMa6tyoMVv3EK9Fh |
Hi @remonh87 a PaymentIntent ID starts with Based on log, this PaymentMethod was created when you confirm a Klarna payment from your Android application built with Flutter. So I don't think this is the correct ID that we should use to investigate the iOS problem that you described. |
@seanzhang-stripe my apologies I had so many klarna test intents that it was hard to find the right one. This is the correct one: |
Hi @remonh87 I couldn't reproduce the problem. Can you share with me a trimmed down version of your react-native project that I run and replicate the issue? |
@seanzhang-stripe I found the issue the returnurl was not set. I could find the cause because the ios sdk was logging a warning somewhere very deep in the sdk (only could get it through xcode). Would be great if this error was thrown to the cross platform layer so the users could fix it easier. |
Interesting, we do warn as of v0.31.1- https://github.com/stripe/stripe-react-native/blob/master/src/functions.ts#L399 |
yes in the ios logs I see this but for some reason they do not bubble up in flutter not your problem so close it. |
Describe the bug
Paymentsheet does not open on iOS when selecting klarna payment.
To Reproduce
Steps to reproduce the behavior:
presentPaymentSheet
noPaymentMethodTypesAvailable
The same steps work on android
Expected behavior
Paymentsheet opens with klarna
The text was updated successfully, but these errors were encountered: