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

Credit Card works fine, PayPal option returns error "PayPal app switch is missing a returnURLScheme" #80

Open
kheber92 opened this issue Mar 27, 2020 · 1 comment

Comments

@kheber92
Copy link

Hi,

when I try to click on "PayPal" in the modal I get the error alert message:
PayPal app switch is missing a returnURLScheme.

Simulator Screen Shot - iPhone X - 2020-03-27 at 17 23 21

There's no error in the console or anything, just this alert.

Any idea how to fix this? Not sure if it's a misconfiguration or problem in the plugin itself.
Thank you in advance!

@ciccilleju
Copy link

ciccilleju commented Mar 27, 2020

Are you using it with cordova?

I had the same issue with this version, so I tried to follow the instructions written on https://developers.braintreepayments.com/guides/paypal/client-side/ios/v4

i was able to go ahead, logging into paypal account and choose the payment card. After that the app crashes, getting this error in the Xcode console:

2020-03-03 10:45:55.487106+0100 Single Fin App[53289:11316095] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[3]'

Unfortunately I cant use the guggested manteined fork because it uses deprecated Api and Apple refuses the build.

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

2 participants