Home > Backend Development > PHP Tutorial > 银联支付报文格式错误5100030

银联支付报文格式错误5100030

WBOY
Release: 2016-06-06 20:13:24
Original
9021 people have browsed it

在银联官网下载了一个支付接口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>
Copy after login
Copy after login


<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>
Copy after login
Copy after login

<code></code>
Copy after login
Copy after login


回复内容:

在银联官网下载了一个支付接口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>
Copy after login
Copy after login


<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>
Copy after login
Copy after login

<code></code>
Copy after login
Copy after login


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template