Difference between revisions of "Database Table: cc trans"

From Dreamwidth Notes
Jump to: navigation, search
(Create page for new table cc_trans)
(No difference)

Revision as of 03:47, 10 April 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table.

Definition

CREATE TABLE cc_trans (
    cctransid INT UNSIGNED NOT NULL AUTO_INCREMENT,
    cartid INT UNSIGNED NOT NULL,
 
    gctaskref VARCHAR(255),
    dispatchtime INT UNSIGNED,
    jobstate VARCHAR(255),
    joberr VARCHAR(255),
 
    response CHAR(1),
    responsetext VARCHAR(255),
    authcode VARCHAR(255),
    transactionid VARCHAR(255),
    avsresponse CHAR(1),
    cvvresponse CHAR(1),
    responsecode mediumint UNSIGNED,
 
    ccnumhash VARCHAR(32) NOT NULL,
    expmon tinyint NOT NULL,
    expyear SMALLINT NOT NULL,
    firstname VARCHAR(25) NOT NULL,
    lastname VARCHAR(25) NOT NULL,
    street1 VARCHAR(100) NOT NULL,
    street2 VARCHAR(100),
    city VARCHAR(40) NOT NULL,
    state VARCHAR(40) NOT NULL,
    country CHAR(2) NOT NULL,
    zip VARCHAR(20) NOT NULL,
    phone VARCHAR(40),
    ipaddr VARCHAR(15) NOT NULL,
 
    PRIMARY KEY (cctransid),
    INDEX (cartid)
)

Relationships