Jump to content

Integrare Chiamata SOAP su Checkout


Recommended Posts

Buonasera a tutti ho creato una chiamata soap al gestionale di un fornitore che mi controlla la quantità attuale dei prodotti in base all'id e alla taglia..

Ora vorrei che appena clicco su PROCEDI CON IL CHECKOUT nella pagina ordine mi controlli la quantità dei prodotti e mi s colleghi a questa chiamata (file php).. Qualcuno mi da una mano?

 

$soapClient = new SoapClient("http://mioip/ws_sito/ws_sito.asmx?wsdl");
$params = array('ID_ARTICOLO' => '4232610', 'TAGLIA' => '42' );
$result = $soapClient->__soapCall("DisponibilitaVarianteTaglia", array($params));

echo $result->DisponibilitaVarianteTagliaResult;

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...