Are you experiencing a random error upon checkout like the following?
{“result”:”failure”,”messages”:”
\n\t\t\t
Country<\/strong> is a required field.<\/li>\n\t\t\t
First Name<\/strong> is a required field.<\/li>\n\t\t\t
Last Name<\/strong> is a required field.<\/li>\n\t\t\t
Address<\/strong> is a required field.<\/li>\n\t\t\t
Town \/ City<\/strong> is a required field.<\/li>\n\t\t\t
Postcode \/ Zip<\/strong> is a required field.<\/li>\n\t\t\t
Email Address<\/strong> is a required field.<\/li>\n\t\t\t
Phone<\/strong> is a required field.<\/li>\n\t\t\t
You must accept our Terms & Conditions.<\/li>\n\t\t\t
Unfortunately we do not ship to to <\/strong>. Please enter an alternative shipping address.<\/li>\n\t\t\t
Invalid shipping method.<\/li>\n\t\t\t
Invalid payment method.<\/li>\n\t<\/ul>”,”refresh”:”false”,”reload”:”false”}
Yes? Fortunately, I was able to figure out how to fix this error quite quickly this morning. The issue has to do with WooCommerce pages. Updating WooCommerce to the latest versions seems to have the occasional effect of deleting some of the required pages. Yet, with the new version of WooCommerce, adding these pages back isn’t as easy as it used to be.
How To Fix WooCommerce Checkout Error
First, go into your database and into the table “options” (or wp_options, if you use the default prefix). Do a search for the option key ‘woocommerce_thanks_page_id’. Once you find it, note the page id that this corresponds with (the value), then go to http://yourwebsite.com/wp-admin/post.php?post=[put the page id from the database table here]&action=edit . If it comes up blank or non-existent, this means you need to create a new thank you page. Create the page (name it whatever you want), then take the new page ID and replace the woocommerce_thanks_page_id with it in the database.
That should do it! This resolved the issue on two different websites for us, so it seems to be a fix-all. Let me know if you have success!
where to find this table “options”
Just go into phpMyAdmin (database management) on your host account, and you should see the wp_options table.
I have the thank you page up open in php through bluehost. I can’t tell what the page ID is though. What would it look like? Is it a number? I see something that says
id ); ?>
Lifesaver. Thank you!!
Just download thE EARN MONEY app and recharge your mobile for free…Get upto Rs 250/- per successful referral.
https://goo.gl/lhiB47
Hi friends, good opportunity to win movie tickets, gifts from amazon and cash back from paytym, download the EARN MONEY app and share with friends and keep it for getting recharge regularly.
https://goo.gl/lhiB47