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.
<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.