paypal / paypalcheckout-ios

Need to add Native Checkout to your iOS Application? We can help!
http://www.paypal.com
Other
70 stars 55 forks source link

[🐞] PayPal sheet closes after submitting the login form in react native app #140

Closed youedd closed 11 months ago

youedd commented 1 year ago

🐞 Describe the Bug

I am currently using the Checkout SDK in a react native app as an iOS native module.

The PayPal sheet automatically closes after submitting the login form.

I tested the older versions of the SDK, and noticed that v0.101.0 and below don't have this issue.

πŸ”¬ Minimal Reproduction

I created a minimal repository with react native cli boilerplate and checkout SDK. To reproduce:

πŸ˜• Actual Behavior

The PayPal sheet closes immediately after submitting the form

πŸ€” Expected Behavior

The PayPal sheet should not close

🌍 Environment

βž• Additional Context

https://user-images.githubusercontent.com/19575877/224483956-bb8fc992-13d3-483a-a14d-91a406446621.mov

youedd commented 1 year ago

I also noticed that onCancelCallback is triggered when the PayPal sheet closes.

zhou0506 commented 1 year ago

How did you solve it?

youedd commented 1 year ago

We downgraded to the v0.101.0 for the moment @zhou0506

zhou0506 commented 1 year ago

@youedd ok πŸ‘πŸ»πŸ‘πŸ»πŸ‘πŸ»

KovtunOleg commented 1 year ago

We had the same issue on the 1.1.0 version, so we decided to downgrade to the 0.109.0. Thanks to @youedd advice. Hopefully it will be fixed.

devchristina commented 11 months ago

Closing this issue, not planned.