Check Out Page – Fatal error: Uncaught TypeError

[ad_1]

This error is generated on the checkout page. When I select the payment method on checkout, it does not show the CC input form.

[22-Aug-2023 15:42:10 UTC] PHP Notice: Undefined property: stdClass::$nonce in /home/customer/www/XXX/public_html/wp-content/plugins/godaddy-payments/src/API/GatewayAPI.php on line 405
[22-Aug-2023 15:42:10 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to GoDaddy\WooCommerce\Poynt\API\Cards\TokenizeRequest::__construct() must be of the type string, null given, called in /home/customer/www/XXX/public_html/wp-content/plugins/godaddy-payments/src/API/GatewayAPI.php on line 405 and defined in /home/customer/www/XXX/public_html/wp-content/plugins/godaddy-payments/src/API/Cards/TokenizeRequest.php:31
Stack trace: 0 /home/customer/www/XXX/public_html/wp-content/plugins/godaddy-payments/src/API/GatewayAPI.php(405): GoDaddy\WooCommerce\Poynt\API\Cards\TokenizeRequest->__construct(‘4abdefa4-99e2-4…’, NULL) 1 /home/customer/www/XXX/public_html/wp-content/plugins/godaddy-payments/src/Gateways/CreditCardGateway.php(869): GoDaddy\WooCommerce\Poynt\API\GatewayAPI->tokenize_payment_method(Object(Automattic\WooCommerce\Admin\Overrides\Order)) 2 /home/customer/www/XXX/public_html/wp-content/plugins/godaddy-payments/vend in /home/customer/www/XXX/public_html/wp-content/plugins/godaddy-payments/src/API/Cards/TokenizeRequest.php on line 31

Found that it was a compatibility issue with the plugin “Meta pixel for WordPress” it created a JS error on the checkout page which caused this plugin to not work properly.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer