has anyone successfully integrated Braintree on his Ionic (preferably iOS) app?
I’m really confused what I need and how to setup everything correctly.
My main goal is using PayPal with Braintree since the PayPal Cordova Plugin uses UiWebView which won’t be accepted by Apple starting from April.
What I have done so far:
- Install Braintree Ionic and Cordova plugin (https://ionicframework.com/docs/native/braintree)
- Setup Braintree account, setup Braintree sandbox account
- Insert PayPal Sandbox credentials in my Braintree account under “Processing Options”
- Insert and setup the sample code from https://ionicframework.com/docs/native/braintree
I can run the Ionic app and also process a sample checkout via credit card.
Although if I click on “PayPal” instead choosing the credit card option, I always get the error message: PayPal app switch is missing a returnURLScheme.
I really don’t know how to fix that, I already checked Google, Stackoverflow but didn’t found the issue. Something seems to be missing in my config but I don’t know what.
Thank you in advance for any help!