3DS2 - Authentification "Data Only"
Para probar este escenario, use uno de los números de tarjeta a continuación:
Tarjeta | Fecha de vencimiento. | Marca |
---|---|---|
5100010000000114 | A elección | mastercard |
5100010000002045 | A elección | mastercard |
Secuencia de los intercambios
1. Llamada inicial al servicio PCI/Charge/Authenticate con la opción 3-D Secure establecida en "DATA_ONLY".
{ "amount": "9990", "currency": "PEN", "transactionCategory": "PAYMENT", "productType": "GOODS_OR_SERVICE_PURCHASE", "merchant": { "mid": "9876357" }, "paymentForm": { "expiryMonth": "09", "expiryYear": "23", "networkPreference": "MASTERCARD", "pan": "5100010000002045" }, "device": { "acceptHeader": "text/html", "colorDepth": "32", "deviceType": "BROWSER", "ip": "69.89.31.226", "javaEnabled": true, "language": "FR", "screenHeight": "768", "screenWidth": "1258", "timeZoneOffset": "-120", "userAgent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101" }, "protocolRequest": { "name": "THREEDS", "version": "2", "challengePreference": "DATA_ONLY" } }
2. 2. Retorno del servidor de la plataforma de pago con el resultado del análisis de riesgos.
{ "webService":"PCI/Charge/Authenticate", "version":"V4", "applicationVersion":"5.35.0", "serverDate":"2022-03-25T16:00:06+00:00", "ticket":"e0358d6bf2334917bf56ec119c98b4b9", "applicationProvider":"", "metadata":null, "status":"SUCCESS", "mode":"TEST", "serverUrl":"https://api.micuentaweb.pe", "_type":"V4/WebService/Response", "answer":{ "id":"9b0cf8e3-1f59-47c1-b61e-2864bf8d6b61", "protocol":{ "name":"THREEDS", "version":"2.1.0", "network":"MASTERCARD", "challengePreference":"DATA_ONLY", "simulation":true, "_type":"V4/Charge/Authenticate/Protocol" } ,"value":{ "authenticationType":"DATA_ONLY", "authenticationId":{ "authenticationIdType":"dsTransId", "value":"b32bad9c-5a6d-40ca-94cc-3d26d2cfdc84", "_type":"V4/Charge/Authenticate/AuthenticationId" }, "authenticationValue":{ "authenticationValueType":"AAV", "value":"2bDsUnu7Y6B7Qx1Jjg63PTpWqbg=", "_type":"V4/Charge/Authenticate/AuthenticationValue" }, "status":"SUCCESS", "commerceIndicator":"04", "extension":{ "authenticationType":"THREEDS_V2", "threeDSServerTransID":"9b0cf8e3-1f59-47c1-b61e-2864bf8d6b61", "dsTransID":"b32bad9c-5a6d-40ca-94cc-3d26d2cfdc84", "acsTransID":"2bafb004-edf7-4cf4-979c-5aeecf2542f4", "transStatusReason":"80", "requestorName":"Lyra Authentication Server_ShopName", "dataOnlyStatus":"Success", "dataOnlyDecision":"Good", "dataOnlyScore":"42" "_type":"V4/Charge/Authenticate/AuthenticationResultExtensionThreedsV2" }, "reason":{ "code":"DS_SPECIFIC_VALUE_80", "_type":"V4/Charge/Authenticate/AuthenticationResultReason" }, "_type":"V4/Charge/Authenticate/AuthenticationResult" }, "_type":"V4/AuthenticationResponseData" } }