<payment:payment>

Processes a credit card transaction.

<payment:useProcessor> must be called before using this tag.

All parameters and results are handled through a set of nested tags. These tags are:

* indicates zero or more uses allowed
? indicates zero or one use allowed
! indicates exactly one use required

Tag Information

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

Attributes

Name Required Evaluation Type Description
capture No Runtime boolean

When true (the default), both authorization and capture will be performed in this one step.

When false, a separate call to <payment:capture> or <payment:void> is required to either capture or void the payment.

test No Runtime boolean

When false (the default), a live transaction will be performed.

When true, a test transaction will be performed. Not all processors support test transactions through this mechanism.

orderNumber No Runtime String

Provides the application-specific unique order number.

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

currencyCode No Runtime String

Provides the 3-digit ISO 4217 currency code.

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

amount No Runtime String

Provides the amount.

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

taxAmount No Runtime String

Provides the tax amount.

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

taxExempt No Runtime boolean

Provides the tax exempt flag.

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

shippingAmount No Runtime String

Provides the shipping amount.

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

dutyAmount No Runtime String

Provides the duty amount.

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

merchantEmail No Runtime String

Provides the email address of the merchant.

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

invoiceNumber No Runtime String

Provides the invoice number of this transaction.

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

purchaseOrderNumber No Runtime String

Provides the purchase order number of this transaction.

A nested <payment:purchaseOrderNumber> 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.