creditcard

This object contains credit card information.

Field Name

Field Type

Description

In Get Functions?

In Set Functions?

ccdefault

string

Indicates whether credit card is the default

Value should be T or F.

yes

yes

ccexpiredate

string

Card expiration date

yes

no

ccname

string

Name on card

yes

yes

ccnumber

string

Card number

Value returned by Get function is masked.

yes

yes

ccsecuritycode

string

Card security code

Only needed if payment method is creditcard.

no

yes

customercode

string

Customer code

yes

yes

debtcardissueno

string

Card issue number for UK

Note: Not exposed in Customer record.

yes

yes

expmonth

string

Card expiration month

yes

yes

expyear

string

Card expiration year

yes

yes

internalid

string

Internal ID of credit card.

If the Payment Instruments feature is enabled, and the credit card has been tokenized, this contains the internal ID of payment card token.

yes

yes

paymentmethod

Object of type paymentmethod

Payment method type

Note: For credit card payments, this is the numerical code of the credit card type.

If the Payment Instruments feature is enabled, and the credit card has been tokenized, this is the numerical code of the payment token type.

yes

yes

savecard

string

Indicates whether the card should be saved.

Possible values are:

  • F - the card is not saved.

  • T - the card is saved.

If the order.submit() method is called with savecard set to T, the card is saved and it is also set as the default card.

If the customer methods addCreditCard() and updateCreditCard() are called, the card is saved regardless of the value of the savecard parameter. However, for these methods, the card is set as the default card only if the value of ccdefault is T.

no

yes

validfrom

string

Card valid from date

Note: Not exposed in Customer record.

yes

no

validfrommon

string

Card valid from month for UK

yes

yes

validfromyear

string

Card valid from month for UK

yes

yes

Related Topics:

ShoppingSession Methods
Customer Methods
Order Methods
PageGenerator Methods
StandardTagLibrary Methods
Shopping Objects

General Notices