Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Canada Post XML Parsing Error


Lisa2877

Recommended Posts

I set up the shipping module for Canada Post last month. Everything was going well - no errors, calculating well... all was good. We are just about to go live and I did a test order this morning and the Shipping section gives me an "XML parsing error". Does any one have any ideas on what could be causing this? I reinstalled the module, contacted Canada Post, and searched this support site, but I can't find anything wrong.

 

Any help would be greatly appreciated.

 

Thank you.

 

Lisa

Link to comment
Share on other sites

I set up the shipping module for Canada Post last month. Everything was going well - no errors, calculating well... all was good. We are just about to go live and I did a test order this morning and the Shipping section gives me an "XML parsing error". Does any one have any ideas on what could be causing this? I reinstalled the module, contacted Canada Post, and searched this support site, but I can't find anything wrong.

 

Any help would be greatly appreciated.

 

Thank you.

 

Lisa

Do you have your postal code entered without a space in the admin area under configuration My Store Shipping/Packaging?

Link to comment
Share on other sites

Do you have your postal code entered without a space in the admin area under configuration My Store Shipping/Packaging?

 

Yes. And I took out the space in the postal codes of my test customer accounts to see if that made a difference. Nothing is working.

Link to comment
Share on other sites

  • 4 years later...

One cause of XML parsing errors is if the address country or province/state has special characters in it. Canada Post (for example) does not accept special characters such as umlauts or accents on names. There are a number of these in your address bank - check for example Switzerland - Zurich, does the 'u' of Zurich have the double dot above it (ü)? If so, Canada Post will reject that as a valid state/province.

I suspect this is true for Fedex, UPS, and others too.

Link to comment
Share on other sites

@@Pinball I see your other post.... I have a working copy of Canada Post automatic labels in REST. However its VERY messy. I was suppose to clean it up, but its really a way beyond me and I was a little embarrassed releasing it in the addons area.

 

You are welcome to it... I have done upgrade instructions.... Send me a PM. Are you able to work on cleaning up the code at all?

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...