Skip to content
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

iOS STPPaymentHandler does not redirect automatically to app. #92

Open
marayfirth opened this issue Dec 11, 2019 · 0 comments
Open

iOS STPPaymentHandler does not redirect automatically to app. #92

marayfirth opened this issue Dec 11, 2019 · 0 comments

Comments

@marayfirth
Copy link

In the demo app, I tried to define StripePaymentIntentParams.returnURL when calling stripe.confirmPaymentIntent.
The page displayed after the authentication is then different. Instead of a "you can close this window", there is a button that should lead back to the app.
However I can't make it work and I don't know what's the cause. It just does nothing when clicking it.

So the user has to tap on Close button to dismiss the stripe view.

The url scheme seems to work because when I copy the redirect link, iOS automatically proposes to open it with the app.

I found 2 issues related to the problem:
stripe/stripe-ios#1283
stripe/stripe-ios#1280

I'm using nativescript stripe 6.0.0 and nativescript 6.1, running on iOS 11.

If anyone succeeds in making it work, please tell me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant