I’m getting an error when I try to checkout in mi page, if I miss some inputs like address in the checkout form it behaves as it should and retrieves an error message. But when I submit the form with all the inputs filled I get an “Invalid response” error and a 0 appears over the form.
I’ve been checking the issue for a while and I think it’s a problem in the checkout.min.js file, when the form is submitted with all the inputs filled the ajax success: is returning 0, so the following parseJSON fails but when it’s half filled it returns an object.
I cannot figure out how to fix this, I’ve deactivated all plugins, changed the theme, reinstalled WC and WP, but it still happens, any one knows what’s the problem?
- The topic ‘Getting 0 on Checkout form submit’ is closed to new replies.