1
23
45
67
89
1011
1213
1415
1617
1819
2021
2223
2425
2627
2829
30 | <?php
$client = new SoapClient("http://svc.paperlesstrans.com:8888/?wsdl");
$params =( array( "req" => array(
"Token" => array( "TerminalID" => "00000000-0000-0000-0000-000000000000", "TerminalKey" => "000000000"),
"TestMode" => "True", "ProfileNumber" => "1028427", //Required Field
"CustomFields" => array( "Field_1" => "Order 96317", "Field_2" => "Customer A987654",
"Field_3" => "Rewards A123456", "Field_4" => "",
"Field_5" => "", "Field_6" => "",
"Field_7" => "", "Field_8" => "",
"Field_9" => "", "Field_10" => ""))));
$run = $client->__call( "TerminateACHSchedule", array("parameters" => $params) );
echo "Date / Time Stamp: ".$run->TerminateACHScheduleResult->DateTimeStamp."<br>";
echo "Response Code: ".$run->TerminateACHScheduleResult->ResponseCode."<br>";if ($run->TerminateACHScheduleResult->ResponseCode == 0) {
echo "Transaction ID: ".$run->TerminateACHScheduleResult->TransactionID."<br>";} else {
echo "Error Message: ".$run->TerminateACHScheduleResult->Message."<br>";}
?> |