developer:soap:methods:runtransactionapi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
developer:soap:methods:runtransactionapi [2009/07/02 10:48]
epouchak
developer:soap:methods:runtransactionapi [2010/04/07 10:40] (current)
charlie
Line 47: Line 47:
 <code php> <code php>
  <?​php  <?​php
- 
-try { 
             ​             ​
   $Request=array(   $Request=array(
Line 65: Line 63:
   $res=$client->​runTransactionAPI($token,​ $Request);   $res=$client->​runTransactionAPI($token,​ $Request);
     ​     ​
-  print_r($res);​ +  print_r($res); ​          ​
-  $this->​assertTrue($res->​RefNum>​0 &&  +
-             +
-}+
  
-catch (SoapFault $e){ 
-  echo $client->​__getLastRequest();​ 
-  echo $client->​__getLastResponse();​ 
-  die("​QuickSale failed :" .$e->​getMessage());​ 
-        ​ 
- 
 </​code>​ </​code>​
  
developer/soap/methods/runtransactionapi.txt · Last modified: 2010/04/07 10:40 by charlie

Page Tools