nopCommerce 3.8 and Canada Post Plug in Error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 anni tempo fa
Hello,
We upgraded our nopCommerce site from 3.6 to 3.8. We followed the instructions and copied the Plugin and Settings file.
Now the Canada Post Plug does not work and gives the following error:

Canada Post error AA004: You cannot mail on behalf of the requested customer. Canada Post error AA004: You cannot mail on behalf of the requested customer. Canada Post error AA004: You cannot mail on behalf of the requested customer. Canada Post error AA004: You cannot mail on behalf of the requested customer.

We have entered our API key and Customer Number under /Admin/Shipping/Providers

Can you someone please help us here as to what are we  doing wrong?

Thanks
7 anni tempo fa
Hi.
I just tried it, the plugin works as it should.
This error response means that either the Customer number is incorrect or has not been activated yet. Try to contact Canada Post on this issue.
7 anni tempo fa
Thank you for the reply. We contacted Canada Post. They said the Account is Active and it shows on the site as Active too.
When I use the Customer User name that starts with CPC_ I get this error:
Canada Post error AA004: You cannot mail on behalf of the requested customer. Canada Post error AA004: You cannot mail on behalf of the requested customer. Canada Post error AA004: You cannot mail on behalf of the requested customer. Canada Post error AA004: You cannot mail on behalf of the requested customer.

This used to work in version 3.6

If I use the customer number which starts with 000 then I get this error:
Canada Post error Server: /rs/ship/price: cvc-simple-type 1: element {http://www.canadapost.ca/ws/ship/rate-v3}origin-postal-code value 'L4S 2G1' is not a valid instance of type {http://www.canadapost.ca/ws/ship/rate-v3}PostalCodeType Canada Post error Server: /rs/ship/price: cvc-simple-type 1: element {http://www.canadapost.ca/ws/ship/rate-v3}origin-postal-code value 'L4S 2G1' is not a valid instance of type {http://www.canadapost.ca/ws/ship/rate-v3}PostalCodeType Canada Post error Server: /rs/ship/price: cvc-simple-type 1: element {http://www.canadapost.ca/ws/ship/rate-v3}origin-postal-code value 'L4S 2G1' is not a valid instance of type {http://www.canadapost.ca/ws/ship/rate-v3}PostalCodeType Canada Post error Server: /rs/ship/price: cvc-simple-type 1: element {http://www.canadapost.ca/ws/ship/rate-v3}origin-postal-code value 'L4S 2G1' is not a valid instance of type {http://www.canadapost.ca/ws/ship/rate-v3}PostalCodeType
7 anni tempo fa
Hi.
In 3.8 version we use new Canada Post Web Services in our plugin that's why there may be differences.
To fix the second error just use postal codes without spaces, e.g. L4S2G1.
7 anni tempo fa
It is also worth noting that at the moment the plugin for version 3.8 only supports the non-contracted customers.
7 anni tempo fa
Thank you for the reply. Regardless of space the POSTAL CODE gives error.
I think it has to do with this version.
Do you know if there is an update coming? If so how soon?

Or, is there any work around for this?

Thanks
7 anni tempo fa
You used postal codes of origin and destination without spaces and still get the errors? Please share it.
7 anni tempo fa
I used Address from New York, USA and I got the same error.
For the time being we have revered back the version 3.6 and things are working.  We will wait until the full support of this Canada Post Module comes to version 3.8.

Thanks for all your help.
7 anni tempo fa
We improved our Canada Post plugin for supporting commercial customers. Please see changes in this commit.
7 anni tempo fa
Hello srameh,

Hope it is not too late.
Webhdt recently launched the Canada Post plugins compatible for nopCommerce 3.8 that works for contract or non-contract merchants.

The free version allows you to get live rates from Canada Post web services while with the full version you can also print shipment labels & manifests from nopCommerce admin.

You can visit following links on Marketplace for more info
https://www.nopcommerce.com/p/1984/canada-post-free-live-shipping-rates-plugin.aspx
https://www.nopcommerce.com/p/2091/canada-post-web-services-plugin.aspx
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.