> 백엔드 개발 > 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으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