Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $calculating_params = array(
- "id" => 1,
- "jsonrpc" => "2.0",
- "method" => "calculateShipping",
- "params" => array(
- "length" => $productWorker->getLength(),
- "width" => $productWorker->getWidth(),
- "height" => $productWorker->getHeight(),
- "weight" => $productWorker->getTotalWeight($products),
- "cod" => (int)$this->getTotalPrice(),
- "declared_cost" => (int)$this->getTotalPrice(),
- "kladr_id_from" => $this->settings['kladr_from'],
- //"courier" => "dpd",
- "kladr_id" => $cityWorker->getCityKLADR($address['region'], $address['city'])
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement