Errors when generating order
-
2024/05/06 10:13:09 [error] 1277#1277: *1085746 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined property: stdClass::$code in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Controller/Webhooks.php on line 32PHP message: PHP Warning: Undefined property: stdClass::$order in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Controller/Webhooks.php on line 32PHP message: PHP Warning: Attempt to read property "metadata" on null in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Controller/Webhooks.php on line 32" while reading response header from upstream, client: 52.186.34.84, server: floriculturafilippi.com.br, request: "POST /wc-api/pagarme-webhook/ HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "floriculturafilippi.com.br" 2024/05/06 10:13:11 [error] 1278#1278: *1085748 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined property: stdClass::$order in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Controller/Webhooks.php on line 32PHP message: PHP Warning: Attempt to read property "metadata" on null in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Controller/Webhooks.php on line 32" while reading response header from upstream, client: 52.186.34.84, server: floriculturafilippi.com.br, request: "POST /wc-api/pagarme-webhook/ HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "floriculturafilippi.com.br" 2024/05/06 10:13:18 [error] 1277#1277: *1085744 FastCGI sent in stderr: "PHP message: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Concrete/WoocommercePlatformOrderDecorator.php on line 68PHP message: The woocommerce_date_format function is deprecated since version 3.0. Replace with wc_date_format.PHP message: order_date was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_checkout'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, Woocommerce\Pagarme\Controller\Gateways\AbstractGateway->process_payment, Woocommerce\Pagarme\Model\Checkout->process, Woocommerce\Pagarme\Controller\Orders->create_order, Pagarme\Core\Kernel\Services\OrderService->createOrderAtPagarme, Pagarme\Core\Payment\Services\ResponseHandlers\OrderHandler->handle, Pagarme\Core\Payment\Services\ResponseHandlers\OrderHandler->handleOrderStatusPaid, Pagarme\Core\Payment\Services\ResponseHandlers\OrderHandler->completePayment, Pagarme\Core\Kernel\Services\OrderService->syncPlatformWith, Woocommerce\Pagarme\Concrete\Woocomm...PHP message: The woocommerce_get_template function is deprecated since version 3.0. Replace with wc_get_template.PHP message: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Concrete/WoocommercePlatformOrderDecorator.php on line 68PHP message: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-wooc 2024/05/06 10:13:27 [error] 1278#1278: *1085748 FastCGI sent in stderr: "PHP message: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Concrete/WoocommercePlatformOrderDecorator.php on line 68" while reading response header from upstream, client: 52.186.34.84, server: floriculturafilippi.com.br, request: "POST /wc-api/pagarme-webhook/ HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "floriculturafilippi.com.br"
TENTATIVA 2
2024/05/06 10:35:41 [error] 1278#1278: *1088050 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "" in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Model/Payment/Card.php on line 106PHP message: PHP Warning: Undefined array key "" in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Model/Payment/Card.php on line 107PHP message: PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Helper/Utils.php on line 600PHP message: PHP Warning: Undefined array key "" in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Model/Payment/Card.php on line 108PHP message: PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Helper/Utils.php on line 600PHP message: PHP Warning: Undefined array key "" in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Model/Payment/Card.php on line 109PHP message: PHP Warning: Undefined variable $paymentOrder in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/vendor/pagarme/ecommerce-module-core/src/Kernel/Services/OrderService.php on line 325PHP message: Exception: Order #84800 : Call to undefined method Pagarme\Core\Kernel\ValueObjects\CardBrand::() in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/vendor/pagarme/ecommerce-module-core/src/Kernel/Services/OrderService.php:334 Stack trace: Link Stack trace: 2024-05-06T10:35:41.853-03:00 #0 /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Controller/Orders.php(64): Pagarme\Core\Kernel\Services\OrderService->createOrderAtPa Link #0 /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Controller/Orders.php(64): Pagarme\Core\Kernel\Services\OrderService->createOrderAtPa 2024-05-06T10:35:43.858-03:00 2024/05/06 10:35:43 [error] 1278#1278: *1088117 FastCGI sent in stderr: "PHP message: PHP Notice: A fun??o wpdb::prepare foi chamada incorretamente. Tipo de valor n?o suportado (array). Leia como <a>Depurar o WordPress</a> para mais informa??es. (Esta mensagem foi adicionada na vers?o 4.8.2.) in /srv/www/htdocs/floriculturafilippi.com.br/wp-includes/functions.php on line 6078PHP message: PHP Notice: A fun??o wpdb::prepare foi chamada incorretamente. Tipo de valor n?o suportado (array). Leia como <a>Depurar o WordPress</a> para mais informa??es. (Esta mensagem foi adicionada na vers?o 4.8.2.) in /srv/www/htdocs/floriculturafilippi.com.br/wp-includes/functions.php on line 6078PHP message: PHP Notice: A fun??o wpdb::prepare foi chamada incorretamente. Tipo de valor n?o suportado (array). Leia como <a>Depurar o WordPress</a> para mais informa??es. (Esta mensagem foi adicionada na vers?o 4.8.2.) in /srv/www/htdocs/floriculturafilippi.com.br/wp-includes/functions.php on line 6078" while reading response header from upstream, client: 2a09:bac3:b3c:1c8c::2d8:2f, server: floriculturafilippi.com.br, request: "GET /checkout/pedido-recebido/84800/?key=wc_order_J9HbMT6Su1VFV HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "floriculturafilippi.com.br", referrer: "https://floriculturafilippi.com.br/checkout/" Link 2024/05/06 10:35:43 [error] 1278#1278: *1088117 FastCGI sent in stderr: "PHP message: PHP Notice: A fun??o wpdb::prepare foi chamada incorretamente. Tipo de valor n?o suportado (array). Leia como <a>Depurar o WordPress</a> para mais informa??es. (Esta mensagem foi adicionada na vers?o 4.8.2.) in /srv/www/htdocs/floriculturafilippi.com.br/wp-includes/functions.php on line 6078PHP message: PHP Notice: A fun??o wpdb::prepare foi chamada incorretamente. Tipo de valor n?o suportado (array). Leia como <a>Depurar o WordPress</a> para mais informa??es. (Esta mensagem foi adicionada na vers?o 4.8.2.) in /srv/www/htdocs/floriculturafilippi.com.br/wp-includes/functions.php on line 6078PHP message: PHP Notice: A fun??o wpdb::prepare foi chamada incorretamente. Tipo de valor n?o suportado (array). Leia como <a>Depurar o WordPress</a> para mais informa??es. (Esta mensagem foi adicionada na vers?o 4.8.2.) in /srv/www/htdocs/floriculturafilippi.com.br/wp-includes/functions.php on line 6078" while reading response header from upstream, client: 2a09:bac3:b3c:1c8c::2d8:2f, server: floriculturafilippi.com.br, request: "GET /checkout/pedido-recebido/84800/?key=wc_order_J9HbMT6Su1VFV HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "floriculturafilippi.com.br", referrer: "https://floriculturafilippi.com.br/checkout/"
TENTATIVA 3 – pedido foi gerado incompleto, pois houve um erro critico, alguns dados foram perdidos (que haviam sidos planejados), coloquei um cartao falso e deu esse erro.
2024/05/06 10:50:14 [error] 1278#1278: *1089364 FastCGI sent in stderr: "PHP message: Exception: Order #84804 : Can't create payment. Please review the information and try again. in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/vendor/pagarme/ecommerce-module-core/src/Kernel/Services/OrderService.php:334 2024-05-06T10:50:15.604-03:00 Stack trace: #0 /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Controller/Orders.php(64): Pagarme\Core\Kernel\Services\OrderService->createOrderAtPagarme(Object(Woocommerce\Pagarme\Concrete\WoocommercePlatformOrderDecorator)) #1 /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Model/Checkout.php(124): Woocommerce\Pagarme\Controller\Orders->create_order(Object(WC_Order), 'credit_card', Array) #2 /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Controller/Gateways/AbstractGateway.php(181): Woocommerce\Pagarme\Model\Checkout->process(Object(WC_Order)) #3 /srv/www/htdocs/flor" while reading response header from upstream, client: 2a09:bac3:b3f:3cd::61:250, server: floriculturafilippi.com.br, request: "POST /?wc-ajax=checkout HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "floriculturafilippi.com.br", referrer: "https://floriculturafilippi.com.br/checkout/
TENTATIVA 4
2024/05/06 10:55:05 [error] 1278#1278: *1090051 FastCGI sent in stderr: "PHP message: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Concrete/WoocommercePlatformOrderDecorator.php on line 68PHP message: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Concrete/WoocommercePlatformOrderDecorator.php on line 68PHP message: PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /srv/www/htdocs/floriculturafilippi.com.br/wp-content/plugins/pagarme-payments-for-woocommerce/src/Concrete/WoocommercePlatformOrderDecorator.php on line 68" while reading response header from upstream, client: 2a09:bac2:b3d:1c8c::2d8:7b, server: floriculturafilippi.com.br, request: "POST /?wc-ajax=checkout HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "floriculturafilippi.com.br", referrer: "https://floriculturafilippi.com.br/checkout/"
Estou investigando problemas na Pagar.me pois tenho muitos clientes reclamando que ao clicar no bot?o de finalizar o pedido o mesmo n?o finaliza fica rodando e n?o é gerado e nem cobrado.
No meu checkout n?o há nenhum problema, erro critico ou algo do tipo que fa?a com isso esteja acontecendo, já realizei varios testes e quase todos os dias tenho reclama??es como demora ao finalizar, o site como todo é rápido, esta na AWS, com instancias separadas para o banco de dados e cache.
Fazendo a investiga??es encontrei esses erros sendo gerados.
- The topic ‘Errors when generating order’ is closed to new replies.