“Include optional compensation” not functioning as expected
-
Hello,
Royal mail supports additional compensation for Special delivery services up to £2500 of the order value. However, if “Include optional compensation” is enabled and the order value is above £500 they do not appear as available. The service by default includes £500 compensation but it is not working for the optional/additional amounts of up to £2500.
It seems the additional compensation feature is not working, as the services have default caps.
Many Thanks
-
Hi @devksec, thank you for contacting us, I’ll be happy to help.
Can you share what Royal Mail service should be available and what shipping cost you expect?What is the weight of the cart and the dimensions of the package?
You can use the debug mode available in the plugin settings.
The above information will help us further analyse this calculation.
Best regards,
TomekHello,
This affects all Royal Mail special delivery services
The weight we have tried is 1KG & 2KG, with the sizes of 45x35x16cm (Standard small parcel size).
When using debug, it shows that the enabled toggle is inverted. When it is enabled, it disabled it and vise versa.
With “Include optional compensation” ticked, the output is “add rate considering compensation: no”. However, when left unticked, is is enabled.
Is this a bug with that feature toggle? Having it unticked actually enables it.
I’ve reviewed the debug info from a few of the services. The cart price is not being picked up and shown within the debug insurance amount.
So for the Special delivery services (which have £500 compensation by default), they’re always £500 regardless to what the cart value is. When the “Include optional compensation” is ticked, it then checks the cart value and won’t show pricing for orders above the minimum compensation amount.
So a few things are an issue:
- The debug is showing the Include optional compensation as enabled when its not and vice versa
- The compensation amounts are static and are not changing with the cart value, despite the plugin detecting the value being over the compensation amount
Hi @devksec,
I wanted to let you know that I have reproduced what you are reporting on our test environment, thank you for the detailed description, it was very helpful.
I need to consult this with our developers and will get back to you with more information as soon as possible.
Best regards,
TomekThats great news. If I can do anymore to assist with this then please let me know.
Hi @devksec,
All good for now. Our developers are looking for the solution. We’ll let you know as soon as we have a fix for that.
Kind regards,
Piotrek
Hi @devksec,
we checked and everything works fine, according to the description of the option: “If enabled, the order total value will be considered as a the compensation amount. Please mind that some economy services might be not available if the value of the purchased goods exceeds a certain limit and therefore they require to be shipped with other services instead.”
That is, if the maximum value of compensation for a given service exceeds the value of the order, the service will not be available with the selected option.
So if you want to use a given service to send orders with a value exceeding the compensation, the option must be unchecked.
Best regards
GrzegorzHello,
Can you test by doing the following and you will see the issue:
1. Enable the compensation option
2. Enable debug
3. Create an order with £1000 value (over the minimum £500 amount) and check the debug output.
The debug will show the order value & compensation value as £500, not as the cart value of £1000. The service has compensation options up to £2500, so when this is enable it should be changing accordingly. Here is an output of the “guaranteed_by_one_pm_service.yml” yaml file for that service, however it never triggers and changes from the 500 one.compensation: 500.00 tax: 0 prices: 100: 6.85 500: 7.65 1000: 8.95 2000: 11.15 10000: 15.45 20000: 19.45 compensation: 1000.00 prices: 100: 7.85 500: 8.65 1000: 9.95 2000: 12.15 10000: 16.45 20000: 20.45 compensation: 2500.00 prices: 100: 9.85 500: 10.65 1000: 11.95 2000: 14.15 10000: 18.45 20000: 22.45Key issues which occur:
- The compensation amount shown in debug is also the minimum (500) amount, even if the service has compensation amounts up to larger amounts. This means its either not picking up the cart value correctly or its stuck at the 500 compensation value.
- Prices are also not changing based on the above YAML file config for different compensation amounts, they always show the minimum amount (500) price.
- The debug output shows the compensation toggle as enabled “no” when it should be “yes”
-
This reply was modified 3 years, 3 months ago by
dev.
@devksec thanks for the tips. We just released version 1.3.3 with fix.
Thank you very much
Best regards
GrzegorzHello,
Thank you.
This seems to be working however, is there anyway to have the prices increase (Based on the compensation amounts) but not have the service disabled once it hits the compensation amount?
Currently if the “additional compensation” is enabled, for special deliveries, it will not be applicable for any order over £2500 in value. However if its disabled, the pricing will only show the minimum cost price. This means orders between £50-£2500 with “additional compensation” disable are incorrectly price.Should the service pricing not increase based on the cart value but not be disabled once it hits the cap?
Also, are there plans to allow service descriptions + add text for when they’re triggered for being free? Like with flexible shipping.Hi @devksec,
With the 1.3.3 release, we adjusted the cost calculation in the plugin to be consistent with Royal Mail’s price list. What you describe does indeed make sense, but we believe it should be an additional option in the plugin rather than a replacement for the current mechanism.
As the implementation of this additional function is a bit more complex, we’ll save this for future consideration. If you want to be informed when this option will be available in our solution, please contact us directly at https://octolize.com/support/. It will be easier for us to email you, as this forum thread, after some time, will be closed to new responses.
When it comes to the method description and free shipping label, currently with the Royal Mail Live Rates plugin you can customize the shipping method name in the Services Table.
I’ve also saved these additional suggestions to the list of plugin development ideas, thanks for the feedback.
I hope we have helped at least partially, if you have any additional comments please let us know, we are open to new ideas.
Best regards,
TomekAs we haven’t got any replies, I’m marking this topic as resolved for now.
Best regards,
Tomek
The topic ‘“Include optional compensation” not functioning as expected’ is closed to new replies.