casareumbarato
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce iugu] “Internal server error” no cart?o e boletoOlá robertoch,
você conseguiu resolver?
Obrigada!
Forum: Plugins
In reply to: [WooCommerce iugu] Internal server – Unexpected token < in JSON at position 0Olá Anderson, essa foi a mensagem exibida na tela de checkout quando defini o wp_debug para “true”.
Olhando os logs via woocommerce > iugu, encontrei o seguinte:
[ em fatal errors ]
2018-06-19T11:22:24-03:00 CRITICAL Uncaught Error: Cannot use object of type WP_Error as array in /var/www/vhosts/casareumbarato.com.br/httpdocs/wp-content/plugins/iugu-woocommerce/includes/class-wc-iugu-api.php:579
Stack trace:
#0 /var/www/vhosts/casareumbarato.com.br/httpdocs/wp-content/plugins/iugu-woocommerce/includes/class-wc-iugu-api.php(657): WC_Iugu_API->create_invoice(Object(WC_Order))
#1 /var/www/vhosts/casareumbarato.com.br/httpdocs/wp-content/plugins/iugu-woocommerce/includes/class-wc-iugu-api.php(714): WC_Iugu_API->get_charge_data(Object(WC_Order), Array)
#2 /var/www/vhosts/casareumbarato.com.br/httpdocs/wp-content/plugins/iugu-woocommerce/includes/class-wc-iugu-api.php(877): WC_Iugu_API->create_charge(Object(WC_Order), Array)
#3 /var/www/vhosts/casareumbarato.com.br/httpdocs/wp-content/plugins/iugu-woocommerce/includes/class-wc-iugu-bank-slip-gateway.php(215): WC_Iugu_API->process_payment(55033)
#4 /var/www/vhosts/casareumbarato.com.br/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(804): WC_Iugu_Bank_Slip_[ em Iugu bank slip]
06-19-2018 @ 11:22:23 – Doing charge for order 55033…
06-19-2018 @ 11:22:23 – Creating an invoice on iugu for order 55033 with the following data: Array
(
[email] => [email protected]
[due_date] => 20-06-2018
[return_url] => https://www.casareumbarato.com.br/checkout/order-received/55033?key=wc_order_5b293bcea96bc
[expired_url] => https://www.casareumbarato.com.br/cart/?cancel_order=true&order=wc_order_5b293bcea96bc&order_id=55033&redirect&_wpnonce=5eee354a62
[notification_url] => https://www.casareumbarato.com.br/wc-api/WC_Iugu_Bank_Slip_Gateway/
[ignore_due_email] => 1
[payable_with] => bank_slip
[custom_variables] => Array
(
[0] => Array
(
[name] => order_id
[value] => 55033
))
[payer] => Array
(
[name] => Marianateste teste
[phone_prefix] => 21
[phone] => 912345678
[email] => [email protected]
[address] => Array
(
[street] => Rua rua rua
[number] => Bairro
[city] => Rio de Janeiro
[state] => RJ
[country] => Brasil
[zip_code] => 22222222
)[cpf_cnpj] => 08373997266
)[items] => Array
(
[0] => Array
(
[description] => II Workshop “Introdu??o ao Blog Profissional” – Manh?
[price_cents] => 33000
[quantity] => 1
))
)
Muito obrigada!
- This reply was modified 6 years, 5 months ago by casareumbarato.
Forum: Plugins
In reply to: [WooCommerce iugu] Erro no Boleto: Internal server errorOi Anderson. mil desculpas. localizei uma fun??o do tema que estava com um bug. corrigi e resolveu. Muito obrigada pela aten??o!
Forum: Plugins
In reply to: [WooCommerce iugu] Erro no Boleto: Internal server errorOi Anderson, ocorreu em todas as tentativas até o momento…
Acho que fiz corretamente o passo a passo do log, segue aqui: https://pastebin.com/QxqZqZbb
Obrigada!