diff --git a/uafrica/Customshipping/Model/Carrier/Customshipping.php b/uafrica/Customshipping/Model/Carrier/Customshipping.php index 10769afbd480f284a96c677c9878bdbbe244db94..aacb73300bfe0c0e5476eb067af7a2e5b174c21d 100644 --- a/uafrica/Customshipping/Model/Carrier/Customshipping.php +++ b/uafrica/Customshipping/Model/Carrier/Customshipping.php @@ -544,8 +544,9 @@ class Customshipping extends AbstractCarrier implements CarrierInterface $method->setCarrierTitle('uafrica'); $method->setMethod($code); $method->setMethodTitle($title['service_name']); - $method->setPrice($title['total_price']); - $method->setCost($title['total_price']); + //Convert total price from cents to dollars + $method->setPrice($title['total_price'] / 100); + $method->setCost($title['total_price'] / 100); $result->append($method); }