I'm getting error during checkout on local and hosting version of open cart 1.5.1.3. The error is throwing:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data on mozzilla
and
SyntaxError: Unexpected token < in JSON at position 0 on chrome,
without any additonal information.
I did check webmasters tool, console for any of the errors but found nothing. I have seen plenty of similar issues with different platofrm, but in all these cases there was additonal information what is wrong. In my case there is no error logged in the open cart error log or in the server log.
The expected result is final confirmation and checkout completed, actual result is following message: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data