At any given time, a transaction will be in one of eight states. Using ccvs_status() on an invoice tells you its status. You can use a status string to select transactions when using ccvs_lookup() and ccvs_count(). The following table describes the eight status strings.
|
auth
|
Transactions that have been authorized and approved and are awaiting processing.
|
|
bad
|
Transactions that experienced a problem in ccvs_return() or ccvs_sale().
|
|
denied
|
Transactions that have been denied.
|
|
done
|
Transactions that have gone through ccvs_return() or ccvs_sale() and have been processed.
|
|
new
|
Transactions just returned by ccvs_new(), before anything else has been done.
|
|
ready
|
Transactions that have gone through ccvs_return() or ccvs_sale() and are ready to be processed.
|
|
review
|
Transactions that must be reviewed by a human.
|
|
unauth
|
Transactions that have gone through ccvs_auth() and are awaiting approval.
|