2016-09-22 47 views

回答

0

參考https://github.com/paypal/PayPal-Cordova-Plugin

  • 創建具有相同的名稱,在貝寶開發者帳戶創建應用程序的科爾多瓦應用程序。
  • 包括config.xml中的貝寶插件

<plugin name="com.paypal.cordova.mobilesdk" spec="3.1.23" />

  • 使用腳本標記PayPal的移動-JS-helper.js文件添加到應用程序中的index.html

    <script type="text/javascript" src="js/paypal-mobile-js-helper.js"></script>

  • 按照文檔中的指導https://github.com/paypal/PayPal-Cordova-Plugin

相關問題