jonas1622
Forum Replies Created
-
Olá, finalmente consegui arrumar. Este último método que informou foi o que funcionou aqui. Este de alterar o status na configuração de pedidos PIX.
Agora sim está 100%.
Muito obrigado. Vocês são nota mil.Perfeito.
Segue o print da compra em branco:https://harrudajoias.com.br/wp-content/uploads/2021/09/Print-Compra.jpg
Segue o print da aba console om a compra:
https://harrudajoias.com.br/wp-content/uploads/2021/09/Print-Console.jpg”
Segue print do pedido realizado:
https://harrudajoias.com.br/wp-content/uploads/2021/09/Print-Pedido-1.jpg
Segue abaixo o link do produto teste de R$1. Deixei a opção Retirar no Local habilitada no lugar de frete grátis:
https://harrudajoias.com.br/produto/produto-pix/
Desde já obrigado e fico no aguardo de uma possivel solução.
- This reply was modified 4 years, 8 months ago by jonas1622.
Olá, verifiquei aqui e está igualzinho o arquivo original do Woocommerce mas mesmo assim não aparece. Eu ja imaginava que não fosse isso pois eu não alterei nada. Apenas atualizei o Plugin. E da mesma forma quando tento utilizar outro plugin de PIX que age da mesma forma ele efetua com sucesso. Mas gostaria mesmo de usar o plugin de vocês.
Segue como está o arquivo em meu diretorio:
<?php /** * Checkout Order Receipt Template * * This template can be overridden by copying it to yourtheme/woocommerce/checkout/order-receipt.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * * @see https://docs.woocommerce.com/document/template-structure/ * @package WooCommerce\Templates * @version 3.2.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <ul class="order_details"> <li class="order"> <?php esc_html_e( 'Order number:', 'woocommerce' ); ?> <strong><?php echo esc_html( $order->get_order_number() ); ?></strong> </li> <li class="date"> <?php esc_html_e( 'Date:', 'woocommerce' ); ?> <strong><?php echo esc_html( wc_format_datetime( $order->get_date_created() ) ); ?></strong> </li> <li class="total"> <?php esc_html_e( 'Total:', 'woocommerce' ); ?> <strong><?php echo wp_kses_post( $order->get_formatted_order_total() ); ?></strong> </li> <?php if ( $order->get_payment_method_title() ) : ?> <li class="method"> <?php esc_html_e( 'Payment method:', 'woocommerce' ); ?> <strong><?php echo wp_kses_post( $order->get_payment_method_title() ); ?></strong> </li> <?php endif; ?> </ul> <?php do_action( 'woocommerce_receipt_' . $order->get_payment_method(), $order->get_id() ); ?> <div class="clear"></div>Teria alguma outra solução?
Isso mesmo, o pagamento aparece como pendente em PEDIDOS.
Fiz o que mencionou de ir na pagina minha conta e clicar em pagar o PIX e a template aparece sim.
Por fim não consta nenhum Fatal Error no log do woocommerce. Constou apenas um erro webhook Delivery que vou mandar abaixo:
2021-09-23T12:38:53+00:00 INFO Array ( [Webhook Delivery] => Array ( [Delivery ID] => b879e115402d17a16d8291a381a543c4 [Date] => 23 de setembro de 2021 @ 12:38 [URL] => https://woo-hook-pro.dsers.com/hook/woo/order/created/c4ie056he7jg00c2e27g [Duration] => 0.74615 [Request] => Array ( [Method] => POST [Headers] => Array ( [User-Agent] => WooCommerce/5.7.0 Hookshot (WordPress/5.8.1) [Content-Type] => application/json [X-WC-Webhook-Source] => https://harrudajoias.com.br/ [X-WC-Webhook-Topic] => order.created [X-WC-Webhook-Resource] => order [X-WC-Webhook-Event] => created [X-WC-Webhook-Signature] => DR0l4p4Qr/bjXJa6fTgPzmDSnTcHBriZ9GqaNsFAQSw= [X-WC-Webhook-ID] => 1 [X-WC-Webhook-Delivery-ID] => b879e115402d17a16d8291a381a543c4 ) ) [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs. [Response] => Array ( [Code] => 200 [Message] => OK [Headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [server] => Tengine [content-type] => application/octet-stream [content-length] => 0 [date] => Thu, 23 Sep 2021 12:38:53 GMT [via] => cache16.l2cm9-7[71,0], cache36.l2ot7-1[237,0], cache3.us10[238,0] [timing-allow-origin] => * [eagleid] => 2ff6179716324007328616675e ) ) [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs. ) ) ) 2021-09-23T12:38:53+00:00 INFO Array ( [Webhook Delivery] => Array ( [Delivery ID] => c6e1075f5f924abd211f0c048dbad76c [Date] => 23 de setembro de 2021 @ 12:38 [URL] => https://woo-hook-pro.dsers.com/hook/woo/order/updated/c4ie056he7jg00c2e27g [Duration] => 0.69028 [Request] => Array ( [Method] => POST [Headers] => Array ( [User-Agent] => WooCommerce/5.7.0 Hookshot (WordPress/5.8.1) [Content-Type] => application/json [X-WC-Webhook-Source] => https://harrudajoias.com.br/ [X-WC-Webhook-Topic] => order.updated [X-WC-Webhook-Resource] => order [X-WC-Webhook-Event] => updated [X-WC-Webhook-Signature] => XADPeEuZsF/dSlCbcshN6QQWKYA7F3BR/3jdCTBwHHA= [X-WC-Webhook-ID] => 2 [X-WC-Webhook-Delivery-ID] => c6e1075f5f924abd211f0c048dbad76c ) ) [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs. [Response] => Array ( [Code] => 200 [Message] => OK [Headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [server] => Tengine [content-type] => application/octet-stream [content-length] => 0 [date] => Thu, 23 Sep 2021 12:38:53 GMT [via] => cache5.l2cm9-7[83,0], cache3.l2ot7-1[473,0], cache10.us10[474,0] [timing-allow-origin] => * [eagleid] => 2ff6179e16324007333228071e ) ) [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs. ) ) ) 2021-09-23T13:00:06+00:00 INFO Array ( [Webhook Delivery] => Array ( [Delivery ID] => a71a74e200e0fc274e63b893ddae9bf5 [Date] => 23 de setembro de 2021 @ 13:00 [URL] => https://woo-hook-pro.dsers.com/hook/woo/product/deleted/c4ie056he7jg00c2e27g [Duration] => 0.97894 [Request] => Array ( [Method] => POST [Headers] => Array ( [User-Agent] => WooCommerce/5.7.0 Hookshot (WordPress/5.8.1) [Content-Type] => application/json [X-WC-Webhook-Source] => https://harrudajoias.com.br/ [X-WC-Webhook-Topic] => product.deleted [X-WC-Webhook-Resource] => product [X-WC-Webhook-Event] => deleted [X-WC-Webhook-Signature] => 4Grlr79lq6YHxQclCxrq4ZDQxQ0Ns+oTt5rCSdvx8B4= [X-WC-Webhook-ID] => 5 [X-WC-Webhook-Delivery-ID] => a71a74e200e0fc274e63b893ddae9bf5 ) ) [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs. [Response] => Array ( [Code] => 200 [Message] => OK [Headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [server] => Tengine [content-type] => application/octet-stream [content-length] => 0 [date] => Thu, 23 Sep 2021 13:00:06 GMT [via] => cache24.l2cm10-9[152,0], cache4.us11[353,0] [timing-allow-origin] => * [eagleid] => 0830559816324020059034751e ) ) [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs. ) ) ) 2021-09-23T13:48:32+00:00 INFO Array ( [Webhook Delivery] => Array ( [Delivery ID] => 503e676b3f8fc7c0eca3f19075300580 [Date] => 23 de setembro de 2021 @ 13:48 [URL] => https://woo-hook-pro.dsers.com/hook/woo/order/created/c4ie056he7jg00c2e27g [Duration] => 0.76605 [Request] => Array ( [Method] => POST [Headers] => Array ( [User-Agent] => WooCommerce/5.7.0 Hookshot (WordPress/5.8.1) [Content-Type] => application/json [X-WC-Webhook-Source] => https://harrudajoias.com.br/ [X-WC-Webhook-Topic] => order.created [X-WC-Webhook-Resource] => order [X-WC-Webhook-Event] => created [X-WC-Webhook-Signature] => 7PPSZU4NPI1V0ILxCHQpP/wChfeTHpfstdrK5Bx4xk4= [X-WC-Webhook-ID] => 1 [X-WC-Webhook-Delivery-ID] => 503e676b3f8fc7c0eca3f19075300580 ) ) [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs. [Response] => Array ( [Code] => 200 [Message] => OK [Headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [server] => Tengine [content-type] => application/octet-stream [content-length] => 0 [date] => Thu, 23 Sep 2021 13:48:32 GMT [via] => cache32.l2et2[139,0], cache4.us11[367,0] [timing-allow-origin] => * [eagleid] => 0830559816324049121547289e ) ) [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs. ) ) ) 2021-09-23T13:48:32+00:00 INFO Array ( [Webhook Delivery] => Array ( [Delivery ID] => d7f0996bc286d03564f562ec15f55fc2 [Date] => 23 de setembro de 2021 @ 13:48 [URL] => https://woo-hook-pro.dsers.com/hook/woo/order/updated/c4ie056he7jg00c2e27g [Duration] => 0.45018 [Request] => Array ( [Method] => POST [Headers] => Array ( [User-Agent] => WooCommerce/5.7.0 Hookshot (WordPress/5.8.1) [Content-Type] => application/json [X-WC-Webhook-Source] => https://harrudajoias.com.br/ [X-WC-Webhook-Topic] => order.updated [X-WC-Webhook-Resource] => order [X-WC-Webhook-Event] => updated [X-WC-Webhook-Signature] => XLzuiwUF+mdM1ebkuPv1edjn/CxGFgAmQigvaKvyik8= [X-WC-Webhook-ID] => 2 [X-WC-Webhook-Delivery-ID] => d7f0996bc286d03564f562ec15f55fc2 ) ) [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs. [Response] => Array ( [Code] => 200 [Message] => OK [Headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [server] => Tengine [content-type] => application/octet-stream [content-length] => 0 [date] => Thu, 23 Sep 2021 13:48:32 GMT [via] => cache3.l2et2[116,0], cache8.us11[305,0] [timing-allow-origin] => * [eagleid] => 0830559c16324049126742731e ) ) [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs. ) ) )ativei o DEBUG e essa foi a resposta completa:
[2021-09-22T21:23:19.313615+00:00] wc-piggly-pix.DEBUG: Insert to database {"source":"wc-piggly-pix","txid":"HYINHLIIVWQJQUEQ60FIN7IC6","e2eid":null,"store_name":"H Arruda","merchant_name":"Graziele Cristine N Brito","merchant_city":"Sao Paulo","key":"[email protected]","key_type":"email","description":"Compra em H Arruda","bank":260,"oid":6351,"type":"static","status":"created","brcode":"00020101021126630014br.gov.bcb.pix0119jonas1622@gmail.com0218COMPRA EM H ARRUDA52040000530398654071314.995802BR5925GRAZIELE CRISTINE N BRITO6009SAO PAULO62290525HYINHLIIVWQJQUEQ60FIN7IC663040683","qrcode":"{\"url\":\"https:\\/\\/harrudajoias.com.br\\/wp-content\\/uploads\\/pix-por-piggly\\/qr-codes\\/b1c22d02455d8035a3383fe8361e9938.png\",\"path\":\"\\/home1\\/harrud04\\/harrudajoias.com.br\\/wp-content\\/uploads\\/pix-por-piggly\\/qr-codes\\/b1c22d02455d8035a3383fe8361e9938.png\"}","receipt":"[]","metadata":"[]","discount":0,"amount":1314.990000000000009094947017729282379150390625,"expires_at":"2021-09-23 18:23:19","updated_at":"2021-09-23 18:23:19"} [] [2021-09-22T21:23:19.318739+00:00] wc-piggly-pix.DEBUG: Update to database {"source":"wc-piggly-pix","txid":"HYINHLIIVWQJQUEQ60FIN7IC6","e2eid":null,"store_name":"H Arruda","merchant_name":"Graziele Cristine N Brito","merchant_city":"Sao Paulo","key":"[email protected]","key_type":"email","description":"Compra em H Arruda","bank":260,"oid":6351,"type":"static","status":"created","brcode":"00020101021126630014br.gov.bcb.pix0119jonas1622@gmail.com0218COMPRA EM H ARRUDA52040000530398654071314.995802BR5925GRAZIELE CRISTINE N BRITO6009SAO PAULO62290525HYINHLIIVWQJQUEQ60FIN7IC663040683","qrcode":"{\"url\":\"https:\\/\\/harrudajoias.com.br\\/wp-content\\/uploads\\/pix-por-piggly\\/qr-codes\\/b1c22d02455d8035a3383fe8361e9938.png\",\"path\":\"\\/home1\\/harrud04\\/harrudajoias.com.br\\/wp-content\\/uploads\\/pix-por-piggly\\/qr-codes\\/b1c22d02455d8035a3383fe8361e9938.png\"}","receipt":"[]","metadata":"[]","discount":0,"amount":1314.990000000000009094947017729282379150390625,"expires_at":"2021-09-23 18:23:19","updated_at":"2021-09-23 18:23:19"} [] [2021-09-22T21:23:19.355828+00:00] wc-piggly-pix.DEBUG: Disparo de e-mail wc_piggly_pix_admin_created para [email protected] {"source":"wc-piggly-pix"} [] [2021-09-22T21:23:20.227613+00:00] wc-piggly-pix.DEBUG: Disparo de e-mail wc_piggly_pix_to_pay para [email protected] {"source":"wc-piggly-pix"} []