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

Stripe re-direct not closing the in app browser in react-native 0.71 #1805

Open
abhishekashyap opened this issue Jan 6, 2025 · 0 comments
Open

Comments

@abhishekashyap
Copy link

Describe the bug
I'm testing out more payment methods for Stripe following this guide. This was not working in my existing app which is using React Native 0.71. I created two standalone apps with same deep link configuration and similar URL scheme. The difference between these apps being the React Native version. One using 0.71 while the other using 0.76. In the app that was using RN 0.76, the flow was working correctly, while in RN 0.71 version the in app browser was never getting closed.

To Reproduce
Steps to reproduce the behavior:

  1. Open react native app using Stripe
  2. Open the payment sheet
  3. Click on any one of the payment methods
  4. The in-app browser will open, authorise the payment
  5. In-app browser doesn't close

Expected behavior
In-app browser should close and return to the payment sheet with correct status

Screenshots
Screenshot 2025-01-06 at 8 46 22 PM

Smartphone (please complete the following information):

  • Device: iPhone 16 Pro
  • OS: iOS 18.2
  • Browser: stock browser, safari
  • Version: @stripe/stripe-react-native 0.40.0

Additional context
If I manually close the in-app browser the Stripe payment displays the status correctly.

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