GET: array(0) {
}
POST: array(0) {
}
INITIAL: Mensaje a enviar
object(RESTInitialRequestMessage)#1 (17) {
["merchant":"RESTInitialRequestMessage":private]=>
string(9) "999008881"
["terminal":"RESTInitialRequestMessage":private]=>
string(2) "20"
["order":"RESTInitialRequestMessage":private]=>
string(12) "692181UN6X4L"
["operID":"RESTInitialRequestMessage":private]=>
NULL
["transactionType":"RESTInitialRequestMessage":private]=>
string(1) "0"
["currency":"RESTInitialRequestMessage":private]=>
string(3) "978"
["amount":"RESTInitialRequestMessage":private]=>
string(3) "123"
["dcc":"RESTInitialRequestMessage":private]=>
NULL
["parameters":"RESTInitialRequestMessage":private]=>
array(2) {
["DS_MERCHANT_IDENTIFIER"]=>
string(40) "020e2026d9449fd5b87cca8081782cf523496833"
["DS_MERCHANT_PRODUCTDESCRIPTION"]=>
string(34) "Prueba de pago InSite con 3DSecure"
}
["emv":"RESTInitialRequestMessage":private]=>
array(1) {
["threeDSInfo"]=>
string(8) "CardData"
}
["cardNumber":"RESTInitialRequestMessage":private]=>
NULL
["cardExpiryDate":"RESTInitialRequestMessage":private]=>
NULL
["cvv2":"RESTInitialRequestMessage":private]=>
NULL
["datosEntradaB64":"RESTInitialRequestMessage":private]=>
NULL
["datosEntrada":"RESTInitialRequestMessage":private]=>
NULL
["signatureVersion":"RESTInitialRequestMessage":private]=>
string(14) "HMAC_SHA256_V1"
["signature":"RESTInitialRequestMessage":private]=>
NULL
}
object(RESTInitialRequestService)#2 (6) {
["signatureKey":"RESTService":private]=>
string(32) "sq7HjrUOBfKmC576ILgskD5srU870gJ7"
["dispatch":"RESTService":private]=>
NULL
["env":"RESTService":private]=>
string(1) "0"
["operation":"RESTService":private]=>
string(1) "0"
["connected":"RESTService":private]=>
bool(false)
["serviceEndpointURL":"RESTService":private]=>
NULL
}
INITIAL: Respuesta recibida
object(RESTResponseMessage)#20 (3) {
["result":"RESTResponseMessage":private]=>
string(3) "AUT"
["apiCode":"RESTResponseMessage":private]=>
NULL
["operation":"RESTResponseMessage":private]=>
object(RESTOperationElement)#22 (27) {
["amount":"RESTOperationElement":private]=>
NULL
["currency":"RESTOperationElement":private]=>
NULL
["order":"RESTOperationElement":private]=>
string(12) "692181UN6X4L"
["signature":"RESTOperationElement":private]=>
string(44) "mOUGoRGZ9Vhdptexse4zvuCz9OXiwXCBRSzZ6_RHCkM="
["merchant":"RESTOperationElement":private]=>
string(9) "999008881"
["terminal":"RESTOperationElement":private]=>
string(2) "20"
["responseCode":"RESTOperationElement":private]=>
NULL
["authCode":"RESTOperationElement":private]=>
NULL
["transactionType":"RESTOperationElement":private]=>
string(1) "0"
["securePayment":"RESTOperationElement":private]=>
NULL
["language":"RESTOperationElement":private]=>
NULL
["merchantData":"RESTOperationElement":private]=>
NULL
["cardCountry":"RESTOperationElement":private]=>
NULL
["cardNumber":"RESTOperationElement":private]=>
NULL
["cardBrand":"RESTOperationElement":private]=>
NULL
["cardType":"RESTOperationElement":private]=>
NULL
["expiryDate":"RESTOperationElement":private]=>
NULL
["merchantIdentifier":"RESTOperationElement":private]=>
NULL
["psd2":"RESTOperationElement":private]=>
string(1) "Y"
["exemption":"RESTOperationElement":private]=>
NULL
["cofTxnid":"RESTOperationElement":private]=>
NULL
["emv":"RESTOperationElement":private]=>
array(4) {
["protocolVersion"]=>
string(5) "2.1.0"
["threeDSServerTransID"]=>
string(36) "8b6039f9-59f0-4864-96ba-b34447ca76db"
["threeDSInfo"]=>
string(17) "CardConfiguration"
["threeDSMethodURL"]=>
string(59) "https://sis-d.redsys.es/sis-simulador-web/threeDsMethod.jsp"
}
["dcc":"RESTOperationElement":private]=>
NULL
["infoMonedaTarjeta":"RESTOperationElement":private]=>
NULL
["acsURL":"RESTOperationElement":private]=>
string(0) ""
["protocolVersion":"RESTOperationElement":private]=>
NULL
["threeDSInfo":"RESTOperationElement":private]=>
NULL
}
}
Operation requires authentication
AUTHENTICATION: Mensaje a enviar
object(RESTOperationMessage)#3 (13) {
["merchant":"RESTOperationMessage":private]=>
string(9) "999008881"
["terminal":"RESTOperationMessage":private]=>
string(2) "20"
["order":"RESTOperationMessage":private]=>
string(12) "692181UN6X4L"
["operID":"RESTOperationMessage":private]=>
NULL
["transactionType":"RESTOperationMessage":private]=>
string(1) "0"
["currency":"RESTOperationMessage":private]=>
string(3) "978"
["amount":"RESTOperationMessage":private]=>
string(3) "123"
["dcc":"RESTOperationMessage":private]=>
NULL
["parameters":"RESTOperationMessage":private]=>
array(1) {
["DS_MERCHANT_IDENTIFIER"]=>
string(40) "020e2026d9449fd5b87cca8081782cf523496833"
}
["emv":"RESTOperationMessage":private]=>
array(14) {
["threeDSInfo"]=>
string(18) "AuthenticationData"
["protocolVersion"]=>
string(5) "2.1.0"
["browserAcceptHeader"]=>
string(80) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,application/json"
["browserUserAgent"]=>
string(114) "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
["browserJavaEnabled"]=>
string(5) "false"
["browserJavascriptEnabled"]=>
string(5) "false"
["browserLanguage"]=>
string(5) "ES-es"
["browserColorDepth"]=>
string(2) "24"
["browserScreenHeight"]=>
string(4) "1250"
["browserScreenWidth"]=>
string(4) "1320"
["browserTZ"]=>
string(2) "52"
["threeDSServerTransID"]=>
string(36) "8b6039f9-59f0-4864-96ba-b34447ca76db"
["notificationURL"]=>
string(73) "http://localhost/ejemplosAPIREST/Example3DSecureV2Reference.php?urlOK=yes"
["threeDSCompInd"]=>
string(1) "Y"
}
["cardNumber":"RESTOperationMessage":private]=>
NULL
["cardExpiryDate":"RESTOperationMessage":private]=>
NULL
["cvv2":"RESTOperationMessage":private]=>
NULL
}
AUTHENTICATION: Respuesta recibida
object(RESTResponseMessage)#13 (3) {
["result":"RESTResponseMessage":private]=>
string(3) "AUT"
["apiCode":"RESTResponseMessage":private]=>
NULL
["operation":"RESTResponseMessage":private]=>
object(RESTOperationElement)#14 (27) {
["amount":"RESTOperationElement":private]=>
string(3) "123"
["currency":"RESTOperationElement":private]=>
string(3) "978"
["order":"RESTOperationElement":private]=>
string(12) "692181UN6X4L"
["signature":"RESTOperationElement":private]=>
string(44) "yRvq65hInebPTlJ7cymW9RNbfEFBoHZUt-e2eJj6dK0="
["merchant":"RESTOperationElement":private]=>
string(9) "999008881"
["terminal":"RESTOperationElement":private]=>
string(2) "20"
["responseCode":"RESTOperationElement":private]=>
NULL
["authCode":"RESTOperationElement":private]=>
NULL
["transactionType":"RESTOperationElement":private]=>
string(1) "0"
["securePayment":"RESTOperationElement":private]=>
NULL
["language":"RESTOperationElement":private]=>
NULL
["merchantData":"RESTOperationElement":private]=>
NULL
["cardCountry":"RESTOperationElement":private]=>
NULL
["cardNumber":"RESTOperationElement":private]=>
NULL
["cardBrand":"RESTOperationElement":private]=>
NULL
["cardType":"RESTOperationElement":private]=>
NULL
["expiryDate":"RESTOperationElement":private]=>
NULL
["merchantIdentifier":"RESTOperationElement":private]=>
NULL
["psd2":"RESTOperationElement":private]=>
NULL
["exemption":"RESTOperationElement":private]=>
NULL
["cofTxnid":"RESTOperationElement":private]=>
NULL
["emv":"RESTOperationElement":private]=>
array(4) {
["threeDSInfo"]=>
string(16) "ChallengeRequest"
["protocolVersion"]=>
string(5) "2.1.0"
["acsURL"]=>
string(67) "https://sis-d.redsys.es/sis-simulador-web/authenticationRequest.jsp"
["creq"]=>
string(251) "eyJ0aHJlZURTU2VydmVyVHJhbnNJRCI6IjhiNjAzOWY5LTU5ZjAtNDg2NC05NmJhLWIzNDQ0N2NhNzZkYiIsImFjc1RyYW5zSUQiOiI3MjAwMDM4ZC01ZTE1LTRhYTgtOGE0NS1lYjI4NGQ2NDE0NWIiLCJtZXNzYWdlVHlwZSI6IkNSZXEiLCJtZXNzYWdlVmVyc2lvbiI6IjIuMS4wIiwiY2hhbGxlbmdlV2luZG93U2l6ZSI6IjA1In0"
}
["dcc":"RESTOperationElement":private]=>
NULL
["infoMonedaTarjeta":"RESTOperationElement":private]=>
NULL
["acsURL":"RESTOperationElement":private]=>
string(0) ""
["protocolVersion":"RESTOperationElement":private]=>
NULL
["threeDSInfo":"RESTOperationElement":private]=>
NULL
}
}
Requesting ChallengeRequest...
Entra en el if de RESP_LITERAL_AUT if
string(1708) "O:20:"RESTOperationElement":27:{s:28:" RESTOperationElement amount";s:3:"123";s:30:" RESTOperationElement currency";s:3:"978";s:27:" RESTOperationElement order";s:12:"692181UN6X4L";s:31:" RESTOperationElement signature";s:44:"yRvq65hInebPTlJ7cymW9RNbfEFBoHZUt-e2eJj6dK0=";s:30:" RESTOperationElement merchant";s:9:"999008881";s:30:" RESTOperationElement terminal";s:2:"20";s:34:" RESTOperationElement responseCode";N;s:30:" RESTOperationElement authCode";N;s:37:" RESTOperationElement transactionType";s:1:"0";s:35:" RESTOperationElement securePayment";N;s:30:" RESTOperationElement language";N;s:34:" RESTOperationElement merchantData";N;s:33:" RESTOperationElement cardCountry";N;s:32:" RESTOperationElement cardNumber";N;s:31:" RESTOperationElement cardBrand";N;s:30:" RESTOperationElement cardType";N;s:32:" RESTOperationElement expiryDate";N;s:40:" RESTOperationElement merchantIdentifier";N;s:26:" RESTOperationElement psd2";N;s:31:" RESTOperationElement exemption";N;s:30:" RESTOperationElement cofTxnid";N;s:25:" RESTOperationElement emv";a:4:{s:11:"threeDSInfo";s:16:"ChallengeRequest";s:15:"protocolVersion";s:5:"2.1.0";s:6:"acsURL";s:67:"https://sis-d.redsys.es/sis-simulador-web/authenticationRequest.jsp";s:4:"creq";s:251:"eyJ0aHJlZURTU2VydmVyVHJhbnNJRCI6IjhiNjAzOWY5LTU5ZjAtNDg2NC05NmJhLWIzNDQ0N2NhNzZkYiIsImFjc1RyYW5zSUQiOiI3MjAwMDM4ZC01ZTE1LTRhYTgtOGE0NS1lYjI4NGQ2NDE0NWIiLCJtZXNzYWdlVHlwZSI6IkNSZXEiLCJtZXNzYWdlVmVyc2lvbiI6IjIuMS4wIiwiY2hhbGxlbmdlV2luZG93U2l6ZSI6IjA1In0";}s:25:" RESTOperationElement dcc";N;s:39:" RESTOperationElement infoMonedaTarjeta";N;s:28:" RESTOperationElement acsURL";s:0:"";s:37:" RESTOperationElement protocolVersion";N;s:33:" RESTOperationElement threeDSInfo";N;}"
object(RESTOperationElement)#14 (27) {
["amount":"RESTOperationElement":private]=>
string(3) "123"
["currency":"RESTOperationElement":private]=>
string(3) "978"
["order":"RESTOperationElement":private]=>
string(12) "692181UN6X4L"
["signature":"RESTOperationElement":private]=>
string(44) "yRvq65hInebPTlJ7cymW9RNbfEFBoHZUt-e2eJj6dK0="
["merchant":"RESTOperationElement":private]=>
string(9) "999008881"
["terminal":"RESTOperationElement":private]=>
string(2) "20"
["responseCode":"RESTOperationElement":private]=>
NULL
["authCode":"RESTOperationElement":private]=>
NULL
["transactionType":"RESTOperationElement":private]=>
string(1) "0"
["securePayment":"RESTOperationElement":private]=>
NULL
["language":"RESTOperationElement":private]=>
NULL
["merchantData":"RESTOperationElement":private]=>
NULL
["cardCountry":"RESTOperationElement":private]=>
NULL
["cardNumber":"RESTOperationElement":private]=>
NULL
["cardBrand":"RESTOperationElement":private]=>
NULL
["cardType":"RESTOperationElement":private]=>
NULL
["expiryDate":"RESTOperationElement":private]=>
NULL
["merchantIdentifier":"RESTOperationElement":private]=>
NULL
["psd2":"RESTOperationElement":private]=>
NULL
["exemption":"RESTOperationElement":private]=>
NULL
["cofTxnid":"RESTOperationElement":private]=>
NULL
["emv":"RESTOperationElement":private]=>
array(4) {
["threeDSInfo"]=>
string(16) "ChallengeRequest"
["protocolVersion"]=>
string(5) "2.1.0"
["acsURL"]=>
string(67) "https://sis-d.redsys.es/sis-simulador-web/authenticationRequest.jsp"
["creq"]=>
string(251) "eyJ0aHJlZURTU2VydmVyVHJhbnNJRCI6IjhiNjAzOWY5LTU5ZjAtNDg2NC05NmJhLWIzNDQ0N2NhNzZkYiIsImFjc1RyYW5zSUQiOiI3MjAwMDM4ZC01ZTE1LTRhYTgtOGE0NS1lYjI4NGQ2NDE0NWIiLCJtZXNzYWdlVHlwZSI6IkNSZXEiLCJtZXNzYWdlVmVyc2lvbiI6IjIuMS4wIiwiY2hhbGxlbmdlV2luZG93U2l6ZSI6IjA1In0"
}
["dcc":"RESTOperationElement":private]=>
NULL
["infoMonedaTarjeta":"RESTOperationElement":private]=>
NULL
["acsURL":"RESTOperationElement":private]=>
string(0) ""
["protocolVersion":"RESTOperationElement":private]=>
NULL
["threeDSInfo":"RESTOperationElement":private]=>
NULL
}
OPE:
string(2280) "TzoyMDoiUkVTVE9wZXJhdGlvbkVsZW1lbnQiOjI3OntzOjI4OiIAUkVTVE9wZXJhdGlvbkVsZW1lbnQAYW1vdW50IjtzOjM6IjEyMyI7czozMDoiAFJFU1RPcGVyYXRpb25FbGVtZW50AGN1cnJlbmN5IjtzOjM6Ijk3OCI7czoyNzoiAFJFU1RPcGVyYXRpb25FbGVtZW50AG9yZGVyIjtzOjEyOiI2OTIxODFVTjZYNEwiO3M6MzE6IgBSRVNUT3BlcmF0aW9uRWxlbWVudABzaWduYXR1cmUiO3M6NDQ6InlSdnE2NWhJbmViUFRsSjdjeW1XOVJOYmZFRkJvSFpVdC1lMmVKajZkSzA9IjtzOjMwOiIAUkVTVE9wZXJhdGlvbkVsZW1lbnQAbWVyY2hhbnQiO3M6OToiOTk5MDA4ODgxIjtzOjMwOiIAUkVTVE9wZXJhdGlvbkVsZW1lbnQAdGVybWluYWwiO3M6MjoiMjAiO3M6MzQ6IgBSRVNUT3BlcmF0aW9uRWxlbWVudAByZXNwb25zZUNvZGUiO047czozMDoiAFJFU1RPcGVyYXRpb25FbGVtZW50AGF1dGhDb2RlIjtOO3M6Mzc6IgBSRVNUT3BlcmF0aW9uRWxlbWVudAB0cmFuc2FjdGlvblR5cGUiO3M6MToiMCI7czozNToiAFJFU1RPcGVyYXRpb25FbGVtZW50AHNlY3VyZVBheW1lbnQiO047czozMDoiAFJFU1RPcGVyYXRpb25FbGVtZW50AGxhbmd1YWdlIjtOO3M6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