Reference > Payments subsystem > WCPayments plug-in
WCPayments plug-in and Cashier profiles
A Cashier profile is an XML document that describes how an order is created in WebSphere Commerce Payments for a particular payment method. Each payment cassette in WebSphere Commerce has one or more Cashier profiles. More than one Cashier profile can be provided to address special situations. For example, the Cassette for VisaNet has a Cashier profile for regular credit card transactions, and a separate profile to handle purchasing card transactions. Cashier profiles contain information needed to process requests, such as the command to use for that payment method, a list of the parameters required for WebSphere Commerce Payments and the cassette, and any optional parameters. For example, the Cashier profile for the OfflineCard Cassette identifies special parameters needed to process Address Verification Service (AVS) data, and special parameters required by WebSphere Commerce Payments to run the DEPOSIT command when performing offline payment transactions.
TheWCPayments plug-in uses Cashier profiles. Some parameter names are changed to follow the normalized keywords for a payment instruction.
Do not change the required parameters. If you currently use a payment cassette, you can add new parameters, but do not remove or change those required as stated in the profile. For example, do not change this line:
<Parameter name="$PANB" sensitive="true"><CharacterText>{account}</CharacterText></Parameter>
to this line:
<Parameter name="$PANB" sensitive="true"><CharacterText>{ACCOUNT}</CharacterText></Parameter>
Required parameters
- CollectPayment
- storeID
- orderId
- CURRENCY
- AMOUNT
- AMOUNTEXP10
- purchaseorder_id
- card_number
- Deposit (<Command name="DEPOSIT">)
- storeId
- orderId
- payment_number
- AMOUNT
Optional parameters are noted in the comments within each profile.
The APPROVEFLAG and DEPOSITFLAG parameters are not used by theWCPayments plug-in. If either of these parameters contains a non-zero character text value in the Cashier profile, theWCPayments plug-in will not work correctly.
- WCPPlugin_BankServACH.profile
The following code is the cashier profile provided in WebSphere Commerce Payments for the Cassette for BankServACH.
- WCPPlugin_CustomOffline_COD.profile
The following code is the cashier profile provided in WebSphere Commerce Payments for the CustomOffline cassette using the cash on delivery (COD) payment method. "COD" is the internal keyword value for the $METHOD protocol data parameter required by the cassette.
- WCPPlugin_Paymentech.profile
The following code is the cashier profile provided in WebSphere Commerce for the Cassette for Paymentech.
- WCPPlugin_CustomOffline_BillMe.profile
The following code is the cashier profile provided in WebSphere Commerce for the CustomOffline cassette using the BillMe payment method. "BillMe" is the internal keyword value for the $METHOD protocol data parameter required by the cassette.
- WCPPlugin_OfflineCard.profile
The following code is the cashier profile provided in WebSphere Commerce for the OfflineCard cassette.
- WCPPlugin_VisaNet.profile
The following XML code is the cashier profile provided in WebSphere Commerce for the Cassette for VisaNet.
Related concepts
WCPayments plug-in and Cashier profiles
Related tasks
Configure the WCPayments plug-in
Related reference
WCPayments plug-in and Cashier profiles
WCPPlugin_CustomOffline_COD.profile
WCPPlugin_CustomOffline_BillMe.profile