ccvs_auth

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:

Submit ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.