Replies: 0
Since recent plugin and wordpress updates the payment process during checkout is throwing an uncaught exception error in the log and we are now receiving failed, canceled and duplicate orders in our woocommerce store. Our CardConnect/Cardpointe reps told us to submit a ticket. See log error below:
022/02/08 11:45:57 [error] 32988#32988: *510918 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "woo_type" in /www/REDACTED/public/wp-content/plugins/cardconnect-payment-module/includes/CardConnectRestClient.php on line 152PHP message: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, cannot access private method CardConnectPaymentGateway::reset_user_session() in /www/REDACTED/public/wp-includes/class-wp-hook.php:307
Stack trace:
#0 /www/REDACTED/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#1 /www/REDACTED/public/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#2 /www/REDACTED/public/wp-content/plugins/woocommerce/includes/class-wc-order.php(122): do_action('woocommerce_pay...', 12115)
#3 /www/REDACTED/public/wp-content/plugins/cardconnect-payment-module/classes/class-wc-gateway-cardconnect.php(1282): WC_Order->payment_complete(REDACTED)
#4 /www/REDACTED/public/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(980): CardConnectPaymentGateway->process_payment(12115)
#5 /www/REDACTED/public/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1195)" while reading response header from upstream, client: REDACTED, server: REDACTED, request: "POST /?wc-ajax=checkout HTTP/1.1", upstream: "fastcgi://unix:/var/run/php8.0-fpm-REDACTED.sock:", host: "REDACTED", referrer: "https://REDACTED/checkout/"