Open asapMaki opened 1 year ago
Hi! I think this has to do with how stripe-android
is setting the return URL (i've seen the Failed to get PaymentResult from Intent
error message in that case before). We're looking into a fix for that so I'm thinking that fix will also address this issue
Are there any developments on this? Facing the same issue here.
React Native apps must use singleTask launchMode’s to support deeplinking. The Android SDK uses Activity’s to launch many different payment flows. I think this is what's causing this issue here. You might want to try the solution shared here and see if that works for you- https://github.com/stripe/stripe-react-native/issues/355#issuecomment-1701323254
Describe the bug A clear and concise description of what the bug is. Platform: Android This only happens in production on these bank options: SNS bank, Regiobank, Handelsbanken, BunqBV, ASN Opening some Ideal option for payments without having one of those banks apps installed. It closes popup window:
<data android:scheme="nl-snsbank-ideal" />
to intent in AndroidManifest:{"code": "Failed", "declineCode": null, "localizedMessage": "No Activity found to handle Intent { act=android.intent.action.VIEW dat=nl-snsbank-ideal://payment?trxid=123456123456&sp=123456123456}", "message": "No Activity found to handle Intent { act=android.intent.action.VIEW dat=nl-snsbank-ideal://payment?trxid=&sp= }", "stripeErrorCode": null, "type": null}
{"code": "Failed", "declineCode": null, "localizedMessage": "Failed to get PaymentResult from Intent", "message": "Failed to get PaymentResult from Intent", "stripeErrorCode": null, "type": null}
To Reproduce Steps to reproduce the behaviour:
confirmPayment
functionExpected behaviour To stay opened so user can finish payment flow
Screenshots If applicable, add screenshots to help explain your problem. Bullet points: https://user-images.githubusercontent.com/30200380/231693013-b0600113-e1c4-4f65-bc0c-a99b2e85cf64.mp4
Additional context visualised: https://user-images.githubusercontent.com/30200380/231693361-5866183f-2496-4ddc-a638-38ec16285656.mp4
Smartphone (please complete the following information):
Additional context So after I tried installing one app from bank options mentioned above, now it asks me if want to continue using my popup window or the app from bank. In this case it does not close.