0

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?

David S.
  • 6,567
  • 1
  • 25
  • 45
Aashutosh Sharma
  • 1,483
  • 2
  • 17
  • 29

1 Answers1

1

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.

David S.
  • 6,567
  • 1
  • 25
  • 45
  • I would give you a vote for XSS check; as cordova whitelist plugin was blocking paypal iframe to render on the webview. Thanks for suggestion!! – Aashutosh Sharma Apr 29 '18 at 08:51