Stores a credit card number to a bank-provided, CISP-compliant storage mechanism.
The output of the tag is the bank-provided unique token that may be used later to initiate payments with the <payment:payment> tag (see <payment:creditCardGUID>).
<payment:useProcessor> must be called before using this tag.
The credit card details are provided through a set of tags nested within this tag. The specific tags required may be processor-specific, but the minimum set of nested tags will generally be:
- ! <payment:cardNumber> - The credit/debit card number
- ! Either <payment:expirationDate>
or both <payment:expirationMonth>
and <payment:expirationYear>:
- ! <payment:expirationMonth> - The expiration month (1-12)
- ! <payment:expirationYear> - The expiration year (either two or four digit format)
- ! <payment:expirationDate> -
The expiration date in either
MM/YY
orMM/YYYY
format
- ! <payment:firstName> - The cardholder's first/given name
- ! <payment:lastName> - The cardholder's last/family name
- ! <payment:streetAddress1> - The billing street address (line 1)
- ! <payment:city> - The billing city
- ! <payment:countryCode> - The card holder's two-digit ISO 3166-1 alpha-2 country code
The complete list of possible nested tags:
- ! <payment:cardNumber> - The credit/debit card number
- ! <payment:expirationMonth> - The expiration month (1-12)
- ! <payment:expirationYear> - The expiration year (either two or four digit format)
- ! <payment:expirationDate> -
The expiration date in either
MM/YY
orMM/YYYY
format - ? <payment:cardCode> - The CVV2 card security code (three or four digits)
- ! <payment:firstName> - The cardholder's first/given name
- ! <payment:lastName> - The cardholder's last/family name
- ? <payment:companyName> - The company name on the card
- ? <payment:email> - The email address of the customer
- ? <payment:phone> - The phone number of the customer
- ? <payment:fax> - The fax number of the customer
- ? <payment:customerId> - An application-supplied customer identifier
- ? <payment:customerTaxId> - The Social Security Number (SSN) or Employer Identification Number (EIN) of the customer
- ! <payment:streetAddress1> - The billing street address (line 1)
- ? <payment:streetAddress2> - The billing street address (line 2)
- ! <payment:city> - The billing city
- ? <payment:state> - The billing state/province/prefecture
- ? <payment:postalCode> - The billing ZIP/postal code
- ! <payment:countryCode> - The card holder's two-digit ISO 3166-1 alpha-2 country code
- ? <payment:comment> - Any user or merchant comments associated with this card
? indicates zero or one use allowed
! indicates exactly one use required
Tag Information
Tag Class: | com.newmediaworks.taglib.payment.StoreCreditCardTag |
---|---|
TagExtraInfo Class: | None |
Body Content: | JSP |
Display Name: | None |
Attributes
No Attributes Defined.
Variables
No Variables Defined.