[Skip to main content](#vessel-content)

#   Error while sending XML to CANADA POST. Error code

##

- **[remotelyyours](/forum/user/27477-remotelyyours "View remotelyyours's Profile")**
- [![remotelyyours's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar27477.png)](/forum/user/27477-remotelyyours "View remotelyyours's Profile") Topic Author
- [ Offline](/forum/user/27477-remotelyyours)

Less More

- Posts: 28
- Thank you received: 3
-
-

10 years 11 months ago [\#220161](#220161) by [remotelyyours](/forum/user/27477-remotelyyours "View remotelyyours's Profile")  *[Error while sending XML to CANADA POST. Error code](/forum/28-shipping-methods/880382-error-while-sending-xml-to-canada-post-error-code#220161 "-- url of the page with the problem -- :   albertatacticalrifle.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- Error-message(debug-mod must be tuned on) -- : Error while sending XML to CANADA POST. Error code: -5000. Message: XML parsing error.  After HS 2.6.0 update checkout stopped working with the error:  After examining the code I found the reason. It's a CanadaPost fault as it doesn't parse a correctly formed XML. It doesn't parse correctly the line  or  or an XML without the field at all.  The only way it parses is a space inside the XML tag  Before (2.5.0) In the HS CP plugin there was a space in the code. In the latest version there is no.  The previous plugin version:  Now:  So I just added a space to the line 576 in plugins/hikashopshipping/canadapost/canadapost.php It was  It became  P.S. TTTT, last at least 2 updates kilied our web-site checkout process. Always the problems because of the CP plugin. My boss is very angry and says not to update as updates kill the shop. I undestand, that staying non-updated is not a way out and would cause huge problems in the future. But damn, every HS update is a great stress fro us causing at least a couple of days web-site outage till the bugs are fixed. I beg you to pay more attention to it.")* was created by *[remotelyyours](/forum/user/27477-remotelyyours "View remotelyyours's Profile")*

-- url of the page with the problem -- : [ albertatacticalrifle.com](http://albertatacticalrifle.com)
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- Error-message(debug-mod must be tuned on) -- : Error while sending XML to CANADA POST. Error code: -5000. Message: XML parsing error.

After HS 2.6.0 update checkout stopped working with the error: Code:

Error while sending XML to CANADA POST. Error code: -5000. Message: XML parsing error.

After examining the code I found the reason. It's a CanadaPost fault as it doesn't parse a correctly formed XML. It doesn't parse correctly the line Code:

&lt;description&gt;&lt;/description&gt;

or Code:

&lt;description/&gt;

or an XML without the field at all.

The only way it parses is a space inside the XML tag Code:

&lt;description&gt; &lt;/description&gt;

Before (2.5.0) In the HS CP plugin there was a space in the code. In the latest version there is no.

The previous plugin version:
[ ![&#91;img](http://static.xscreenshot.com/small/2015/11/10/17/screen_88490169856a2638694530061fe06e49) ](http://view.xscreenshot.com/88490169856a2638694530061fe06e49)

Now:
[ ![&#91;img](http://static.xscreenshot.com/small/2015/11/10/17/screen_685d278d6bd9f2004afe9be220977b91) ](http://view.xscreenshot.com/685d278d6bd9f2004afe9be220977b91)

So I just added a space to the **line 576** in **plugins/hikashopshipping/canadapost/canadapost.php**
It was Code:

'&lt;description&gt;' . $data['name'] . '&lt;/description&gt;';

It became Code:

'&lt;description&gt; ' . $data['name'] . '&lt;/description&gt;';

P.S. TTTT, last at least 2 updates kilied our web-site checkout process. Always the problems because of the CP plugin. My boss is very angry and says not to update as updates kill the shop. I undestand, that staying non-updated is not a way out and would cause huge problems in the future. But damn, every HS update is a great stress fro us causing at least a couple of days web-site outage till the bugs are fixed. I beg you to pay more attention to it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODgwMzgyLWVycm9yLXdoaWxlLXNlbmRpbmcteG1sLXRvLWNhbmFkYS1wb3N0LWVycm9yLWNvZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 11 months ago [\#220185](#220185) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Error while sending XML to CANADA POST. Error code](/forum/28-shipping-methods/880382-error-while-sending-xml-to-canada-post-error-code#220185 "-- url of the page with the problem -- :   albertatacticalrifle.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- Error-message(debug-mod must be tuned on) -- : Error while sending XML to CANADA POST. Error code: -5000. Message: XML parsing error.  After HS 2.6.0 update checkout stopped working with the error:  After examining the code I found the reason. It's a CanadaPost fault as it doesn't parse a correctly formed XML. It doesn't parse correctly the line  or  or an XML without the field at all.  The only way it parses is a space inside the XML tag  Before (2.5.0) In the HS CP plugin there was a space in the code. In the latest version there is no.  The previous plugin version:  Now:  So I just added a space to the line 576 in plugins/hikashopshipping/canadapost/canadapost.php It was  It became  P.S. TTTT, last at least 2 updates kilied our web-site checkout process. Always the problems because of the CP plugin. My boss is very angry and says not to update as updates kill the shop. I undestand, that staying non-updated is not a way out and would cause huge problems in the future. But damn, every HS update is a great stress fro us causing at least a couple of days web-site outage till the bugs are fixed. I beg you to pay more attention to it.")*

Hello,

> P.S. TTTT, last at least 2 updates kilied our web-site checkout process. Always the problems because of the CP plugin. My boss is very angry and says not to update as updates kill the shop. I undestand, that staying non-updated is not a way out and would cause huge problems in the future. But damn, every HS update is a great stress fro us causing at least a couple of days web-site outage till the bugs are fixed. I beg you to pay more attention to it.

I'm in charge of the Hikashop Canada Post shipping plugin and I apologize for the issue that it caused to your shop, we'll pay more attention to it before every new release and I thank you for your feedback.

Best regards,
Mohamed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODgwMzgyLWVycm9yLXdoaWxlLXNlbmRpbmcteG1sLXRvLWNhbmFkYS1wb3N0LWVycm9yLWNvZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[michaelc](/forum/user/35921-michaelc "View michaelc's Profile")**
- [![michaelc's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35921-michaelc "View michaelc's Profile")
- [ Offline](/forum/user/35921-michaelc)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 9 months ago [\#225704](#225704) by [michaelc](/forum/user/35921-michaelc "View michaelc's Profile")  Replied by *[michaelc](/forum/user/35921-michaelc "View michaelc's Profile")* on topic *[Error while sending XML to CANADA POST. Error code](/forum/28-shipping-methods/880382-error-while-sending-xml-to-canada-post-error-code#225704 "-- url of the page with the problem -- :   albertatacticalrifle.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- Error-message(debug-mod must be tuned on) -- : Error while sending XML to CANADA POST. Error code: -5000. Message: XML parsing error.  After HS 2.6.0 update checkout stopped working with the error:  After examining the code I found the reason. It's a CanadaPost fault as it doesn't parse a correctly formed XML. It doesn't parse correctly the line  or  or an XML without the field at all.  The only way it parses is a space inside the XML tag  Before (2.5.0) In the HS CP plugin there was a space in the code. In the latest version there is no.  The previous plugin version:  Now:  So I just added a space to the line 576 in plugins/hikashopshipping/canadapost/canadapost.php It was  It became  P.S. TTTT, last at least 2 updates kilied our web-site checkout process. Always the problems because of the CP plugin. My boss is very angry and says not to update as updates kill the shop. I undestand, that staying non-updated is not a way out and would cause huge problems in the future. But damn, every HS update is a great stress fro us causing at least a couple of days web-site outage till the bugs are fixed. I beg you to pay more attention to it.")*

Same error still present for Canada Post. I have PM'd you on this. Fix asap please - very important for clients who only use Canada Post!!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODgwMzgyLWVycm9yLXdoaWxlLXNlbmRpbmcteG1sLXRvLWNhbmFkYS1wb3N0LWVycm9yLWNvZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 9 months ago [\#225705](#225705) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error while sending XML to CANADA POST. Error code](/forum/28-shipping-methods/880382-error-while-sending-xml-to-canada-post-error-code#225705 "-- url of the page with the problem -- :   albertatacticalrifle.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- Error-message(debug-mod must be tuned on) -- : Error while sending XML to CANADA POST. Error code: -5000. Message: XML parsing error.  After HS 2.6.0 update checkout stopped working with the error:  After examining the code I found the reason. It's a CanadaPost fault as it doesn't parse a correctly formed XML. It doesn't parse correctly the line  or  or an XML without the field at all.  The only way it parses is a space inside the XML tag  Before (2.5.0) In the HS CP plugin there was a space in the code. In the latest version there is no.  The previous plugin version:  Now:  So I just added a space to the line 576 in plugins/hikashopshipping/canadapost/canadapost.php It was  It became  P.S. TTTT, last at least 2 updates kilied our web-site checkout process. Always the problems because of the CP plugin. My boss is very angry and says not to update as updates kill the shop. I undestand, that staying non-updated is not a way out and would cause huge problems in the future. But damn, every HS update is a great stress fro us causing at least a couple of days web-site outage till the bugs are fixed. I beg you to pay more attention to it.")*

Hi,

Please do not use private message ; the support team can't provide any support using that way of communication.
If you want to contact the support in private, the best is to use the "contact us" form.

regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODgwMzgyLWVycm9yLXdoaWxlLXNlbmRpbmcteG1sLXRvLWNhbmFkYS1wb3N0LWVycm9yLWNvZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[michaelc](/forum/user/35921-michaelc "View michaelc's Profile")**
- [![michaelc's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35921-michaelc "View michaelc's Profile")
- [ Offline](/forum/user/35921-michaelc)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 9 months ago [\#225758](#225758) by [michaelc](/forum/user/35921-michaelc "View michaelc's Profile")  Replied by *[michaelc](/forum/user/35921-michaelc "View michaelc's Profile")* on topic *[Error while sending XML to CANADA POST. Error code](/forum/28-shipping-methods/880382-error-while-sending-xml-to-canada-post-error-code#225758 "-- url of the page with the problem -- :   albertatacticalrifle.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- Error-message(debug-mod must be tuned on) -- : Error while sending XML to CANADA POST. Error code: -5000. Message: XML parsing error.  After HS 2.6.0 update checkout stopped working with the error:  After examining the code I found the reason. It's a CanadaPost fault as it doesn't parse a correctly formed XML. It doesn't parse correctly the line  or  or an XML without the field at all.  The only way it parses is a space inside the XML tag  Before (2.5.0) In the HS CP plugin there was a space in the code. In the latest version there is no.  The previous plugin version:  Now:  So I just added a space to the line 576 in plugins/hikashopshipping/canadapost/canadapost.php It was  It became  P.S. TTTT, last at least 2 updates kilied our web-site checkout process. Always the problems because of the CP plugin. My boss is very angry and says not to update as updates kill the shop. I undestand, that staying non-updated is not a way out and would cause huge problems in the future. But damn, every HS update is a great stress fro us causing at least a couple of days web-site outage till the bugs are fixed. I beg you to pay more attention to it.")*

Sorry - assumed it would help as he'd said he was in charge of that plugin. Sending via contact.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODgwMzgyLWVycm9yLXdoaWxlLXNlbmRpbmcteG1sLXRvLWNhbmFkYS1wb3N0LWVycm9yLWNvZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.189 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
