Post by fungandrew » Sun Apr 21, 2019 6:02 pm

Hi,

We have enabled "Cash on delivery" in the payment extension recently. After enabling it, we got an "SyntaxError : Invalid character" message everytime when we try to edit the invoice. We have no idea what this error comes from and we have to disable the cod payment method everytime we want to edit the invoice. The system log does not show any error. Does anyone encounter this before ? Thanks.

Andrew

Attachments

invalid_character.jpg

invalid_character.jpg (68.96 KiB) Viewed 319 times


Newbie

Posts

Joined
Wed Feb 15, 2017 8:16 pm

Post by thekrotek » Sun Apr 21, 2019 6:13 pm

Not related to CoD extension. Looks like some modification improperly modifies the code.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by D3MO » Mon Apr 22, 2019 7:04 am

Any surcharge modules installed? for example etra fee for using this cash on delivery?or other payment?
fungandrew wrote:
Sun Apr 21, 2019 6:02 pm
Hi,

We have enabled "Cash on delivery" in the payment extension recently. After enabling it, we got an "SyntaxError : Invalid character" message everytime when we try to edit the invoice. We have no idea what this error comes from and we have to disable the cod payment method everytime we want to edit the invoice. The system log does not show any error. Does anyone encounter this before ? Thanks.

Andrew

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by fungandrew » Mon Apr 22, 2019 11:19 pm

We have installed 3 payment module, bank transfer, cod and PayPal.

These 3 are all built in opencart extension

Newbie

Posts

Joined
Wed Feb 15, 2017 8:16 pm

Post by D3MO » Tue Apr 23, 2019 4:39 am

well you do require deeper looking into the code itself it is hard to mention what may be wrong, as it can be even if x file were modified by x editor can be encoding or even windows/linux end of line characters causing this.

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by fungandrew » Thu Apr 25, 2019 10:21 am

Thanks. Is there any way to debug the issue easilier ? Any debug option can turn on ? The error log does not have any info on the error.

Newbie

Posts

Joined
Wed Feb 15, 2017 8:16 pm

Post by thekrotek » Thu Apr 25, 2019 3:10 pm

fungandrew wrote:
Thu Apr 25, 2019 10:21 am
Thanks. Is there any way to debug the issue easilier ? Any debug option can turn on ? The error log does not have any info on the error.
If you are a developer, it will be easy to debug for you. Otherwise not.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by D3MO » Thu Apr 25, 2019 7:22 pm

best would be simply to get a paid help. So a developer would login to your ftp and and debug it.

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am
Who is online

Users browsing this forum: No registered users and 38 guests