ccvs_status

string ccvs_status(string session, string invoice) 

Returns the status of a transaction.

Returns:

CCVS status string on success; none if no transactions match

Description:

ccvs_status() looks up the transaction with the invoice name given by invoice and returns its status as a string. This can be any of the CCVS status strings as listed at the beginning of this chapter, or the string none if no such transaction exists. Additional information about the transaction can be fetched by calling ccvs_textvalue() immediately after calling ccvs_status(). session must be a valid session ID as returned by ccvs_init().

This is the function you would typically use to determine whether a transaction has been approved after a call to ccvs_auth() ...

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.