Guest Posted December 19, 2003 Share Posted December 19, 2003 ----- 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. Quote Link to comment Share on other sites More sharing options...
spacedj Posted January 4, 2004 Share Posted January 4, 2004 I'm having the same problem, can some one help us? Quote Link to comment Share on other sites More sharing options...
Guest Posted January 4, 2004 Share Posted January 4, 2004 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. Quote Link to comment Share on other sites More sharing options...
spacedj Posted January 4, 2004 Share Posted January 4, 2004 Yes, I did that, still doesn't help Quote Link to comment Share on other sites More sharing options...
Guest Posted January 5, 2004 Share Posted January 5, 2004 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.