Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Canada Post Module Help


Guest

Recommended Posts

-----

Origin Postal Code is illegal.

If you prefer to use canadapost as your shipping method, please contact the store owner.

-----

 

I'm getting that error when using the default test settings.

I unistalled, reinstalled the module.

Changed the "shipping/packaging" postal code from V6J 1M2 to V6J1M2 and back and I keep getting the error.

My version is oscommerce-2.2ms2

and i'm using this contribution

http://www.oscommerce.com/community/contributions,391

Are they compatible?

 

And are these canada post test settings right?

Ip: 206.191.4.228

customer id: CPC_DEMO_XML

 

Thanks.

Link to comment
Share on other sites

  • 3 weeks later...
And are these canada post test settings right?

Ip: 206.191.4.228

customer id: CPC_DEMO_XML

 

Thanks.

Hey Guys,

 

I'm new to this and having some trouble of my own but from what I understand on the CPC_DEMO_XML thing is this.

 

In that string you needed to change it to your own customer ID from Canada post.

 

I had already done this before finding out my current web software didn't support Canada post (the reason I'm here..rebuilding my site) Go online canadapost.ca and sign up for an account. They will issue a customer ID it will look something like this.

 

CPC_YOURSTORE_COM

then you will also get a password.

 

Hope this helps and good luck.

Link to comment
Share on other sites

OK, I figured this out.

For some reason in the 'catalog/includes/modules/shipping/canadapost.php" script the postal code is not getting changed when you enter through the admin.

 

So you have to manually change your postal code.

 

Go to line 67 of the canadapost.php script and change from:

 

$this->_canadapostOrigin(STORE_ORIGIN_ZIP, $country_name['countries_iso_code_2']);

 

to look like this:

 

$this->_canadapostOrigin('V5L 3K7', $country_name['countries_iso_code_2']);

 

Worked for me.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...