首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何为我的网站集成Realex支付的3D安全流程?

如何为我的网站集成Realex支付的3D安全流程?
EN

Stack Overflow用户
提问于 2012-08-09 11:09:22
回答 1查看 1.8K关注 0票数 0

为了在我的网站上集成Realex支付(3D安全),我使用了下面的代码,这是我从一个例子中得到的。

为了为我们的客户付款,我可以用xml文件请求文件中的商品、订单、持卡人姓名、日期、卡号、金额等。

代码语言:javascript
复制
<request type='auth' timestamp='123123123123'>
<merchantid>name of merchant</merchantid>
<account>internet</account>
<orderid>  order id </orderid>
<amount currency='GBP'>20</amount>
<card>
<number>1234567894561235</number>
<expdate>0912</expdate>
<type>Visa</type>
<chname>card holder name</chname>
</card>
<autosettle flag='1'/>
<md5hash>1bb4baxse4534g541sdw233c4ac20ba</md5hash>
<tssinfo>
<address type='billing'>
<country> country code </country>
</address>
</tssinfo>
</request>

在响应中,我得到了以下信息:

代码语言:javascript
复制
<response timestamp="20120808063848">
<merchantid>Name Of Merchant</merchantid>
<account>internet</account>
<orderid>orderid</orderid>
<authcode>something</authcode>
<result>00</result>
<cvnresult>U</cvnresult>
<avspostcoderesponse>U</avspostcoderesponse>
<avsaddressresponse>U</avsaddressresponse>
<batchid> batchid </batchid>
<message>[ test system ] Authorised 111111 </message>
<pasref>14digit number</pasref>
<timetaken>1</timetaken>
<authtimetaken>1</authtimetaken>

<cardissuer>
<bank> name of bank </bank>
<country> country name </country>
<countrycode> country code </countrycode>
<region>EUR</region>
</cardissuer>

<md5hash>3656d456Hfgfdac45dsf453d96a08d7d9</md5hash>
</response>

接下来,我们需要添加3D安全流程来验证

EN

回答 1

Stack Overflow用户

发布于 2013-01-20 01:01:30

使用:

代码语言:javascript
复制
request type='3ds-verifyenrolled'

而不是:

代码语言:javascript
复制
request type='auth'
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11882085

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档