13.07.2015 Views

Guía de integración de Pasarela integral

Guía de integración de Pasarela integral

Guía de integración de Pasarela integral

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Índice generalCapítulo 5 Integración <strong>de</strong> su sitio web mediante API . . . . . . . . . .51Uso <strong>de</strong> la API <strong>de</strong> administrador <strong>de</strong> botones con el flujo <strong>de</strong> pago <strong>de</strong> <strong>Pasarela</strong> <strong>integral</strong> . . . 52Utilizar la URL <strong>de</strong>vuelta en la respuesta (recomendada) . . . . . . . . . . . . . . . . 52Uso <strong>de</strong> Form POST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Encriptación <strong>de</strong> botones utilizando claves públicas yprivadas . . . . . . . . . . . . . 55Ejemplo <strong>de</strong> inicio <strong>de</strong>l proceso <strong>de</strong> pago en <strong>Pasarela</strong> <strong>integral</strong> . . . . . . . . . . . . . . 55Operación <strong>de</strong> API BMCreateButton . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Solicitud <strong>de</strong> BMCreateButton . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Respuesta <strong>de</strong> BMCreateButton . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Errores <strong>de</strong> BMCreateButton . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Capítulo 6 Prueba <strong>de</strong> la integración en el entorno <strong>de</strong> pruebas . . . . .59Cre<strong>de</strong>nciales <strong>de</strong> la cuenta <strong>de</strong>l entorno <strong>de</strong> pruebas . . . . . . . . . . . . . . . . . . . . . 59Prueba <strong>de</strong> la integración y la configuración . . . . . . . . . . . . . . . . . . . . . . . . . 62Prueba <strong>de</strong> la integración. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Prueba <strong>de</strong> la configuración . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Capítulo 7 Procesamiento <strong>de</strong> pedidos . . . . . . . . . . . . . . . . .65Verificación <strong>de</strong> la autenticidad y el estado <strong>de</strong> la transacción . . . . . . . . . . . . . . . . 65Validar notificación <strong>de</strong> pago instantánea (IPN) . . . . . . . . . . . . . . . . . . . . . 66Ejecutar una llamada <strong>de</strong> API GetTransactionDetails . . . . . . . . . . . . . . . . . . 66Cumplimentación <strong>de</strong>l pedido . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66Capítulo 8Protección <strong>de</strong> botones utilizando Pago estándarencriptado . . . . . . . . . . . . . . . . . . . . . . . . . .67Encriptación <strong>de</strong> clave pública utilizada por Pago estándar encriptado . . . . . . . . . . . 68Configuración <strong>de</strong> certificados antes <strong>de</strong> utilizar Pago estándar encriptado. . . . . . . . . . 68Generación <strong>de</strong> su clave privada utilizando OpenSSL . . . . . . . . . . . . . . . . . . 69Generación <strong>de</strong> su certificado público utilizando OpenSSL . . . . . . . . . . . . . . . 69Carga <strong>de</strong> su certificado público en su cuenta PayPal . . . . . . . . . . . . . . . . . . 69Descarga <strong>de</strong>l certificado público <strong>de</strong> PayPal <strong>de</strong>l sitio web <strong>de</strong> PayPal . . . . . . . . . . 70Eliminación <strong>de</strong>l certificado público. . . . . . . . . . . . . . . . . . . . . . . . . . . . 70Uso <strong>de</strong> Pago estándar encriptado para proteger los botones <strong>de</strong> pago . . . . . . . . . 71Bloqueo <strong>de</strong> pagos estándar <strong>de</strong>sprotegidos y no encriptados . . . . . . . . . . . . . . 72Apéndice A Operaciones <strong>de</strong> API opcionales . . . . . . . . . . . . . . .73API GetTransactionDetails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!