I am working on Opayo PI integration. https://www.opayolabs.co.uk/apis/pi-api-reference.jsp
According to their new update,(3DSv2) To create a Transaction I have to send strongCustomerAuthentication object. https://developer-eu.elavon.com/docs/opayo/spec/api-reference#operation/createTransaction
I try with different data But It always returns
{
"statusCode": "2001",
"statusDetail": "Transaction rejected by the fraud rules you have in place.",
"transactionId": "blabla",
"transactionType": "Payment",
"status": "Rejected",
"3DSecure": {
"status": "NotChecked"
}
}
I tried
"strongCustomerAuthentication": {
"notificationURL": "https://example.com/",
"browserIP": "34.201.186.27",
"browserAcceptHeader": "\\*/\\*",
"browserJavascriptEnabled": false,
"browserLanguage": "en",
"browserUserAgent": "PostmanRuntime/7.28.4",
"transType": "GoodsAndServicePurchase",
"challengeWindowSize": "Medium"
}
"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"
}
Do anyone knows What is the correct data for this object?
My expected response for a challenge authentication outcome
{
"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