支付宝cordova插件
- @qintengfei集成及js部分
- @lirubingios部分
- @suiyueanhaoAndroid部分
Alipay.pay(
{
tradeNo: "145188769195998",
subject: "测试标题",
body: "我是测试内容",
price: 0.02,
notifyUrl: "notifyUrl",
appScheme:'appScheme'
},
function(errorMsg) {
alert(errorMsg);
},
function(errorMsg) {
alert(errorMsg);
});
##appScheme 解决方案
参照:https://github.com/EddyVerbruggen/Custom-URL-scheme
cordova plugin add https://github.com/EddyVerbruggen/LaunchMyApp-PhoneGap-Plugin.git --variable URL_SCHEME=appScheme
##Tests
参照:fami-plugin-lists