Heim >Backend-Entwicklung >PHP-Tutorial >银联支付报文格式错误5100030

银联支付报文格式错误5100030

WBOY
WBOYOriginal
2016-06-06 20:13:248999Durchsuche

在银联官网下载了一个支付接口demo,测试出现报文格式错误,不知哪里错了,请问有大神知道吗?

银联支付报文格式错误5100030

这是日志文件:

2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\secureUtil.php ], Line[16]------ =====签名报文开始======
2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\secureUtil.php ], Line[22]------ 签名key=val&...串 >accessType=0&backUrl=http://115.28.88.181/upacp_demo_b2b/demo...
2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\secureUtil.php ], Line[25]------ 摘要sha1x16 >5a615909135ea2c2b7066056f071678acf0b5d9b
2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\secureUtil.php ], Line[32]------ 签名串为 >UnvLiNqmrnhFMH2leQr4rS1Dx826N9dhdLEcBLaSVc6AfE/2/lQFZfWjTRwl6uJNLSdXoSmr/w3B2nAzLRmo2mb/sfy3E3dFxs2iq4dSOOZcJokKySADVwCB9FrNO32r31Hs5YxHnI9JYl2vfoHsN9osE6l4D5V1sKeRqXnj8f7JFDTRHDgwAFuyekcDr7LLilta5AsYSOiNykfqLz/mad49Xcur6W18Vlc5rP/dvXR3lhYU/fV5xvqeTUzFDqrVRfPOaIlbOFAPy6WzgS1hdEsCrLyKwaEyG0gv+5tKmNRYsLGDEuMThEOn6Gy5voFdjDroFbHtHYukP0rSkOuyEA==
2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\secureUtil.php ], Line[37]------ =====签名报文结束======
2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\acp_service.php ], Line[154]------ 自动跳转html>

<code><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></code>


<code><form id="pay_form" name="pay_form" action="https://101.231.204.80:5000/gateway/api/frontTransReq.do" method="post">
    <input type="hidden" name="version" id="version" value="5.0.0">
<input type="hidden" name="encoding" id="encoding" value="utf-8">
<input type="hidden" name="txnType" id="txnType" value="01">
<input type="hidden" name="txnSubType" id="txnSubType" value="01">
<input type="hidden" name="bizType" id="bizType" value="000202">
<input type="hidden" name="frontUrl" id="frontUrl" value="http://115.28.88.181/upacp_demo_b2b/demo/api_02_b2b/FrontReceive.php">
<input type="hidden" name="backUrl" id="backUrl" value="http://115.28.88.181/upacp_demo_b2b/demo/api_02_b2b/BackReceive.php">
<input type="hidden" name="signMethod" id="signMethod" value="01">
<input type="hidden" name="channelType" id="channelType" value="07">
<input type="hidden" name="accessType" id="accessType" value="0">
<input type="hidden" name="currencyCode" id="currencyCode" value="156">
<input type="hidden" name="merId" id="merId" value="777290058110048">
<input type="hidden" name="orderId" id="orderId" value="20160330102405">
<input type="hidden" name="txnTime" id="txnTime" value="20160330102405">
<input type="hidden" name="txnAmt" id="txnAmt" value="1000">
<input type="hidden" name="certId" id="certId" value="68759663125">
<input type="hidden" name="signature" id="signature" value="UnvLiNqmrnhFMH2leQr4rS1Dx826N9dhdLEcBLaSVc6AfE/2/lQFZfWjTRwl6uJNLSdXoSmr/w3B2nAzLRmo2mb/sfy3E3dFxs2iq4dSOOZcJokKySADVwCB9FrNO32r31Hs5YxHnI9JYl2vfoHsN9osE6l4D5V1sKeRqXnj8f7JFDTRHDgwAFuyekcDr7LLilta5AsYSOiNykfqLz/mad49Xcur6W18Vlc5rP/dvXR3lhYU/fV5xvqeTUzFDqrVRfPOaIlbOFAPy6WzgS1hdEsCrLyKwaEyG0gv+5tKmNRYsLGDEuMThEOn6Gy5voFdjDroFbHtHYukP0rSkOuyEA==">
</form></code>

