Post by antmagn » Thu Feb 20, 2025 9:05 pm

Hello everyone, I wanted to add to my store the "cash on delivery" option and I get an error message , regarding JSON something, when I try to check out.
I'm including screenshot because it does not let me copy the message....The strange thing is that the order looks completed, I mean I do get an e-mail notification for a new order...although I get this error message...

Thank you in advance.....novice here...

I'm using OC 3.0.3.8
default theme
PHP: 7.3.13
Chrome Browser...I tried incognito also with no luck....

Attachments

error1.JPG

error1.JPG (23.32 KiB) Viewed 892 times

error2.JPG

error2.JPG (36.41 KiB) Viewed 892 times

error3.JPG

error3.JPG (30.79 KiB) Viewed 892 times


New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by nonnedelectari » Thu Feb 20, 2025 9:48 pm

extension problem.

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by ADD Creative » Thu Feb 20, 2025 11:11 pm

Look in both the PHP and OpenCart error logs for the full error messages. If it's a live store you don't want error display on at all.

Looks to be an issue in the file apimodule.php which will have been added by an extension.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by antmagn » Fri Feb 21, 2025 1:59 pm

I think I found something, I had to disable some events from extensions tab named:
" API module router" following by a number , the description of the event was :
Trigger

catalog/controller/module/apimodule/orderstatuses/before

Action

extension/module/apimodule/routerIndex


Now the error message is gone and the order passes to success page.
I was looking at different payment methods, I've installed revolut gateway extension but did not used it, it might left traces, I don't know. I see how it goes...

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm
Who is online

Users browsing this forum: No registered users and 11 guests