Opencart 3.0.2 with built in SQUAREUP extension
During checkout when hitting "Confirm Order" button I get an error before the final confirmation
"SyntaxError: Unexpected token < in JSON at position 0
The plugin records the transaction, square has record of the transaction. No error is logged including the one displayed.
Any clues?
For anyone encountering this... it ends up being an email issue.
My host doesn't permit sending email "from" a different account (spoofing the email addy). Once that was adjusted it all works well.
I'm concerned that I had to run fiddler to catch the error, OpenCart didn't log it anywhere despite the fact I have error logging turned on.
My host doesn't permit sending email "from" a different account (spoofing the email addy). Once that was adjusted it all works well.
I'm concerned that I had to run fiddler to catch the error, OpenCart didn't log it anywhere despite the fact I have error logging turned on.
Who is online
Users browsing this forum: No registered users and 8 guests