Me crea archivo MAC vacio

Issue #46 resolved
Former user created an issue

El archivo mac se crea pero vacío, luego cuando lo trata de checkear da error por no tener datos. Si a alguien le paso que me de una mano por favor. Muchas Gracias.

[05-Jul-2016 00:39:47 UTC] [XT_COMPRA] -> ORDEN EXISTENTE 570 [05-Jul-2016 00:39:47 UTC] [XT_COMPRA] -> ORDEN DE COMPRA NO PAGADA (pending). Se procede con el pago de la orden 570 [05-Jul-2016 00:39:47 UTC] [XT_COMPRA] -> INICIANDO GUARDADO EN ARCHIVO [05-Jul-2016 00:39:47 UTC] [XT_COMPRA] -> ARCHIVO CERRADO [05-Jul-2016 00:39:47 UTC] [XT_COMPRA] -> VERIFICANDO QUE LA ORDEN NO ESTÉ REPETIDA [05-Jul-2016 00:39:47 UTC] [XT_COMPRA] -> INICIANDO VALIDACION MAC [05-Jul-2016 00:39:47 UTC] [XT_COMPRA] -> FIN VALIDACION MAC [05-Jul-2016 00:39:51 UTC] ICONO -> http://pxfia.com/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/assets/images/logo.png [05-Jul-2016 00:39:51 UTC] [API] -> ENTRANDO HANDLER [05-Jul-2016 00:39:51 UTC] [API] -> ENTRANDO RESPONSE [05-Jul-2016 00:39:51 UTC] Array ( [TBK_ID_SESION] => 20160705123927 [TBK_ORDEN_COMPRA] => 570 )

[05-Jul-2016 00:39:51 UTC] [WEBPAY - RESPONSE] -> Entrando al Webpay Response [05-Jul-2016 00:39:51 UTC] Array ( [TBK_ID_SESION] => 20160705123927 [TBK_ORDEN_COMPRA] => 570 )

[05-Jul-2016 00:39:51 UTC] [WEBPAY - RESPONSE] -> VARIABLES EXISTENTES [05-Jul-2016 00:39:51 UTC] [WEBPAY - RESPONSE] -> ORDEN RESCATADA [05-Jul-2016 00:39:51 UTC] [WEBPAY - RESPONSE] -> STATUS failure [05-Jul-2016 00:39:51 UTC] [WEBPAY - RESPONSE] -> INICIANDO LA REVISION MAC PARA /home/pxfia/public_html/packingsorted/wp-content/uploads/webpay-comun/MAC01Normal20160705123927.txt [05-Jul-2016 00:39:51 UTC] [WEBPAY - RESPONSE] -> Archivo Existente, se inicia validacióm [05-Jul-2016 00:39:51 UTC] PHP Notice: Undefined offset: 1 in /home/pxfia/public_html/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/WC_Gateway_Webpayplus.php on line 515 [05-Jul-2016 00:39:51 UTC] PHP Notice: Undefined offset: 2 in /home/pxfia/public_html/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/WC_Gateway_Webpayplus.php on line 516 [05-Jul-2016 00:39:51 UTC] PHP Notice: Undefined offset: 3 in /home/pxfia/public_html/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/WC_Gateway_Webpayplus.php on line 517 [05-Jul-2016 00:39:51 UTC] PHP Notice: Undefined offset: 4 in /home/pxfia/public_html/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/WC_Gateway_Webpayplus.php on line 518 [05-Jul-2016 00:39:51 UTC] PHP Notice: Undefined offset: 5 in /home/pxfia/public_html/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/WC_Gateway_Webpayplus.php on line 519 [05-Jul-2016 00:39:51 UTC] PHP Notice: Undefined offset: 6 in /home/pxfia/public_html/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/WC_Gateway_Webpayplus.php on line 520 [05-Jul-2016 00:39:51 UTC] PHP Notice: Undefined offset: 7 in /home/pxfia/public_html/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/WC_Gateway_Webpayplus.php on line 521 [05-Jul-2016 00:39:51 UTC] PHP Notice: Undefined offset: 8 in /home/pxfia/public_html/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/WC_Gateway_Webpayplus.php on line 522 [05-Jul-2016 00:39:51 UTC] PHP Notice: Undefined offset: 10 in /home/pxfia/public_html/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/WC_Gateway_Webpayplus.php on line 523 [05-Jul-2016 00:39:51 UTC] PHP Notice: Undefined offset: 11 in /home/pxfia/public_html/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/WC_Gateway_Webpayplus.php on line 524 [05-Jul-2016 00:39:51 UTC] PHP Notice: Undefined offset: 12 in /home/pxfia/public_html/packingsorted/wp-content/plugins/webpay-woocommerce-plugin/classes/WC_Gateway_Webpayplus.php on line 525 [05-Jul-2016 00:39:51 UTC] Array ( [TBK_ORDEN_COMPRA] => Array ( [0] => )

[TBK_TIPO_TRANSACCION] => Array
    (
        [0] => 
    )

[TBK_RESPUESTA] => Array
    (
        [0] => 
    )

[TBK_MONTO] => Array
    (
        [0] => 
    )

[TBK_CODIGO_AUTORIZACION] => Array
    (
        [0] => 
    )

[TBK_FINAL_NUMERO_TARJETA] => Array
    (
        [0] => 
    )

[TBK_FECHA_CONTABLE] => Array
    (
        [0] => 
    )

[TBK_FECHA_TRANSACCION] => Array
    (
        [0] => 
    )

[TBK_HORA_TRANSACCION] => Array
    (
        [0] => 
    )

[TBK_ID_TRANSACCION] => Array
    (
        [0] => 
    )

[TBK_TIPO_PAGO] => Array
    (
        [0] => 
    )

[TBK_NUMERO_CUOTAS] => Array
    (
        [0] => 
    )

)

[05-Jul-2016 00:39:51 UTC] [WEBPAY - RESPONSE] -> FALLO EN EL PAGO DE LA ORDEN [05-Jul-2016 00:39:51 UTC] WPP_MAIL -> Agregando Información extra de la Orden al Email webpayplus [05-Jul-2016 00:39:51 UTC] [WEBPAY - RESPONSE] -> SALIENDO DEL RESPONSE [05-Jul-2016 00:39:51 UTC] [API] -> REDIRECCIONANDO

Comments (3)

  1. Victor Ramos Santander

    Hola, lo resolví agregando la instrucción reset($_POST); justo antes de grabar el archivo MAC, ahora funciona OK. Gracias Cristian por este tremendo aporte.

    Saludos.

  2. Log in to comment