微信支付DEMO 调用 一直 出现 SYSTEM ERROR
参数大体如下
<xml>
<nonce_str>5d002c215f094722990xxxxxxxxxx</nonce_str>
<openid>wxfa6f9387xxxxxx</openid>
<sign>F5779060F09B98C4D212F3xxxxxxxx</sign>
<mch_id>128710xxxx</mch_id>
<body>报名费</body>
<spbill_create_ip>192.168.2.208</spbill_create_ip>
<device_info>WEB</device_info>
<out_trade_no>b8530bb27c5a4425bf293431714ff420</out_trade_no>
<appid>wxfa6f93xxxxxxxxx</appid>
<total_fee>1</total_fee>
<product_id>1</product_id>
<trade_type>NATIVE</trade_type>
</xml>
通过官网上签名校验市没有问题,通过 DEMO 中的
};
WXPayRequest payRequest = new WXPayRequest(wxPayConfig);
String re = payRequest.requestWithCert("/pay/unifiedorder",order,data,true);
一直出现
[main] INFO wxpay java sdk - report worker num: 6
[main] INFO wxpay java sdk - report v1,WXPaySDK/3.0.9,b8530bb27c5a4425bf293431714ff420,1574952663,1146,api.mch.weixin.qq.com/pay/unifiedorder,true,6000,8000,0,0,0,0D582401D46FAF5A57659E29A6505B7AB3D392EE7D3FD3FA7B43C031E31AEAED
<xml><return_code><![CDATA[FAIL]]></return_code><return_msg><![CDATA[System Error]]></return_msg></xml>
[pool-1-thread-1] INFO wxpay java sdk - get first report msg: v1,WXPaySDK/3.0.9,b8530bb27c5a4425bf293431714ff420,1574952663,1146,api.mch.weixin.qq.com/pay/unifiedorder,true,6000,8000,0,0,0,0D582401D46FAF5A57659E29A6505B7AB3D392EE7D3FD3FA7B43C031E31AEAED
[pool-1-thread-1] INFO wxpay java sdk - try get remain report msg
请问如何解决
你把里面的商户号等数据,修改成你自己的重新调用看看
你是全部用demo的数据吗,自己得改成你自己的数据呀