canada post xml parsing error for quebec customers only
getting an error message whenever a logged-in customer from quebec tries to checkout. where the canada post shipping options should be, it shows:
"XML parsing error.
If you prefer to use Canada Post as your shipping method, please contact the plastique monkey shop via Email."
this happened before, after canada post changed their IP address at the end of november 2006. i updated the IP address in the admin panel --> shipping --> canada post module, and everything seemed to work okay after that, until now.
the old canada post IP address was 22.214.171.124 . the new one is sellonline.canadapost.ca . both use server port 30000.
i've created a dummy customer account from quebec and reproduced the error message a customer reported today. other dummy accounts from elsewhere in canada or around the world don't have the same problem.
i've contacted canada post but they're taking their time getting back to me.
any ideas what to do next?
Re: canada post xml parsing error for quebec customers only
figured out the problem --
the zones table we're using has accents on french, spanish, and germanic letters. there are: "é" , "ö" , "ç", etc.
apparently those characters were conflicting with the canada post database, which was generating the error messages.
i updated the word "Québec" to read "Quebec", refreshed the checkout page (while logged in as a fake quebec customer), and everything worked fine.
i reproduced the error using several other zones with different accents (Galápagos, Oberöesterreich). each time, updating the zones table to get rid of the accent resolved the XML error.
so now i need to go through all 71 pages of the zones table and get rid of the accents...
By MsHutch in forum Built-in Shipping and Payment Modules
Last Post: 15 May 2007, 09:52 PM
By silverbitz in forum Built-in Shipping and Payment Modules
Last Post: 9 May 2007, 07:38 PM
By redk in forum Built-in Shipping and Payment Modules
Last Post: 11 Apr 2007, 08:09 PM
By dannyd in forum Built-in Shipping and Payment Modules
Last Post: 19 Feb 2007, 05:37 PM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC