Plugin com erro ao gerar QRCode
-
Olá, instalei o plugin mas acredito que está com erro na versão que estou utilizando. Estou com a ultima versão do Woocommerce, E a última do WordPress. Configurei tudo na Dashboard do Pagar.me e no checkout da loja não imprime o erro, segue os logs:
2022-07-14T23:10:59+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to chillerlan\QRCode\QRCode::render() must be of the type string, null given, called in /home/site/public_html/wp-content/plugins/wc-pagarme-pix-payment/src/Pagarme/PagarmeApiV5.php on line 144 and defined in /home/site/public_html/wp-content/plugins/wc-pagarme-pix-payment/vendor/chillerlan/php-qrcode/src/QRCode.php:179 Stack trace: #0 /home/site/public_html/wp-content/plugins/wc-pagarme-pix-payment/src/Pagarme/PagarmeApiV5.php(144): chillerlan\QRCode\QRCode->render(NULL, '/home/slidessto...') #1 /home/site/public_html/wp-content/plugins/wc-pagarme-pix-payment/src/Gateway/PagarmePixGateway.php(829): WCPagarmePixPayment\Pagarme\PagarmeApiV5->process_regular_payment(8182) #2 /home/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(439): WCPagarmePixPayment\Gateway\PagarmePixGateway->process_payment(8182) #3 /home/site/public_html/wp-includes/class-wp-hook.php(307): WC_Form_Handler::pay_action(Object(W, em /home/site/public_html/wp-content/plugins/wc-pagarme-pix-payment/vendor/chillerlan/php-qrcode/src/QRCode.php, na linha 179Já nos logs do plugin recebo isso, porém já está habilitado o PIX na Dashboard, sabe se tem que entrar em contato com eles?
[last_transaction] => Array ( [expires_at] => 2022-07-29T20:10:59Z [id] => tran_MQ6LWG9UZZsYRLPJ [transaction_type] => pix [amount] => 17900 [status] => failed [success] => [created_at] => 2022-07-14T23:11:00Z [updated_at] => 2022-07-14T23:11:00Z [gateway_response] => Array ( [code] => 400 [errors] => Array ( [0] => Array ( [message] => action_forbidden | | Sem ambiente configurado para este tipo de transação. ) ) )
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Plugin com erro ao gerar QRCode’ is closed to new replies.