Hello.
Please tell me, in the moment before me the challenge is to create an automated delivery that will take data from a web service(SOAP,WSDL) for example: If the order to the buyer by the automatic calculated shipping, the price will depend on the city and the weight, the size. The data will take from the service KAZPOST.
I'm on my local WAMP server using PHP send data, it works, I now have to tie the delivery.
SOAP Client code:
<?php
$client = new SoapClient("http://rates.kazpost.kz/postratesws/postratesws.wsdl");
$result = $client--->GetPostRate(
[
"MailInfo" => [
"Product" => "4",
"MailCat" => "1",
"SendMethod" => "1",
"Weight" => "14000",
"From" => "14",
"To" => "05"
]
]
);
echo $result->PostRate;
?>
Please advise options.