Storing Credit Card Numbers in XCart

How To Configure XCart To Store Credit Card Numbers

 

Credit card numbers may not be stored in the default XCart config – but must be stored for the import script to work. Here are the relevant sections of the config.php file, with the recommended settings in place:

 

# Storing Customers' Credit Card Info

#

# The variable $store_cc defines whether you want the credit card info provided

# by your customers at checkout to be stored in the database or not.

# The credit card info that can be stored includes:

# - Cardholder's name;

# - Card type;

# - Card number;

# - Valid from (for certain card types);

# - Exp. date;

# - Issue No (for certain card types).

#

# Admissible values for $store_cc are 'true' and 'false':

# 'true' - X-Cart will store your customers' credit card info in the order

# details and user profiles;

# 'false' - X-Cart will not store your customers' credit card info anywhere.

#

# NOTE:

# If you are going to use 'Subscription' module, set $store_cc to 'true'.

#

 

$store_cc = true;

 

# Storing CVV2 codes

#

# The variable $store_cvv2 defines whether you want the CVV2 codes of your

# customers' credit cards to be stored in the database or not.

#

# Admissible values for $store_cvv2 are 'true' and 'false':

# 'true' - X-Cart will store the CVV2 codes of your customers' credit cards

# in the order details and user profiles;

# 'false' - X-Cart will not store the CVV2 codes of your customers' credit

# cards anywhere.

#

# NOTE:

# VISA International does not recommend storing CVV2 codes along with credit

# card numbers.

# If you are going to use 'Subscription' module, set $store_cvv2 to 'true'.

#

 

$store_cvv2 = false;

 

# Storing Customers' Checking Account Details

#

# The variable $store_ch defines whether you want your customers checking

# account details to be stored in the database or not.

# The checking account details that can be stored include:

# - Bank account number;

# - Bank routing number;

# - Fraction number.

#

# If Direct Debit is used then Account owner name is stored instead of Fraction number.

#

# Admissible values for $store_ch are 'true' and 'false':

# 'true' - X-Cart will store your customers' checking account details in the

# order details;

# 'false' - X-Cart will not store your customers' checking account details

# anywhere.

#

 

$store_ch = true;