Develop > Controller layer > Integrate with back-end systems and external applications > Customize WebSphere Commerce Payments
Cashier function in WebSphere Commerce Payments
The Cashier function is a Java class provided with WebSphere Commerce Payments. WebSphere Commerce uses the Cashier function to simplify the process of creating orders and payments. This component increases the flexibility available for payment processing when payment cassettes are used. The Cashier interacts with the merchant server and the WebSphere Commerce Payments framework, so that these two components are independent. As such, you do not have to modify the merchant server in order to adopt any new cassettes or custom cassettes for new payment methods. The mechanism that makes this possible are the Cashier profiles.
Cashier profiles are XML documents that describe how orders should be created for a given cassette as well as the methods for collecting cassette-specific parameters from the merchant server (in this case, WebSphere Commerce). This allows the code integrating the merchant server and WebSphere Commerce Payments to be written in a generic way. The Cashier runs on the same machine as the merchant server.
The software only has to be coded once to call the Cashier for order creation. Any new cassette can then be added by simply including a new Cashier profile.
- Cashier profiles
Cashier profiles are XML documents that contain all the information required by the Cashier function to create WebSphere Commerce Payments API requests, which in turn create orders for a specific payment cassette. The profiles include a mapping of all the framework and protocol data keywords to sources of data.
- Cashier profiles
Cashier profiles are XML documents that implement the profile.dtd document type definition.
- Create new Cashier profiles
You may want to create new Cashier profiles for WebSphere Commerce.
- Cashier profile customization
WebSphere Commerce includes a set of standard Cashier profiles, one for each of the following WebSphere Commerce Payments cassettes or payment method:
- Cashier profile parameter values
You may want to create or customize Cashier profiles for any new WebSphere Commerce Payments cassettes to add.
- Specify cassette parameter values using the Cashier profile
To modify a parameter value specified in a Cashier profile:
Related concepts
Related tasks
Related reference