Difference between revisions of "Offerit API Deny Transaction"
From Offerit
OfferitRobC (talk | contribs) |
OfferitMegan (talk | contribs) |
||
Line 28: | Line 28: | ||
on error: | on error: | ||
ERROR: error message | ERROR: error message | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> |
Revision as of 13:52, 1 February 2013
This function allows you to deny a specific transaction for a customer. To use this function, you must make a SOAP call with the following parameters:
- orderid - Your order ID of the sale
- customerid - The customer ID of the sale
NuSOAP Example
This example continues from the main article NuSOAP Example):
$values = Array( 'transid' => 265, 'customerid' => 130 ); $result = $client->call('approve_transaction', $values, 'offeritapiadmin_wsdl');
Sample Output
on success: SUCCESS on error: ERROR: error message