Search code examples
ioscordovahybrid-mobile-apppaypal

PayPal Express Checkout - PayPal button not getting rendered on iOS


I am building a hybrid application using cordova. Also I am using Express checkout to integrate PayPal with the application referring this example

This code is working well on Android but not working on iPhone. The PayPal button is not getting rendered.

Is there any other way to integrate PayPal in hybrid apps?


Solution

  • More than likely it's the external javascript that's causing you an issue. Check for XSS permissions to load them. Also ensure that javascript is enabled for your web view.

    You can also debug a Cordova application (or any web view in iOS) using the developer menu in Safari and see any Javascript or XSS errors in that layer.