I am unable to place orders using a credit card, however if I choose the Paypal option, the order will go through. After looking in the WooCommerce logs I am receiving the following error:
2021-12-01T00:08:43+00:00 CRITICAL Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in D:\websites\Blue Collar WordPress\wp-content\plugins\woo-paypal-gateway\includes\gateways\paypal-pro\class-woo-paypal-gateway-paypal-pro-api-handler.php on line 432
I have updated to wordpress version 5.8.2, WooCommerce 5.9.0, WooCommerce PayPal Gateway 4.0.4. The website is also using PHP 8.0.
Please help, as my customers can no longer place orders on my website using this plugin.
The page I need help with: [log in to see the link]