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.

Important: 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 that are 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.

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