Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anterior Revisión previa | Próxima revisión Ambos lados, revisión siguiente | ||
flujo_de_pago_exitoso_de_credito_sin_cuotas_webservice [2015/12/05 12:59] Cristian Tala Sánchez |
flujo_de_pago_exitoso_de_credito_sin_cuotas_webservice [2015/12/05 13:10] Cristian Tala Sánchez |
||
---|---|---|---|
Línea 4: | Línea 4: | ||
{{ :captura_de_pantalla_de_2015-12-04_16_25_38.png |}} | {{ :captura_de_pantalla_de_2015-12-04_16_25_38.png |}} | ||
+ | |||
+ | Al momento de realizar el "click" en pagar con webpayplus, una serie de procesos realizados por el plugin se activan, a continuación mostramos el log resultado de estos procesos. | ||
Línea 87: | Línea 89: | ||
[url] => https://tbk.orangepeople.cl/filtroUnificado/initTransaction | [url] => https://tbk.orangepeople.cl/filtroUnificado/initTransaction | ||
) | ) | ||
+ | |||
+ | {{ :captura_de_pantalla_de_2015-12-04_16_30_24.png?300 |}} | ||
+ | | ||
+ | Después de esto simplemente continuamos con el pago normal ( Sin cuotas ! ). Luego de la aprobación del banco, transbank se conecta nuevamente a nuestro servidor para hacer las validaciones pertinentes. A continuación el log de eso. | ||
+ | |||
+ | [04-Dec-2015 19:30:45 UTC] [API] -> ENTRANDO HANDLER | ||
+ | [04-Dec-2015 19:30:45 UTC] [API] -> ENTRANDO AL RETURN | ||
+ | [04-Dec-2015 19:30:45 UTC] -> INICIANDO GET TRANSACTION RESULT | ||
+ | [04-Dec-2015 19:30:45 UTC] Array | ||
+ | ( | ||
+ | [token_ws] => ec8dc1ee11480f42c111f664fc0905410d16d2a8268767d1677743eeb3bd7b8e | ||
+ | ) | ||
+ | [04-Dec-2015 19:30:45 UTC] -> Servidor : 0 | ||
+ | [04-Dec-2015 19:30:45 UTC] [CW] -> CERTIFICACION : 0 https://webpay3g.orangepeople.cl/WSWebpayTransaction/cxf/WSWebpayService?wsdl | ||
+ | [04-Dec-2015 19:30:45 UTC] -> Generando Webservice con URL : https://webpay3g.orangepeople.cl/WSWebpayTransaction/cxf/WSWebpayService?wsdl | ||
+ | [04-Dec-2015 19:30:45 UTC] [CW] -> WebService Creado exitosamente | ||
+ | [04-Dec-2015 19:30:45 UTC] -> PRIVATE KEY /var/www/wp-content/plugins/woocommerce-webpayplus-webservice/llaves/597020000174.key | ||
+ | [04-Dec-2015 19:30:45 UTC] -> CERT KEY /var/www/wp-content/plugins/woocommerce-webpayplus-webservice/llaves/597020000174.crt | ||
+ | [04-Dec-2015 19:30:46 UTC] transactionResultOutput Object | ||
+ | ( | ||
+ | [accountingDate] => 1204 | ||
+ | [buyOrder] => 434 | ||
+ | [cardDetail] => cardDetail Object | ||
+ | ( | ||
+ | [cardNumber] => 6623 | ||
+ | [cardExpirationDate] => | ||
+ | ) | ||
+ | [detailOutput] => wsTransactionDetailOutput Object | ||
+ | ( | ||
+ | [authorizationCode] => 1213 | ||
+ | [paymentTypeCode] => VN | ||
+ | [responseCode] => 0 | ||
+ | [sharesNumber] => 0 | ||
+ | [amount] => 22990 | ||
+ | [commerceCode] => 597020000174 | ||
+ | [buyOrder] => 434 | ||
+ | ) | ||
+ | |||
+ | [sessionId] => 20151204072707 | ||
+ | [transactionDate] => 2015-12-04T15:54:00.647-03:00 | ||
+ | [urlRedirection] => https://tbk.orangepeople.cl//filtroUnificado/voucher.cgi | ||
+ | [VCI] => TSY | ||
+ | ) | ||
+ | [04-Dec-2015 19:30:46 UTC] [getTransactionResult] -> GENERANDO LA RESPUESTA EN XML | ||
+ | [04-Dec-2015 19:30:46 UTC] [getTransactionResult] -> VALIDANDO CONTRA CERTIFICADO | ||
+ | [04-Dec-2015 19:30:46 UTC] -> Servidor : 0 | ||
+ | [04-Dec-2015 19:30:46 UTC] -> SERVER CERT : 0 /var/www/wp-content/plugins/woocommerce-webpayplus-webservice/llaves/certificate_server.crt | ||
+ | [04-Dec-2015 19:30:46 UTC] [getTransactionResult] -> OBTENIENDO RESULTADO DE VALIDACION | ||
+ | [04-Dec-2015 19:30:46 UTC] [getTransactionResult] -> 1 | ||
+ | [04-Dec-2015 19:30:46 UTC] [getTransactionResult] -> Validación de certificados correcta, se procede... | ||
+ | [04-Dec-2015 19:30:46 UTC] -> INICIANDO acknowledgeTransaction | ||
+ | [04-Dec-2015 19:30:46 UTC] Array | ||
+ | ( | ||
+ | [token_ws] => ec8dc1ee11480f42c111f664fc0905410d16d2a8268767d1677743eeb3bd7b8e | ||
+ | ) | ||
+ | [04-Dec-2015 19:30:46 UTC] -> Servidor : 0 | ||
+ | [04-Dec-2015 19:30:46 UTC] [CW] -> CERTIFICACION : 0 https://webpay3g.orangepeople.cl/WSWebpayTransaction/cxf/WSWebpayService?wsdl | ||
+ | [04-Dec-2015 19:30:46 UTC] -> Generando Webservice con URL : https://webpay3g.orangepeople.cl/WSWebpayTransaction/cxf/WSWebpayService?wsdl | ||
+ | [04-Dec-2015 19:30:46 UTC] [CW] -> WebService Creado exitosamente | ||
+ | [04-Dec-2015 19:30:46 UTC] -> PRIVATE KEY /var/www/wp-content/plugins/woocommerce-webpayplus-webservice/llaves/597020000174.key | ||
+ | [04-Dec-2015 19:30:46 UTC] -> CERT KEY /var/www/wp-content/plugins/woocommerce-webpayplus-webservice/llaves/597020000174.crt | ||
+ | [04-Dec-2015 19:30:47 UTC] acknowledgeTransactionResponse Object | ||
+ | ( | ||
+ | ) | ||
+ | [04-Dec-2015 19:30:47 UTC] -> Servidor : 0 | ||
+ | [04-Dec-2015 19:30:47 UTC] -> SERVER CERT : 0 /var/www/wp-content/plugins/woocommerce-webpayplus-webservice/llaves/certificate_server.crt | ||
+ | [04-Dec-2015 19:30:47 UTC] -> 1 | ||
+ | [04-Dec-2015 19:30:47 UTC] -> FINALIZANDO acknowledgeTransaction | ||
+ | [04-Dec-2015 19:30:47 UTC] -> EL RESULTADO DE LA TRANSACCION ES TSY | ||
+ | [04-Dec-2015 19:30:47 UTC] -> RESPONSE CODE : 0 | ||
+ | [04-Dec-2015 19:30:47 UTC] -> Transacción Aprobada | ||
+ | [04-Dec-2015 19:30:47 UTC] -> idOrden : | ||
+ | [04-Dec-2015 19:30:47 UTC] -> 434 | ||
+ | [04-Dec-2015 19:30:47 UTC] -> TBK: | ||
+ | [04-Dec-2015 19:30:47 UTC] transactionResultOutput Object | ||
+ | ( | ||
+ | [accountingDate] => 1204 | ||
+ | [buyOrder] => 434 | ||
+ | [cardDetail] => cardDetail Object | ||
+ | ( | ||
+ | [cardNumber] => 6623 | ||
+ | [cardExpirationDate] => | ||
+ | ) | ||
+ | [detailOutput] => wsTransactionDetailOutput Object | ||
+ | ( | ||
+ | [authorizationCode] => 1213 | ||
+ | [paymentTypeCode] => VN | ||
+ | [responseCode] => 0 | ||
+ | [sharesNumber] => 0 | ||
+ | [amount] => 22990 | ||
+ | [commerceCode] => 597020000174 | ||
+ | [buyOrder] => 434 | ||
+ | ) | ||
+ | [sessionId] => 20151204072707 | ||
+ | [transactionDate] => 2015-12-04T15:54:00.647-03:00 | ||
+ | [urlRedirection] => https://tbk.orangepeople.cl//filtroUnificado/voucher.cgi | ||
+ | [VCI] => TSY | ||
+ | ) | ||
+ | [04-Dec-2015 19:30:47 UTC] -> FINALIZANDO GET TRANSACTION RESULT | ||