首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Opayo (SagePay) Pi集成-创建事务API总是返回3DSecure.status = NotChecked

Opayo (SagePay) Pi集成-创建事务API总是返回3DSecure.status = NotChecked
EN

Stack Overflow用户
提问于 2022-09-29 08:43:44
回答 1查看 152关注 0票数 2

我正在进行Opayo PI集成。https://www.opayolabs.co.uk/apis/pi-api-reference.jsp

根据他们的新更新,(3DSv 2)要创建一个事务,我必须发送strongCustomerAuthentication对象。https://developer-eu.elavon.com/docs/opayo/spec/api-reference#operation/createTransaction

我尝试使用不同的数据,但它总是返回。

代码语言:javascript
运行
复制
{
    "statusCode": "2001",
    "statusDetail": "Transaction rejected by the fraud rules you have in place.",
    "transactionId": "blabla",
    "transactionType": "Payment",
    "status": "Rejected",
    "3DSecure": {
        "status": "NotChecked"
    }
}

我试过了

代码语言:javascript
运行
复制
  "strongCustomerAuthentication": {
    "notificationURL": "https://example.com/",
    "browserIP": "34.201.186.27",
    "browserAcceptHeader": "\\*/\\*",
    "browserJavascriptEnabled": false,
    "browserLanguage": "en",
    "browserUserAgent": "PostmanRuntime/7.28.4",
    "transType": "GoodsAndServicePurchase",
    "challengeWindowSize": "Medium"
  }
代码语言:javascript
运行
复制
  "strongCustomerAuthentication": {
    "notificationURL": "https://example.com/",
    "browserIP": "<my ip address>",
    "browserAcceptHeader": "\\*/\\*",
    "browserJavascriptEnabled": false,
    "browserLanguage": "en",
    "browserUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0",
    "transType": "GoodsAndServicePurchase",
    "challengeWindowSize": "Small"
  }

有人知道这个对象的正确数据是什么吗?

我对挑战身份验证结果的预期响应

代码语言:javascript
运行
复制
{
  "statusCode":"2021",
  "statusDetail":"Please redirect your customer to the ACSURL to complete the 3DS Transaction",
  "transactionId":"BEB718F6-3ED2-323E-2CB2-B8C83DB2029C",
  "acsTransId":"43b04fd1-692c-4b76-ac20-a75527ad0a25",
  "dsTransId":"7980e36f-907b-4530-84fd-ccc1f40bf9ae",
  "acsUrl":"https://localhost:8252/html_challenge",
  "status":"3DAuth",
  "cReq":"eyJtZXNzYWdlVHlwZSI6IkNSZXEi...V2luZG93U2l6ZSI6IjAxIn0"
}

https://developer-eu.elavon.com/docs/opayo/3d-secure-authentication#challenge-authentication

EN

回答 1

Stack Overflow用户

发布于 2022-11-16 07:40:57

给持卡人名字=挑战

填表格的时候。securityCode (CV2/CVV)总是: 123 (美国运通卡1234),billingAddress.address1是: 88 billingAddress.postalCode是: 412,只要是在未来的希望,这将有所帮助。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73892686

复制
相关文章

相似问题

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