/* Full Functions (The actual CCVS functions and any internal php hooked functions such as MINFO) */
/* {{{ proto string ccvs_init(string name)
- ??? */
+ Initialize CCVS for use */
PHP_FUNCTION(ccvs_init) /* cv_init() */
{
zval **name;
/* }}} */
/* {{{ proto string ccvs_done(string sess)
- ??? */
+ Terminate CCVS engine and do cleanup work */
PHP_FUNCTION(ccvs_done) /* cv_done() */
{
zval **sess;
/* }}} */
/* {{{ proto string ccvs_new(string session, string invoice)
- ??? */
+ Create a new, blank transaction */
PHP_FUNCTION(ccvs_new) /* cv_new() */
{
zval **psess;
/* }}} */
/* {{{ proto string ccvs_add(string session, string invoice, string argtype, string argval)
- ??? */
+ Add data to a transaction */
PHP_FUNCTION(ccvs_add) /* cv_add() */
{
zval **psess;
*/
/* {{{ proto string ccvs_delete(string session, string invoice)
- ??? */
+ Delete a transaction */
PHP_FUNCTION(ccvs_delete) /* cv_delete() */
{
zval **psess;
/* }}} */
/* {{{ proto string ccvs_auth(string session, string invoice)
- ??? */
+ Perform credit authorization test on a transaction */
PHP_FUNCTION(ccvs_auth) /* cv_auth() */
{
zval **psess;
/* }}} */
/* {{{ proto string ccvs_return(string session, string invoice)
- ??? */
+ Transfer funds from the merchant to the credit card holder */
PHP_FUNCTION(ccvs_return) /* cv_return() */
{
zval **psess;
/* }}} */
/* {{{ proto string ccvs_reverse(string session, string invoice)
- ??? */
+ Perform a full reversal on an already-processed authorization */
PHP_FUNCTION(ccvs_reverse) /* cv_reverse() */
{
zval **psess;
/* }}} */
/* {{{ proto string ccvs_sale(string session, string invoice)
- ??? */
+ Transfer funds from the credit card holder to the merchant */
PHP_FUNCTION(ccvs_sale) /* cv_sale() */
{
zval **psess;
/* }}} */
/* {{{ proto string ccvs_void(string session, string invoice)
- ??? */
+ Perform a full reversal on a completed transaction */
PHP_FUNCTION(ccvs_void) /* cv_void() */
{
zval **psess;
/* }}} */
/* {{{ proto string ccvs_status(string session, string invoice)
- ??? */
+ Check the status of an invoice */
PHP_FUNCTION(ccvs_status) /* cv_status() */
{
zval **psess;
/* }}} */
/* {{{ proto int ccvs_count(string session, string type)
- ??? */
+ Find out how many transactions of a given type are stored in the system */
PHP_FUNCTION(ccvs_count) /* cv_count() */
{
zval **psess;
/* }}} */
/* {{{ proto string ccvs_lookup(string session, string invoice, int inum)
- ??? */
+ Look up an item of a particular type in the database */
PHP_FUNCTION(ccvs_lookup) /* cv_lookup() */
{
zval **psess;
/* }}} */
/* {{{ proto string ccvs_report(string session, string type)
- ??? */
+ Return the status of the background communication process */
PHP_FUNCTION(ccvs_report) /* cv_report() */
{
zval **psess;
/* }}} */
/* {{{ proto string ccvs_command(string session, string type, string argval)
- ??? */
+ Performs a command which is peculiar to a single protocol, and thus is not available in the general CCVS API */
PHP_FUNCTION(ccvs_command) /* cv_command() */
{
zval **psess;
/* }}} */
/* {{{ proto string ccvs_textvalue(string session)
- ??? */
+ Get text return value for previous function call */
PHP_FUNCTION(ccvs_textvalue) /* cv_textvalue() */
{
zval **psess;