Develop > Controller layer > Integrate with back-end systems and external applications > Customize WebSphere Commerce Payments
Payment components in WebSphere Commerce
WebSphere Commerce includes the following to support secure online payments when WebSphere Commerce Payments is used:
- WebSphere Commerce Payments, which includes the following components:
- Two servlets that provide the interface to WebSphere Commerce Payments, and also work with the WebSphere Application Server. The servlets perform access control based upon the access role of the administrator accessing the system, and relay incoming HTTP requests from the Web server to the payment engine.
- The Cashier component for initiating payments using WebSphere Commerce Payments.
- Support for WebSphere Commerce Payments cassettes that adhere to the WebSphere Commerce Payments multi-payment framework architecture.
- Cashier profiles, which can be customized to meet the payment processing requirements.
- Sample: WebSphere Commerce Payments JSP pages and data beans to dynamically display the payment status of an order.
- A Web server that receives incoming transactions as HTTP requests and sends them out to WebSphere Commerce Payments.
- The database to store all the necessary payment information, either the WebSphere Commerce database, or a remote database for WebSphere Commerce Payments only.
- You can use multiple business policy commands to implement different business policies for different customers in the store. WebSphere Commerce stores support two sets of business policy commands:
- Payment using a Credit Line:
- DoCancelCLCmdImpl
- DoPaymentCLCmdImpl
- CheckPaymentAcceptCLCmdImpl
- DoDepositCLCmdImpl
- DoRefundCLCmdImpl
- Payment using cassette-based payment methods:
- DoCancelPMCmdImpl
- DoPaymentPMCmdImpl
- CheckPaymentAcceptPMCmdImpl
- DoDepositPMCmdImpl
- DoRefundPMCmdImpl
- The business policy commands implement the following interfaces:
- DoCancelPolicyCmd
- DoPaymentPolicyCmd
- CheckPaymentAcceptPolicyCmd
- DoDepositPolicyCmd
- DoRefundPolicyCmd
- Payment processing with WebSphere Commerce Payments
WebSphere Commerce allows merchants to process payments in a wide variety of ways. This ensures that most customers will find a payment method that makes them feel comfortable making purchases.
- WebSphere Commerce Payments user interface
WebSphere Commerce Payments runs in the background, so that the customer has a quick and seamless shopping experience. The Payment Administrator, however, must access the WebSphere Commerce Payments user interface to configure and process payments.
- Integrate WebSphere Commerce Payments manually
You must integrate WebSphere Commerce Payments manually if you have already created a store and want to add payment processing using WebSphere Commerce Payments.
- WCSRealm class
The WCSRealm class extends from the PaymentServletRealm class to allow the WebSphere Commerce Payments servlet to use the administrator information that is already registered in the user tables. This administrator information is used for WebSphere Commerce Payments administrators, so that you do not have to define another set of administrator IDs in order to use the WebSphere Commerce Payments user interface.
Related concepts
Cashier function in WebSphere Commerce Payments
Payment processing with WebSphere Commerce Payments
Related tasks
Related reference
Sample: WebSphere Commerce Payments JSP pages