<payment:creditCard>

Provides the credit card details to a <payment:payment> tag.

Must be nested in a <payment:payment> tag.

Contains nested:

? indicates zero or one use allowed
! indicates exactly one use required

Tag Information

Tag Class: com.newmediaworks.taglib.payment.CreditCardTag
TagExtraInfo Class: None
Body Content: JSP
Display Name: None

Attributes

Name Required Evaluation Type Description
cardNumber No Runtime String

Provides the card number.

Any non-numeric characters will be ignored.

A nested <payment:cardNumber> tag will override this value.

maskedCardNumber No Runtime String

Provides the masked (partial) card number.

A nested <payment:maskedCardNumber> tag will override this value.

expirationMonth No Runtime byte

Provides the expiration month.

Must be in the range 1 to 12.

A nested <payment:expirationMonth> tag will override this value.

expirationYear No Runtime short

Provides the expiration year.

May be either a two-digit or four-digit year. If a two-digit year (or any number between 0 and 99), will be assumed to be in the current century.

A nested <payment:expirationYear> tag will override this value.

expirationDate No Runtime String

Provides the expiration month and year.

Must be in the format MM/YY or MM/YYYY.

Month must be in the range 1 to 12.

Year may be either a two-digit or four-digit year. If a two-digit year (or any number between 0 and 99), will be assumed to be in the current century.

A nested <payment:expirationDate> tag will override this value.

cardCode No Runtime String

Provides the CVV2 card security code (three or four digits).

A nested <payment:cardCode> tag will override this value.

creditCardGUID No Runtime String

Provides the token of a stored credit card.

See <payment:storeCreditCard> for storing cards.

A nested <payment:creditCardGUID> tag will override this value.

firstName No Runtime String

Provides a first/given name.

A nested <payment:firstName> tag will override this value.

lastName No Runtime String

Provides a last/family name.

A nested <payment:lastName> tag will override this value.

companyName No Runtime String

Provides a company name.

A nested <payment:companyName> tag will override this value.

email No Runtime String

Provides the email address.

A nested <payment:email> tag will override this value.

phone No Runtime String

Provides the phone number of the customer.

A nested <payment:phone> tag will override this value.

fax No Runtime String

Provides the fax number of the customer.

A nested <payment:fax> tag will override this value.

customerId No Runtime String

Provides an application-specific customer identifier.

A nested <payment:customerId> tag will override this value.

customerTaxId No Runtime String

Provides the Social Security Number (SSN) or Employer Identification Number (EIN) of the customer.

A nested <payment:customerTaxId> tag will override this value.

streetAddress1 No Runtime String

Provides the street address (line 1).

A nested <payment:streetAddress1> tag will override this value.

streetAddress2 No Runtime String

Provides the street address (line 2).

A nested <payment:streetAddress2> tag will override this value.

city No Runtime String

Provides the city.

A nested <payment:city> tag will override this value.

state No Runtime String

Provides the state/province/prefecture.

A nested <payment:state> tag will override this value.

postalCode No Runtime String

Provides the ZIP/postal code.

A nested <payment:postalCode> tag will override this value.

countryCode No Runtime String

Provides a two-digit ISO 3166-1 alpha-2 country code.

A nested <payment:countryCode> tag will override this value.

comment No Runtime String

Provides the comment.

A nested <payment:comment> tag will override this value.

Variables

No Variables Defined.