-- url of the page with the problem -- :
albertatacticalrifle.com
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.6.10
Currently CanadaPost (CP) plugin ignores handlig fee options.
Here how it looks in the sellonline.canadapost.ca profile:
The handling fee should be added to the shipping rate calculated and returned by the CP server. The handling fee is returned by the server, but the HikasShop CP plugin ignores it.
Here is an XML fragment returned by the CP server:
I badly need to include it. This how I fixed the issue.
In file
plugins/hikashopshipping/canadapost/canadapost.php
line about 630-635 is
foreach($xml->ratesAndServicesResponse->product as $rate){
$shipment[$i]['value'] = $rate->rate->__toString();
After it I added the handling fee inclusion
if (isset($xml->ratesAndServicesResponse->handling)) {
$handling = $xml->ratesAndServicesResponse->handling->__toString();
$shipment[$i]['value'] = $shipment[$i]['value']+$handling;
}
Please include this in the next plugin version so I don't loose my modifications.
Thank you.