• Resolved devapp4you

    (@devapp4you)


    Olá,

    estou tentando usar a api v3 para alterar o status de um pedido, e retorna o seguinte erro ( nao deixei o caminho completo por segurança mas o log esta completo ).

    Se uso a V1 da api funciona, mas preciso usar a V3.
    https://woocommerce.github.io/woocommerce-rest-api-docs/?shell#update-an-order

    Obrigado

    [17-Sep-2020 11:48:21 UTC] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /home/dominio…/wp-content/plugins/woo-payment-on-delivery/woo-payment-on-delivery.php:397
    Stack trace:
    #0 /home/app4you/domains/modelo-delivery.app4you.app.br/public_html/wp-includes/class-wp-hook.php(287): add_woo_payment_on_delivery_gateway_class()
    #1 /home/app4you/domains/modelo-delivery.app4you.app.br/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters()
    #2 /home/app4you/domains/modelo-delivery.app4you.app.br/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(85): apply_filters()
    #3 /home/app4you/domains/modelo-delivery.app4you.app.br/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(70): WC_Payment_Gateways->init()
    #4 /home/app4you/domains/modelo-delivery.app4you.app.br/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(43): WC_Payment_Gateways->__construct()
    #5 /home/app4you/domains/modelo-de in /home/app4you/domains/modelo-delivery.app4you.app.br/public_html/wp-content/plugins/woo-payment-on-delivery/woo-payment-on-delivery.php on line 397

Viewing 2 replies - 16 through 17 (of 17 total)
Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘API V3 Woocommerce Erro’ is closed to new replies.