<code></code>


回复内容:

在银联官网下载了一个支付接口demo,测试出现报文格式错误,不知哪里错了,请问有大神知道吗?

银联支付报文格式错误5100030

这是日志文件:

2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\secureUtil.php ], Line[16]------ =====签名报文开始======
2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\secureUtil.php ], Line[22]------ 签名key=val&...串 >accessType=0&backUrl=http://115.28.88.181/upacp_demo_b2b/demo...
2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\secureUtil.php ], Line[25]------ 摘要sha1x16 >5a615909135ea2c2b7066056f071678acf0b5d9b
2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\secureUtil.php ], Line[32]------ 签名串为 >UnvLiNqmrnhFMH2leQr4rS1Dx826N9dhdLEcBLaSVc6AfE/2/lQFZfWjTRwl6uJNLSdXoSmr/w3B2nAzLRmo2mb/sfy3E3dFxs2iq4dSOOZcJokKySADVwCB9FrNO32r31Hs5YxHnI9JYl2vfoHsN9osE6l4D5V1sKeRqXnj8f7JFDTRHDgwAFuyekcDr7LLilta5AsYSOiNykfqLz/mad49Xcur6W18Vlc5rP/dvXR3lhYU/fV5xvqeTUzFDqrVRfPOaIlbOFAPy6WzgS1hdEsCrLyKwaEyG0gv+5tKmNRYsLGDEuMThEOn6Gy5voFdjDroFbHtHYukP0rSkOuyEA==
2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\secureUtil.php ], Line[37]------ =====签名报文结束======
2016-03-30 16:24:06, INFO, ::1, File[ D:\wamp\wamp\www\upacp_demo_b2b\sdk\acp_service.php ], Line[154]------ 自动跳转html>

<code><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></code>


<code><form id="pay_form" name="pay_form" action="https://101.231.204.80:5000/gateway/api/frontTransReq.do" method="post">
    <input type="hidden" name="version" id="version" value="5.0.0">
<input type="hidden" name="encoding" id="encoding" value="utf-8">
<input type="hidden" name="txnType" id="txnType" value="01">
<input type="hidden" name="txnSubType" id="txnSubType" value="01">
<input type="hidden" name="bizType" id="bizType" value="000202">
<input type="hidden" name="frontUrl" id="frontUrl" value="http://115.28.88.181/upacp_demo_b2b/demo/api_02_b2b/FrontReceive.php">
<input type="hidden" name="backUrl" id="backUrl" value="http://115.28.88.181/upacp_demo_b2b/demo/api_02_b2b/BackReceive.php">
<input type="hidden" name="signMethod" id="signMethod" value="01">
<input type="hidden" name="channelType" id="channelType" value="07">
<input type="hidden" name="accessType" id="accessType" value="0">
<input type="hidden" name="currencyCode" id="currencyCode" value="156">
<input type="hidden" name="merId" id="merId" value="777290058110048">
<input type="hidden" name="orderId" id="orderId" value="20160330102405">
<input type="hidden" name="txnTime" id="txnTime" value="20160330102405">
<input type="hidden" name="txnAmt" id="txnAmt" value="1000">
<input type="hidden" name="certId" id="certId" value="68759663125">
<input type="hidden" name="signature" id="signature" value="UnvLiNqmrnhFMH2leQr4rS1Dx826N9dhdLEcBLaSVc6AfE/2/lQFZfWjTRwl6uJNLSdXoSmr/w3B2nAzLRmo2mb/sfy3E3dFxs2iq4dSOOZcJokKySADVwCB9FrNO32r31Hs5YxHnI9JYl2vfoHsN9osE6l4D5V1sKeRqXnj8f7JFDTRHDgwAFuyekcDr7LLilta5AsYSOiNykfqLz/mad49Xcur6W18Vlc5rP/dvXR3lhYU/fV5xvqeTUzFDqrVRfPOaIlbOFAPy6WzgS1hdEsCrLyKwaEyG0gv+5tKmNRYsLGDEuMThEOn6Gy5voFdjDroFbHtHYukP0rSkOuyEA==">
</form></code>

<code></code>


Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn