<?php$client = new SoapClient( null, array( "location" => "https://PRODUCTION/cmd.php", "uri" => "http://PRODUCTION/soap" ) );$params = array ( "data" => array ( "login" => "demo", "password" => "password", ));$response = $client->__call("Login",$params);$token = $response["data"]["ssid"];$params = array ( "data" => array ( "ssid" => $token, "payment" => 545125 "amount" => 20 "currency" => "EUR" ));$response = $client->__call("Order_Payment",$params);?> INPUT: [data] => Array ( [ssid] => 29ae201f12b466c7347a29 [payment] => 545125 [amount] => 20 [currency] => EUR ) OUTPUT: [status] => ok
<?php$client = new SoapClient( null, array( "location" => "https://PRODUCTION/cmd.php", "uri" => "http://PRODUCTION/soap" ) );$params = array ( "data" => array ( "login" => "demo", "password" => "password", ));$response = $client->__call("Login",$params);$token = $response["data"]["ssid"];$params = array ( "data" => array ( "ssid" => $token, "payment" => 545125 "amount" => 20 "currency" => "EUR" ));$response = $client->__call("Order_Payment",$params);?>