L***@outlook.com
L***@outlook.com
  • 发布:2016-08-09 07:07
  • 更新:2016-08-09 10:28
  • 阅读:1568

手机端微信支付一直出问题,请问是什么原因导致?

分类:HTML5+
$.ajax({  
                    type: "POST",  
                    async: false,  
                    url: "http://--------/api/payment/wxpay/OrderService.aspx",  
                    data: {  
                        "orderid": orderid,  
                        "amount": amount  
                    },  
                    dataType: "json",  
                    success: function(data) {  
                        console.log(data);  
                        console.log(JSON.stringify(data));  
                        plus.payment.request(payChanel, data, function(result) {  
                            alert(JSON.stringify(result));  
                            alert("付费成功");  
                        }, function(e) {  
                            alert(JSON.stringify(e));  
                            alert("付费失败");  
                        });  
                    },  
                    error: function(XMLHttpRequest) {  
                        alert("错误:" + XMLHttpRequest.responseText);  
                    }  
                })

如图,在请求服务器端后并正确返回结果后,在调用微信支付时,一直报这个错。急,希望看到的能帮忙给个思路。

2016-08-09 07:07 负责人:无 分享
已邀请:
Trust

Trust - 少说废话

该问题目前已经被锁定, 无法添加新回复