首页 > 后端开发 > php教程 > 银联支付报文格式错误5100030

银联支付报文格式错误5100030

WBOY
发布: 2016-06-06 20:13:24
原创
9022 人浏览过

在银联官网下载了一个支付接口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>
登录后复制
登录后复制


相关标签:
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板