Royal Mail Shipping Plugin

  • Posts: 239
  • Thank you received: 12
  • Hikashop Essential
5 months 4 weeks ago #306760

-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.6
-- PHP version -- : 7.2.18

Hi

I just wondered of anyone was aware of a Royal Mail plugin for shipping. I realise that I can manually create rates!

Thanks

Dave

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

  • Posts: 67435
  • Thank you received: 10006
  • MODERATOR
5 months 3 weeks ago #306761

Hi,

There is no specific plugin for Royal Mail. I think they don't have an API to dynamically calculate the shipping rates like UPS, FedEx or USPS.
So you need to manually create shipping methods for the different shipping fees you want to support on your website.
Note that BrainForge has an improved manual shipping plugin available here to better support UK post codes if you need to have shipping fees based on UK post code ranges:
brainforge.co.uk/shop/product/5-plg_hikashopshipping_bfmanual

The following user(s) said Thank You: davec

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

  • Posts: 117
  • Thank you received: 1
  • Hikashop Business Hikashop Essential
2 weeks 6 days ago #312598

I believe the Royal mail now have an API:

developer.royalmail.net/api

Can this be used to develop a Royal Mail shipping plugin?, after all these years and struggle :-)

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

  • Posts: 67435
  • Thank you received: 10006
  • MODERATOR
2 weeks 5 days ago #312606

Hi,

Well, yes and no.
The APIs available there allow you to create an integration to send the order details to Royal Mail and get back a label (so that you can print the label to put on the package) and track the package.
It's basically the same function that can be done with the MyParcel shipping plugin:
www.hikashop.com/marketplace/product/245...shipping-plugin.html
So it doesn't help to calculate the shipping fees automatically. You would still need to manually enter the rates like before.

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

  • Posts: 117
  • Thank you received: 1
  • Hikashop Business Hikashop Essential
2 weeks 5 days ago #312662

Nicolas,
Thanks for the reply. Yes I understand that I will need to add shipping fees in the backend of Hikashop with the relevant costs etc, I have already done that.

What I don't currently have is the ability to generate the label with the correct postage etc.

You mention the MyParcel plugin, this is for the Netherlands I believe and not the Royal mail? Could it be modified?

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

  • Posts: 67435
  • Thank you received: 10006
  • MODERATOR
2 weeks 5 days ago #312663

Hi,

Well, the MyParcel plugin is for the MyParcel shipping system.
So it would require developing a Royal Mail plugin for the Royal Mail shipping system.
It was just to give an understanding of what such plugin could do.
You could modify the MyParcel plugin for the Royal Mail plugin, yes. That would basically mean rewriting the whole plugin besides a few lines of code for the structure of the plugin. It's like payment plugins: they are all based on the same structure. So you can use the PayPal payment plugin to write the Stripe plugin, but if you look at their code, besides a few lines of code which the same because they use the same HikaShop triggers, same HikaShop variables/functions, most of the code is actually different.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum