Mike, What is the solution if gateway returns response via XML instead of JSON? Did it still giving syntax error if response is in XML?
We had to hire a PHP developer to fix this issue. If anyone needs a contact let me know.
I had this issue, it seemed to happen out of the blue one day. I disabled the following 3rd party plugins and the issue went away (not sure which one was the actual culprit):
– WooCommerce Abandon Cart Lite Plugin
– Basket Recovery
Hope this helps somebody.
My god, what’s with this Mike Jolley guy? He alone makes me never want to use WooCommerce again. I hate when developers break things (even if they thought they were “fixing” them), then refuse to shoulder any blame. You, sir, are giving your organization a terrible name. While your answers are valid, they are not compassionate in the slightest. You seem to have no care that we’re having these issues.
Thanks for the personal attack Ideas and Pixels. I spend a lot of my free time replying to users and contributing to OS, so I appreciate you saying I don’t care. Where is your contribution?
As much as I’d love to, this isn’t something that can just be ‘fixed’ easily in core – its down to a misuse of the API and can be rectified by the author of the gateway. So please get in touch with them before coming here and pointing more blame. Thats not helpful to you, not good for developers, and its not helpful to other users of that gateway.
As an aside, we’re actively trying to improve documentation so future projects can follow guidelines without implementing possibly-breaking code, and we’ve commented prior on improving beta testing procedures, which you’re free to join too I might add.
I’m going to ping a mod to close this issue since these replies are against the forum rules. If anyone has an issue like posted, narrow the cause, contact the dev, and if that fails post a details new thread naming the extension for advice. If its open-source it can be looked at, if its paid it cannot.