September 2001
Intermediate to advanced
768 pages
32h 45m
English
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() ...
Read now
Unlock full access