【问题标题】:Opayo PI Integration 3d-secure-authentication fallbackOpayo PI 集成 3d-secure-authentication 回退
【发布时间】:2022-11-07 15:59:43
【问题描述】:

我正在为 Opayo 支付网关 https://developer-eu.elavon.com/docs/opayo/spec/api-reference-0#operation/createTransaction 进行后端开发(在 .net core 6.0 中)。

当我提交交易时,我收到了这个回复,

{
  "statusCode":"2007",
  "statusDetail":"Please redirect your customer to the ACSURL to complete the 3DS Transaction",
  "transactionId":"DFAF9D9A-CD17-A4DF-B5A0-D9A9D88E4468",
  "acsUrl":"https://test.opayo.co.uk/mpitools/accesscontroler?action=pareq",
  "paReq":"eJxVUstuwjAQvPcrolwrxXaeCC1GtB...2WD1jFj8RAZvQztwd7ZIGgAEFNLxu2RcdEY/fsAv12RstM=",
  "status":"3DAuth"
}

他们在文档中说, When you receive our response with a status of 3DAuth, you must return to the cardholder a page or iFrame containing a form with hidden attributes that POSTs the paReq and two additional fields called TermUrl and MD to the 3D Secure provider located at the acsUrl.

他们给出了表格的自我提交版本示例

<form id="pa-form" method="post" action="/%5BINSERT%20ACS%20URL%5D%20%20">
  <input type="hidden" name="PaReq" value="[PREVIOUSLY RETURNED PAREQ]">
  <input type="hidden" name="TermUrl" value="[ENDPOINT ON YOUR SERVER WHICH HANDLES RESPONSE FROM 3DSECURE PROVIDER]">   
  <input type="hidden" name="MD" value="[YOUR UNIQUE REFERENCE NUMBER FOR THIS AUTHENTICATION]">  
</form>    
<script>document.addEventListener("DOMContentLoaded",function(){var b=document.getElementById("pa-form");b&&b.submit()})</script>

我没有得到以上几点,作为后端开发人员我该怎么办?

而且,什么是 “[处理来自 3DSECURE 提供商的响应的服务器上的端点]” “[此身份验证的唯一参考编号]”?

我可以看一下上述表格的演示吗?

有没有人在使用 opayo pi 集成,请帮助我? 提前致谢

【问题讨论】:

    标签: payment-gateway opayo 3d-secure


    【解决方案1】:

    你有任何答案请与我分享我被困在这里..

     I post this form. It redirects to ACSURL but how to handle response here. 
    Please give any suggestion.
    share some code.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-09-18
      • 2019-12-13
      • 2014-03-02
      • 2019-12-08
      • 2021-10-11
      • 1970-01-01
      • 2020-08-23
      • 2023-03-22
      相关资源
      最近更新 更多