Error on checkout page
-
Hi,
I just open this topic to share an issue i had and how to solve it.
I have many customers are’nt able to complete their order both with Paypal and Stripe.
There was an error on checkout page like “Internal server error” or “Error processing checkout. Please try again”.
After checking the logs on my server, i found that the issue come from a division by zero:
[15-Oct-2022 10:37:08 UTC] PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in /home/xxxx/wp-content/plugins/woocommerce-eu-vat-assistant/src/plugin-main.php:804
And i found why this error is thrown: in the settings of the plugin, in Currency tab, the field “Exchange rate” for my second currency was empty. I m not using the exchange rate option of the plugin, but just by puting “1” in the field and saving settings, the error disappear and payment working again.So hope this topic will help people with the same issue ??
- The topic ‘Error on checkout page’ is closed to new replies.