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

PayPal sheet hangs on load and delegate doesnt post events #222

Closed
fobos531 opened this issue Nov 17, 2023 · 1 comment
Closed

PayPal sheet hangs on load and delegate doesnt post events #222

fobos531 opened this issue Nov 17, 2023 · 1 comment

Comments

@fobos531
Copy link

fobos531 commented Nov 17, 2023

PayPal SDK Version

1.0.0

Environment

Sandbox

Xcode Version

15.0

OS Version & Device

iPhone 14 Pro - iOS 17.0 (Simulator)

Integration type

CocoaPods

Development Processor

Apple Silicon (M-series chips)

Describe the bug

When I present the payment sheet, it loads but the proceed button just keeps loading and never loads, as seen below. In the console I get various warnings & errors, I'm not sure if they are related to my issue, see below:

CleanShot 2023-11-17 at 20 35 05@2x

I also noticed that I don't get any notifications from the delegate.

Any idea if I'm doing something wrong?

To reproduce

  1. Create a native checkout request
  2. Present the sheet
  3. Observe that the payment sheet keeps "loading"

Expected behavior

The payment sheet should finish loading and I should get notifications from the delegate.

Screenshots

CleanShot 2023-11-17 at 20 34 12@2x

@fobos531
Copy link
Author

Interestingly enough, if I do not provide a client ID to the paypal SDK, but rather an access token gathered via the OAuth API, It works fine but presents a web browser sheet in which I need to log into my paypal (which makes sense), so I'm not sure why it didn't even ask me to log in using the client ID.

@fobos531 fobos531 changed the title PayPal sheet hangs on load PayPal sheet hangs on load and delegate doesnt post events Nov 17, 2023
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