September 2001
Intermediate to advanced
768 pages
32h 45m
English
string ccvs_reverse(string session, string invoice)
Reverses an authorized transaction.
Returns:
OK on success; on error, bad invoice, duplicate invoice, invalid request, uninitialized, or unknown
Description:
cvs_reverse() reverses a transaction that was previously authorized using ccvs_auth(). session must be a valid session ID as returned by ccvs_init().
Version:
PHP 4 since 4.0.2
Example:
echo "Attempting to reverse the transaction:\n"; $ret = ccvs_reverse($session, 'foo'); echo "Returned: '$ret'; Return type: " . gettype($ret) . "\n"; echo "Textvalue: " . ccvs_textvalue($session) . "\n\n"; |
Read now
Unlock full access