2***@qq.com
2***@qq.com
  • 发布:2021-03-25 18:28
  • 更新:2021-05-13 21:18
  • 阅读:2599

支付宝支付问题 "errMsg":"requestPayment:fail"

分类:HBuilderX

alipay_sdk=alipay-sdk-java-4.8.73.ALL&app_id=xxxx&biz_content=%7B%22out_trade_no%22%3A%222%22%2C%22product_code%22%3A%223%22%2C%22subject%22%3A%221%22%2C%22total_amount%22%3A%220.01%22%7D&charset=UTF-8&format=json&method=alipay.trade.app.pay&sign=W%2Fde%2BDiIVCNX6gAJA3V6thYDa%2Bi37lliysPjbwq3TTygxaUnYqWUjT3CyO1FoSNbf0rfP2Il51fwzmLP%2FY%2FuXyrWCJFKeDHV2cHJ3COhB1iAwjcagVci%2F2CSr9qwO4YQn5ij23hTXLK4m7TNO1o0vOkKkWbjyLq0%2BFbFfNPj07XXMLgbZYH7K76Y%2FwUPjIv1Pq%2B%2B3XpQ6i7hLTQEH8n0IaE%2BtjlQ%2B%2BDt57RtTyWk6vTW6mTyAHJeen7EvxYDjj95l%2F9%2F14HzNOtfBLkOUOtCTJsclYp9H%2BfY4MzJdT1q07aBgqOzY8HDkWa9vHp4Zo5Nb0D2zeLziMl8AjMssEehUQ%3D%3D&sign_type=RSA2&timestamp=2021-03-25+18%3A02%3A44&version=1.0
服务端返回的数据 请教过支付宝技术 说没问题

                    uni.requestPayment({  
                     provider: 'alipay',  
                     orderInfo: result.data.data,  
                     success: function (res) {  

                      console.log('success:' + JSON.stringify(res));  
                     },  
                     fail: function (err) {  
                      console.log('fail:' + JSON.stringify(err));  
                      // console.log(orderInfo);  
                     }  
                    });  

前端调用的,调用的时候失败

2021-03-25 18:28 负责人:无 分享
已邀请:
MonikaCeng

MonikaCeng

不要出现转义,例如%7B%22这种

zxs

zxs

有解决吗

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