Jun 14, 2012

YesPayment - Direct Connection Implemtation

Query

Inquire for the transaction Sample code in PHP
$client = new SoapClient('YOUR-WSQL_HERE');
//Query(string,string,int );
$resp = $client->Query(
          "YOUR-MERCHANT-CODE", // STR
          "MERCHANT-REFERENCE", //STR
          YOUR-TRANSACTION-TYPE); //INT
var_dump($resp->QueryResult->any  );

No comments: