Post by jrr » Tue Dec 31, 2024 4:00 pm

I have no idea if there is anyone else running this Canada Post extension, but it is really great and I miss Drugoe a lot since the Covid-19 shutdowns killed off their company.

Anyway. moving on!

If you are getting the following JSON error when you try to creat mailing labels after converting to a newer than 3.0.6.0 version of OpenCart:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
Notice: Undefined property: Proxy::deleteApiSessionBySessonId in /some/path/to/engine/action.php on line 85
The problem is a simple spelling error in the OpenCart code that last up until recently "deleteApiSessionBySessonId" - the 2nd 'session' is misspelled 'sesson'.

Fix this in the directory /catalog/system/library/canadapost_smart_flexible/libraries.php

And if you had already tried creating a shipping label it now appears where it belongs!

If anyone else is interested in working on Canada Post Smart & Flexible please contact me so we can hire a programmer to continue development. Also I may have later versions of this extension - the last one I had was 6.23.1 which fixed a couple of previous bugs.

John :-#)#

jrr
Active Member

Posts

Joined
Mon Nov 20, 2017 1:48 pm

Post by khnaz35 » Sun Jan 05, 2025 12:58 am

Hi John,

If you need a programmer to help resolve the issue, feel free to post in the commercial section of the forum. Alternatively, you can email me directly—I’d be happy to offer my expertise through paid assistance.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by megalca » Sat Mar 29, 2025 10:03 am

jrr wrote:
Tue Dec 31, 2024 4:00 pm
I have no idea if there is anyone else running this Canada Post extension, but it is really great and I miss Drugoe a lot since the Covid-19 shutdowns killed off their company.

Anyway. moving on!

If you are getting the following JSON error when you try to creat mailing labels after converting to a newer than 3.0.6.0 version of OpenCart:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
Notice: Undefined property: Proxy::deleteApiSessionBySessonId in /some/path/to/engine/action.php on line 85
The problem is a simple spelling error in the OpenCart code that last up until recently "deleteApiSessionBySessonId" - the 2nd 'session' is misspelled 'sesson'.

Fix this in the directory /catalog/system/library/canadapost_smart_flexible/libraries.php

And if you had already tried creating a shipping label it now appears where it belongs!

If anyone else is interested in working on Canada Post Smart & Flexible please contact me so we can hire a programmer to continue development. Also I may have later versions of this extension - the last one I had was 6.23.1 which fixed a couple of previous bugs.

John :-#)#
Hi John
Interested in your proposal.
Please contact me.
thanks

New member

Posts

Joined
Sun Apr 07, 2019 5:49 am
Who is online

Users browsing this forum: No registered users and 19 guests