Checkout – json error, because the server sends html in reply
-
Hello
Woocommerce stopped working. The problem is that the checkout mechanism isn’t sending json string, but normal html response with order information (number, customer email, products list, etc.). The order number in that html answer isn’t real.
So, is there a way to fix this, or maybe switch checkout mechanism to normal form behaviour without ajax?
Edit:
The problem lies in create_order method. For some reason it doesn’t create an order and in the same time it doesn’t throw exception.Edit 2:
So, the order runs smoothly without woocommerce_checkout_update_order_meta.Final edit:
The bad-boy is located in /woocommerce-email-center/.
Thanks for patience.
- The topic ‘Checkout – json error, because the server sends html in reply’ is closed to new replies.