Hola Jairo. No tengo buenas noticias. Hoy tuve pedidos que se completaron en woocommerce ok pero otros que permanecieron en estado “cancelado” a pesar de que fueron aprobados. Aparententemente el escenario no es siempre igual, y seguí viendo los errores 500. Te comparto un resumen de un escenario que se vio bien en woocommerce y otro que permaneció en cancelado. Ambos tuvieron errores 500.
1.- Se vió bien en woocommerce:
190.8.201.7 – – [31/Aug/2016:02:14:33 -0700] “GET /checkout/?key=wc_order_57c69ff93xxx&order-pay=2128 HTTP/1.1” 200 20169 “https://wxxxxco/checkout/” “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36”
198.61.156.98 – – [31/Aug/2016:02:20:49 -0700] “POST /gracias/?wc-api=WC_payulatam&order_id=2128& HTTP/1.1” 500 – “-” “POL Reporter v 4.0 [847910935] (https://www.pagosonline.com)”
198.61.156.98 – – [31/Aug/2016:02:21:06 -0700] “POST /gracias/?wc-api=WC_payulatam&order_id=2128& HTTP/1.1” 500 – “-” “POL Reporter v 4.0 [847910935] (https://www.pagosonline.com)”
198.61.156.98 – – [31/Aug/2016:02:21:17 -0700] “POST /gracias/?wc-api=WC_payulatam&order_id=2128& HTTP/1.1” 500 – “-” “POL Reporter v 4.0 [847910935] (https://www.pagosonline.com)”
198.61.156.98 – – [31/Aug/2016:02:21:37 -0700] “POST /gracias/?wc-api=WC_payulatam&order_id=2128& HTTP/1.1” 500 – “-” “POL Reporter v 4.0 [847910935] (https://www.pagosonline.com)”
190.8.201.7 – – [31/Aug/2016:02:21:42 -0700] “GET /gracias/?wc-api=WC_payulatam&order_id=2128&&merchantId=553xxx&merchant_name=Mxxxx&merchant_address=xxxx&telephone=xxxx&merchant_url=xxxx&transactionState=4&lapTransactionState=APPROVED&message=APPROVED&referenceCode=wc_order_57c69fxxxx&reference_pol=84xxxx&transactionId=88707ca5-5a3xxx5fa&description=Order+2128&trazabilityCode=35xxxx&cus=355xxxx&orderLanguage=es&extra1=&extra2=&extra3=&polTransactionState=4&signature=005edxxxxxxxc9&polResponseCode=1&lapResponseCode=APPROVED&risk=.00&polPaymentMethod=10&lapPaymentMethod=VISA&polPaymentMethodType=2&lapPaymentMethodType=CREDIT_CARD&installmentsNumber=2&TX_VALUE=xxxx&TX_TAX=.00¤cy=COP&lng=es&pseCycle=&buyerEmail=txxxxom&pseBank=&pseReference1=&pseReference2=&pseReference3=&authorizationCode=04xxxx38&processingDate=2016-08-31 HTTP/1.1” 302 – “https://checkout.payulatam.com/ppp-web-gateway-payu/app/v2?k=15235exxxdc0” “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36”
198.61.156.98 – – [31/Aug/2016:02:22:25 -0700] “POST /gracias/?wc-api=WC_payulatam&order_id=2128& HTTP/1.1” 500 – “-” “POL Reporter v 4.0 [847910935] (https://www.pagosonline.com)”
198.61.156.98 – – [31/Aug/2016:02:23:31 -0700] “POST /gracias/?wc-api=WC_payulatam&order_id=2128& HTTP/1.1” 500 – “-” “POL Reporter v 4.0 [847910935] (https://www.pagosonline.com)”
198.61.15
2.- Permaneció en Cancelado en WOOCOMMERCE.
190.9.193.120 – – [31/Aug/2016:12:39:46 -0700] “GET /checkout/?key=wc_order_57xxxxc&order-pay=2135 HTTP/1.1” 200 20770 “https://wxxxxt/checkout” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36”
190.9.193.120 – – [31/Aug/2016:12:39:50 -0700] “GET /wp-admin/admin-ajax.php?action=pum_analytics&_cache=14xxxx723&pid=697&type=open HTTP/1.1” 204 – “https://wxxxx/checkout/?key=wc_order_57cxxxxec&order-pay=2135” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36”
198.61.156.98 – – [31/Aug/2016:13:50:55 -0700] “POST /gracias/?wc-api=WC_payulatam&order_id=2135& HTTP/1.1” 500 – “-” “POL Reporter v 4.0 [847976595] (https://www.pagosonline.com)”
198.61.156.98 – – [31/Aug/2016:13:51:01 -0700] “POST /gracias/?wc-api=WC_payulatam&order_id=2135& HTTP/1.1” 500 – “-” “POL Reporter v 4.0 [847976595] (https://www.pagosonline.com)”
198.61.156.98 – – [31/Aug/2016:13:51:10 -0700] “POST /gracias/?wc-api=WC_payulatam&order_id=2135& HTTP/1.1” 500 – “-” “POL Reporter v 4.0 [847976595] (https://www.pagosonline.com)”
Los mensajes de error siguen siendo los mismos.
[31-Aug-2016 20:50:56 UTC] PHP Fatal error: Call to a member function add() on a non-object in /wp-content/plugins/woocommerce-payu-latam-gateway/woocommerce-gateway-payulatam.php on line 528
[31-Aug-2016 20:51:02 UTC] PHP Fatal error: Call to a member function add() on a non-object in /wp-content/plugins/woocommerce-payu-latam-gateway/woocommerce-gateway-payulatam.php on line 528
[31-Aug-2016 20:51:11 UTC] PHP Fatal error: Call to a member function add() on a non-object in /wp-content/plugins/woocommerce-payu-latam-gateway/woocommerce-gateway-payulatam.php on line 528
[31-Aug-2016 20:51:29 UTC] PHP Fatal error: Call to a member function add() on a non-object in /wp-content/plugins/woocommerce-payu-latam-gateway/woocommerce-gateway-payulatam.php on line 528
Por ahora voy a regresar a 1.2.1 para ver si en tráfico en vivo opera correctamente. Ojalá esta info sea útil.