收藏
回答

微信支付沙箱问题

沙箱支付支付提示:

<xml>  <return_code><![CDATA[FAIL]]></return_code>  <return_msg><![CDATA[沙箱支付金额(300)无效,请检查需要验收的case]]></return_msg></xml>

沙箱查询订单接口返回:

16:00:45.813 [main] DEBUG org.apache.http.wire -  << "<xml>[\n]"

16:00:45.814 [main] DEBUG org.apache.http.wire -  << "  <openid><![CDATA[xxxxx]]></openid>[\n]"

16:00:45.814 [main] DEBUG org.apache.http.wire -  << "  <sub_mch_id><![CDATA[]]></sub_mch_id>[\n]"

16:00:45.814 [main] DEBUG org.apache.http.wire -  << "  <cash_fee_type><![CDATA[CNY]]></cash_fee_type>[\n]"

16:00:45.814 [main] DEBUG org.apache.http.wire -  << "  <trade_state><![CDATA[SUCCESS]]></trade_state>[\n]"

16:00:45.814 [main] DEBUG org.apache.http.wire -  << "  <nonce_str><![CDATA[1b3f5bfa1a6841d3ad65c7c88529399a]]></nonce_str>[\n]"

16:00:45.814 [main] DEBUG org.apache.http.wire -  << "  <return_code><![CDATA[SUCCESS]]></return_code>[\n]"

16:00:45.814 [main] DEBUG org.apache.http.wire -  << "  <err_code_des><![CDATA[SUCCESS]]></err_code_des>[\n]"

16:00:45.814 [main] DEBUG org.apache.http.wire -  << "  <time_end><![CDATA[20191217160045]]></time_end>[\n]"

16:00:45.814 [main] DEBUG org.apache.http.wire -  << "  <mch_id><![CDATA[xxxxx]]></mch_id>[\n]"

16:00:45.814 [main] DEBUG org.apache.http.wire -  << "  <trade_type><![CDATA[APP]]></trade_type>[\n]"

16:00:45.815 [main] DEBUG org.apache.http.wire -  << "  <trade_state_desc><![CDATA[ok]]></trade_state_desc>[\n]"

16:00:45.815 [main] DEBUG org.apache.http.wire -  << "  <settlement_total_fee><![CDATA[300]]></settlement_total_fee>[\n]"

16:00:45.815 [main] DEBUG org.apache.http.wire -  << "  <sign><![CDATA[3706A65BF622FF273C0C4C31615AC10F]]></sign>[\n]"

16:00:45.815 [main] DEBUG org.apache.http.wire -  << "  <cash_fee><![CDATA[300]]></cash_fee>[\n]"

16:00:45.816 [main] DEBUG org.apache.http.wire -  << "  <is_subscribe><![CDATA[Y]]></is_subscribe>[\n]"

16:00:45.816 [main] DEBUG org.apache.http.wire -  << "  <return_msg><![CDATA[OK]]></return_msg>[\n]"

16:00:45.816 [main] DEBUG org.apache.http.wire -  << "  <fee_type><![CDATA[CNY]]></fee_type>[\n]"

16:00:45.816 [main] DEBUG org.apache.http.wire -  << "  <bank_type><![CDATA[CMC]]></bank_type>[\n]"

16:00:45.816 [main] DEBUG org.apache.http.wire -  << "  <attach><![CDATA[sandbox_attach]]></attach>[\n]"

16:00:45.816 [main] DEBUG org.apache.http.wire -  << "  <device_info><![CDATA[sandbox]]></device_info>[\n]"

16:00:45.816 [main] DEBUG org.apache.http.wire -  << "  <out_trade_no><![CDATA[Z201912171600130025]]></out_trade_no>[\n]"

16:00:45.817 [main] DEBUG org.apache.http.wire -  << "  <transaction_id><![CDATA[]]></transaction_id>[\n]"

16:00:45.817 [main] DEBUG org.apache.http.wire -  << "  <total_fee><![CDATA[300]]></total_fee>[\n]"

16:00:45.817 [main] DEBUG org.apache.http.wire -  << "  <appid><![CDATA[xxx]]></appid>[\n]"

16:00:45.817 [main] DEBUG org.apache.http.wire -  << "  <result_code><![CDATA[SUCCESS]]></result_code>[\n]"

16:00:45.817 [main] DEBUG org.apache.http.wire -  << "  <err_code><![CDATA[SUCCESS]]></err_code>[\n]"

16:00:45.817 [main] DEBUG org.apache.http.wire -  << "</xml>"

16:00:45.817 [main] DEBUG org.apache.http.impl.conn.BasicClientConnectionManager - Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@49b0b76

16:00:45.818 [main] DEBUG org.apache.http.impl.conn.BasicClientConnectionManager - Connection can be kept alive for 8000 MILLISECONDS

result = PayNotifyResult{appid='xxx', mchId='xxxx', nonceStr='1b3f5bfa1a6841d3ad65c7c88529399a', sign='3706A65BF622FF273C0C4C31615AC10F', resultCode='SUCCESS', errCode='SUCCESS', errCodeDes='SUCCESS', deviceInfo='sandbox', openid='xxxx', isSubscribe='Y', tradeType='APP', bankType='CMC', feeType='CNY', totalFee='300', cashFeeType='CNY', cashFee='300', couponFee='null', couponCount='null', transactionId='', outTradeNo='Z201912171600130025', attach='sandbox_attach', timeEnd='20191217160045'} WeixinResult{returnCode='SUCCESS', returnMsg='OK'}

支付提示失败,订单查询又显示成功!!!这也太不走心了,微信沙箱!!难道要正式环境测??

最后一次编辑于  2019-12-17
回答关注问题邀请回答
收藏
登录 后发表内容
问题标签