September 2001
Intermediate to advanced
768 pages
32h 45m
English
string ccvs_auth(string session, string invoice)
Submits an invoice for authorization approval.
Returns:
OK on success; on error, bad invoice, duplicate invoice, invalid request, uninitialized, or unknown
Description:
ccvs_auth() submits an invoice to the clearinghouse for approval. This doesn’t perform the actual transaction; it simply authorizes the transaction. If successful, the invoice is given the unauth status to indicate that it’s awaiting approval; you’ll need to check later with ccvs_status() to see whether approval has been given (status auth) or denied (status denied), or requires human intervention (status review). session must be a valid session ID as returned by ccvs_init().
Version:
PHP 4 since 4.0.2
Example:
Read now
Unlock full access