Hi @kumaillakhani,
I just tried placing a test order on your site and I got the error as you mentioned, I also saw a lot of errors on the browser’s console (check here: https://prnt.sc/L8SC1GyUpTb_).
Other than that, it’s important to note that I actually got the emails about the order being completed, do you see the order in the back end as processing or completed?
This is unusual and from what we’ve seen in the past this happens with third party code conflicts. With this in mind, can you please run a conflict test to find out if something external is interfering?
To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.
If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each to see where the issue is coming from.
Some important considerations:?
— Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality, or you can consider using a service like?Jetpack. If something goes wrong, you will be able to restore it.
— Also, you can consider using a plugin like?Health Check & Troubleshooting. This is a plugin developed by the WordPress community, and it is helpful to disable plugins without affecting your current site visitors.
— It is also important to consider staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging to spin up a new test site quickly.
You can find more about this in this?guide.
Please let us know about your findings.
Thanks!
-OP