Pago
En este escenario específico, al enviar el parámetro action
con el valor pay
, se activa la carga de un formulario en la interfaz de usuario que contiene los campos necesarios para llevar a cabo el proceso de registro.
Este enfoque simplifica y agiliza el proceso de registro para el usuario, permitiéndole completarlo de manera adecuada y eficiente. Al hacer uso del SDK Izipay, se garantiza la gestión de la presentación del formulario correspondiente y se asegura la correcta captura de la información requerida.
El SDK Izipay se encarga de facilitar la experiencia del usuario al proporcionar una interfaz intuitiva y amigable para el registro. Además, garantiza la validación de los datos ingresados, asegurando la precisión y la integridad de la información capturada.
Este enfoque de registro con el SDK Izipay tiene como objetivo brindar una experiencia de usuario fluida y satisfactoria. Al presentar un formulario completo y optimizado, se agiliza el proceso de registro y se minimiza la posibilidad de errores o confusiones.
- La respuesta en este caso al terminar el flujo sería la siguiente estructura:
- SDK 1.3.0+
- SDK 1.2.2- (deprecada)
- Tarjeta
- Yape
{
"code": "00",
"message": "OK",
"messageUser": "Operación exitosa",
"messageUserEng": "Successful",
"response": {
"payMethod": "CARD",
"order": [
{
"payMethodAuthorization": "CARD",
"codeAuth": "S93925",
"currency": "PEN",
"amount": "1.00",
"installment": "00",
"deferred": "0",
"orderNumber": "7676794",
"stateMessage": "Autorizado",
"dateTransaction": "20240307",
"timeTransaction": "111451",
"uniqueId": "1286134",
"referenceNumber": "7000000"
}
],
"card": {
"brand": "VS",
"pan": "497010******0055",
"save": "false"
},
"billing": {
"firstName": "Juan",
"lastName": "Wick Quispe",
"email": "jwickq@izi.com",
"phoneNumber": "989339999",
"street": "calle el demo sdk",
"city": "lima",
"state": "lima",
"country": "PE",
"postalCode": "00001",
"documentType": "DNI",
"document": "12345678",
"companyName": ""
},
"merchant": {
"merchantCode": "4075169",
"facilitatorCode": ""
},
"token": {
"merchantBuyerId": "enriquepariascauser",
"cardToken": "",
"alias": ""
},
"authentication": {
"result": ""
},
"customFields": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
]
},
"payloadHttp": "{\"code\":\"00\",\"message\":\"OK\",\"messageUser\":\"Operación exitosa\",\"messageUserEng\":\"Successful\",\"transactionId\":\"557763479\",\"response\":{\"payMethod\":\"CARD\",\"order\":[{\"payMethodAuthorization\":\"CARD\",\"codeAuth\":\"S93925\",\"currency\":\"PEN\",\"amount\":\"1.00\",\"installment\":\"00\",\"deferred\":\"0\",\"orderNumber\":\"7676794\",\"stateMessage\":\"Autorizado\",\"dateTransaction\":\"20240307\",\"timeTransaction\":\"111451\",\"uniqueId\":\"1286134\",\"referenceNumber\":\"7000000\"}],\"card\":{\"brand\":\"VS\",\"pan\":\"497010******0055\",\"save\":\"false\"},\"billing\":{\"firstName\":\"Juan\",\"lastName\":\"Wick Quispe\",\"email\":\"jwickq@izi.com\",\"phoneNumber\":\"989339999\",\"street\":\"calle el demo sdk\",\"city\":\"lima\",\"state\":\"lima\",\"country\":\"PE\",\"postalCode\":\"00001\",\"documentType\":\"DNI\",\"document\":\"12345678\",\"companyName\":\"\"},\"merchant\":{\"merchantCode\":\"4075169\",\"facilitatorCode\":\"\"},\"token\":{\"merchantBuyerId\":\"enriquepariascauser\",\"cardToken\":\"\",\"alias\":\"\"},\"authentication\":{\"result\":\"\"},\"customFields\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]}}",
"signature": "0rlf7ASjgBBfVu1XB1PcnvMPvV6wFVEL/P8BgbbtRSY=",
"transactionId": "557763479"
}
{
"code": "00",
"message": "OK",
"messageUser": "Operación exitosa",
"messageUserEng": "Successful",
"response": {
"payMethod": "YAPE_CODE",
"order": [
{
"payMethodAuthorization": "YAPE_CODE",
"codeAuth": "005378",
"currency": "PEN",
"amount": "6.20",
"installment": "00",
"deferred": "0",
"orderNumber": "202407180205",
"stateMessage": "Autorizado",
"dateTransaction": "20240718",
"timeTransaction": "194813",
"uniqueId": "0719004813942358",
"referenceNumber": "8300050"
}
],
"card": {
"brand": "VS",
"pan": "489068******6131",
"save": "false"
},
"billing": {
"firstName": "Juan",
"lastName": "Wick Quispe",
"email": "jwickq@izi.com",
"phoneNumber": "989339999",
"street": "calle el demo sdk",
"city": "lima",
"state": "lima",
"country": "PE",
"postalCode": "00001",
"documentType": "DNI",
"document": "77822705",
"companyName": ""
},
"merchant": {
"merchantCode": "4001934",
"facilitatorCode": ""
},
"token": {
"merchantBuyerId": "MB76114B",
"cardToken": "",
"alias": ""
},
"authentication": {
"result": ""
},
"customFields": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
]
},
"payloadHttp": "{\"code\":\"00\",\"message\":\"OK\",\"messageUser\":\"Operación exitosa\",\"messageUserEng\":\"Successful\",\"transactionId\":\"1721349995788\",\"response\":{\"payMethod\":\"YAPE_CODE\",\"order\":[{\"payMethodAuthorization\":\"YAPE_CODE\",\"codeAuth\":\"005378\",\"currency\":\"PEN\",\"amount\":\"6.20\",\"installment\":\"00\",\"deferred\":\"0\",\"orderNumber\":\"202407180205\",\"stateMessage\":\"Autorizado\",\"dateTransaction\":\"20240718\",\"timeTransaction\":\"194813\",\"uniqueId\":\"0719004813942358\",\"referenceNumber\":\"8300050\"}],\"card\":{\"brand\":\"VS\",\"pan\":\"489068******6131\",\"save\":\"false\"},\"billing\":{\"firstName\":\"Juan\",\"lastName\":\"Wick Quispe\",\"email\":\"jwickq@izi.com\",\"phoneNumber\":\"989339999\",\"street\":\"calle el demo sdk\",\"city\":\"lima\",\"state\":\"lima\",\"country\":\"PE\",\"postalCode\":\"00001\",\"documentType\":\"DNI\",\"document\":\"77822705\",\"companyName\":\"\"},\"merchant\":{\"merchantCode\":\"4001934\",\"facilitatorCode\":\"\"},\"token\":{\"merchantBuyerId\":\"MB76114B\",\"cardToken\":\"\",\"alias\":\"\"},\"authentication\":{\"result\":\"\"},\"customFields\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]}}",
"signature": "=rKNa4wEIV2s8OH049ec7PFj4qIVv2Kag+Cl6PT1f2t0=",
"transactionId": "1721349995788"
}
{
"code": "00",
"message": "OK",
"messageUser": "Operación exitosa",
"messageUserEng": "Successful",
"response": {
"codeAuth": "S33291",
"referenceNumber": "0938587",
"merchantCode": "4075157",
"currency": "PEN",
"amount": "1.00",
"orderNumber": "87576464",
"dateTransaction": "20240307",
"timeTransaction": "114352",
"payMethod": "CARD",
"card": {
"brand": "VS",
"pan": "497010******0055",
"save": false
},
"billing": {
"firstName": "Juan",
"lastName": "Wick Quispe",
"email": "jwickq@izi.com",
"phoneNumber": "989339999",
"street": "calle el demo sdk",
"city": "lima",
"state": "lima",
"country": "PE",
"postalCode": "00001",
"documentType": "DNI",
"document": "12345678"
},
"uniqueId": "1286152"
}
}
Obligatoriedad de los campos de respuesta en el caso de uso PAGO.
Para conocer detalladamente la definición de los parámetros, visite la sección Definición de parámetros
.