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

#   Shipping plugin MyParcel error

##

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

Less More

- Posts: 27
- Thank you received: 1
-
-

4 years 3 days ago [\#346334](#346334) by [sep2014](/forum/user/31618-sep2014 "View sep2014's Profile")  *[Shipping plugin MyParcel error](/forum/28-shipping-methods/905303-shipping-plugin-myparcel-error#346334 "-- url of the page with the problem -- :   marrys.nl  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.4 -- PHP version -- : 7.4.9 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : First set the country code with setCountry() before running setFullStreet()  I have installed a new plugin for my client site: MyParcel shipping plugin. I have made a account in MyParcel and installed the API key in the plugin. When I have selected a order in HS and click on the button of connecting to MyParcel I get the message:  First set the country code with setCountry() before running setFullStreet()  What is this? Its not working so. What must I do?")* was created by *[sep2014](/forum/user/31618-sep2014 "View sep2014's Profile")*

-- url of the page with the problem -- : [ marrys.nl](https://marrys.nl)
-- HikaShop version -- : 4.6.2
-- Joomla version -- : 4.2.4
-- PHP version -- : 7.4.9
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : First set the country code with setCountry() before running setFullStreet()

I have installed a new plugin for my client site: MyParcel shipping plugin. I have made a account in MyParcel and installed the API key in the plugin.
When I have selected a order in HS and click on the button of connecting to MyParcel I get the message:

First set the country code with setCountry() before running setFullStreet()

What is this? Its not working so. What must I do?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

4 years 3 days ago [\#346343](#346343) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Shipping plugin MyParcel error](/forum/28-shipping-methods/905303-shipping-plugin-myparcel-error#346343 "-- url of the page with the problem -- :   marrys.nl  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.4 -- PHP version -- : 7.4.9 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : First set the country code with setCountry() before running setFullStreet()  I have installed a new plugin for my client site: MyParcel shipping plugin. I have made a account in MyParcel and installed the API key in the plugin. When I have selected a order in HS and click on the button of connecting to MyParcel I get the message:  First set the country code with setCountry() before running setFullStreet()  What is this? Its not working so. What must I do?")*

Hi,

That's apparently because the country address field is disabled on your website. I've made a patch to the plugin so that it defaults to the country selected in the plugin settings when the country code is missing from the address.
So you can download again the install package of the plugin on our website and install it on yours and you should not have the problem anymore.

The following user(s) said Thank You: [sep2014](/forum/user/31618-sep2014 "View sep2014's Profile")

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

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

Less More

- Posts: 27
- Thank you received: 1
-
-

3 years 11 months ago [\#347347](#347347) by [sep2014](/forum/user/31618-sep2014 "View sep2014's Profile")  Replied by *[sep2014](/forum/user/31618-sep2014 "View sep2014's Profile")* on topic *[Shipping plugin MyParcel error](/forum/28-shipping-methods/905303-shipping-plugin-myparcel-error#347347 "-- url of the page with the problem -- :   marrys.nl  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.4 -- PHP version -- : 7.4.9 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : First set the country code with setCountry() before running setFullStreet()  I have installed a new plugin for my client site: MyParcel shipping plugin. I have made a account in MyParcel and installed the API key in the plugin. When I have selected a order in HS and click on the button of connecting to MyParcel I get the message:  First set the country code with setCountry() before running setFullStreet()  What is this? Its not working so. What must I do?")*

I have again a error in the plugin when I click on the print button:

0 Argument 1 passed to MyParcelNL\Sdk\src\Model\Consignment\AbstractConsignment::setFullStreet() must be of the type string, null given, called in /home/public/sites/www.marrys.nl/plugins/hikashop/myparcel/myparcel.php on line 436

- [ ![Schermafbeelding2022-12-08om16.41.28.png](/forum/attachment/56094) ](/forum/attachment/56094 "...om16.41.28.png") [ ](/forum/attachment/56094?download=1 "...om16.41.28.png")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

3 years 11 months ago -  3 years 11 months ago [\#347349](#347349) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Shipping plugin MyParcel error](/forum/28-shipping-methods/905303-shipping-plugin-myparcel-error#347349 "-- url of the page with the problem -- :   marrys.nl  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.4 -- PHP version -- : 7.4.9 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : First set the country code with setCountry() before running setFullStreet()  I have installed a new plugin for my client site: MyParcel shipping plugin. I have made a account in MyParcel and installed the API key in the plugin. When I have selected a order in HS and click on the button of connecting to MyParcel I get the message:  First set the country code with setCountry() before running setFullStreet()  What is this? Its not working so. What must I do?")*

Hello,

So far from your information it looks like your order is missing an shipping address.
Can you check if the relative order is for a reason or another miss some address elements ?

If nothing seems missing provide these elements :
- **Url link** to your backend/administrator
- Backend user **references** (with maximum Acl)

Use our **[ Contact us](https://www.hikashop.com/support/contact-us.html)** form to provide these references, and don't forget to add an Url link to this topic.
Awaiting your elements.

Regards

Last edit: 3 years 11 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 27
- Thank you received: 1
-
-

3 years 11 months ago [\#347393](#347393) by [sep2014](/forum/user/31618-sep2014 "View sep2014's Profile")  Replied by *[sep2014](/forum/user/31618-sep2014 "View sep2014's Profile")* on topic *[Shipping plugin MyParcel error](/forum/28-shipping-methods/905303-shipping-plugin-myparcel-error#347393 "-- url of the page with the problem -- :   marrys.nl  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.4 -- PHP version -- : 7.4.9 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : First set the country code with setCountry() before running setFullStreet()  I have installed a new plugin for my client site: MyParcel shipping plugin. I have made a account in MyParcel and installed the API key in the plugin. When I have selected a order in HS and click on the button of connecting to MyParcel I get the message:  First set the country code with setCountry() before running setFullStreet()  What is this? Its not working so. What must I do?")*

Yes you right. There is no shipping adress in this order. Sorry!

But when I go to a order with a shipping adress and I click on the button Print label nothing is happening.
Only a blanc screen with My Parcel API and staus = OK
No printing is starting

- [ ![Schermafbeelding2022-12-10om17.21.19.png](/forum/attachment/56102) ](/forum/attachment/56102 "...om17.21.19.png") [ ](/forum/attachment/56102?download=1 "...om17.21.19.png")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

3 years 11 months ago [\#347399](#347399) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Shipping plugin MyParcel error](/forum/28-shipping-methods/905303-shipping-plugin-myparcel-error#347399 "-- url of the page with the problem -- :   marrys.nl  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.4 -- PHP version -- : 7.4.9 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : First set the country code with setCountry() before running setFullStreet()  I have installed a new plugin for my client site: MyParcel shipping plugin. I have made a account in MyParcel and installed the API key in the plugin. When I have selected a order in HS and click on the button of connecting to MyParcel I get the message:  First set the country code with setCountry() before running setFullStreet()  What is this? Its not working so. What must I do?")*

Hi,

What if you click on export ? Do you see the data of the order in your MyParcel interface ?
What about for the order where you directly clicked on the print label icon ? Did you get its data in your MyParcel interface ? Are you able to print the label for it from the MyParcel interface ?

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

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

Less More

- Posts: 27
- Thank you received: 1
-
-

3 years 11 months ago [\#347409](#347409) by [sep2014](/forum/user/31618-sep2014 "View sep2014's Profile")  Replied by *[sep2014](/forum/user/31618-sep2014 "View sep2014's Profile")* on topic *[Shipping plugin MyParcel error](/forum/28-shipping-methods/905303-shipping-plugin-myparcel-error#347409 "-- url of the page with the problem -- :   marrys.nl  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.4 -- PHP version -- : 7.4.9 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : First set the country code with setCountry() before running setFullStreet()  I have installed a new plugin for my client site: MyParcel shipping plugin. I have made a account in MyParcel and installed the API key in the plugin. When I have selected a order in HS and click on the button of connecting to MyParcel I get the message:  First set the country code with setCountry() before running setFullStreet()  What is this? Its not working so. What must I do?")*

Hi
The export to MyParcel is working perfect. I cannot test the printing of the labels now. I must first pay.
When I click on Download Labels a new page is comping up to pay first.
I will ask tomorriw my client = owner of the website if I can start a pay to test.

Is it not possible to print with the button in HS? It must always in MyParcel? Why is this button?

- [ ![Schermafbeelding2022-12-11om14.49.42.png](/forum/attachment/56103) ](/forum/attachment/56103 "...om14.49.42.png") [ ](/forum/attachment/56103?download=1 "...om14.49.42.png")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

3 years 10 months ago [\#347411](#347411) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Shipping plugin MyParcel error](/forum/28-shipping-methods/905303-shipping-plugin-myparcel-error#347411 "-- url of the page with the problem -- :   marrys.nl  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.4 -- PHP version -- : 7.4.9 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : First set the country code with setCountry() before running setFullStreet()  I have installed a new plugin for my client site: MyParcel shipping plugin. I have made a account in MyParcel and installed the API key in the plugin. When I have selected a order in HS and click on the button of connecting to MyParcel I get the message:  First set the country code with setCountry() before running setFullStreet()  What is this? Its not working so. What must I do?")*

Hi,

It's maybe linked to the error you got ? If you need to pay first to get the label with the interface provided by MyParcel, you also probably need to pay first to be able to use the "print label" button in the HikaShop interface.
Now, it's been more than a year since last time I used the interface on a customer's website, so I'm not very familiar with all the inner workings of MyParcel, especially since everything is in Dutch and I don't speak it.
What I can say is that the plugin works fine for the many merchants already using the plugin for what they are doing. If the "print label" button wouldn't work, many others would have told us before.
Maybe you need to check with MyParcel support ? They can probably shed some light on why it's doing that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA1MzAzLXNoaXBwaW5nLXBsdWdpbi1teXBhcmNlbC1lcnJvcj90bXBsPW1hcmtkb3du) 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.070 seconds

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