|
wxPay.pay({
description: 'iPad mini 16G 白色',
totalFee: '888',
tradeNo: '1217752501201407033233368018',
spbillCreateIP: '196.168.1.1',
deviceInfo: '013467007045764',
detail: 'iPad mini 16G 白色',
attach: '说明',
feeType: 'CNY',
timeStart: '20091225091010',
timeExpire: '20091227091010',
goodsTag: 'WXG',
productId: '12235413214070356458058',
openId: 'oUpF8uMuAJO_M2pxb1Q9zNjWeS6o'
}, function(ret, err) {
if (ret.status) {
alert(ret.result);
} else {
alert(err.code);
}
}); 先用API示例中的代码跑一下,然后逐渐删减参数;根据我的经验,应该是哪个参数的问题,具体是那个,肯定是可以找到的; |
|