MyParcel plugin error

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
5 years 3 months ago #309334

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.3
-- Error-message(debug-mod must be tuned on) -- : agecheck not possible

Hi,

In the MyParcel plugin I found a little bug. When exporting an order with a foreign address to MyParcel I get this errormessage. See screenshot.

Attachments:
Last edit: 5 years 3 months ago by michelpouli.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
5 years 3 months ago #309337

Hi,

You need to turn off the "age check" setting in the plugin settings.

Please Log in or Create an account to join the conversation.

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
5 years 3 months ago #309373

Hi Nicolas,

I added a screenshot and as you can see there it is deactivated?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
5 years 3 months ago #309375

Hi,

Then add the line:

if($order->shipping_address->address_country_code_2 == 'NL')
before the line:
$consignment->setAgeCheck($this->plugin_options['age_check']);
in the code of the plugin.

Please Log in or Create an account to join the conversation.

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
5 years 3 months ago #309398

Thanks Nicolas,

that worked.

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum