Tutorial: Developing a payment plug-in for WebSphere Commerce Payments
This tutorial demonstrates how to develop a payment plug-in using WebSphere Commerce Development Environment. This tutorial takes the WebSphere Commerce payments cassettes plug-in as an example. This plug-in is delivered as one of the plug-ins available without customization that work with Payment Plug-in Controller. This plug-in is used to connect to the old implementation of a WebSphere Commerce Payments instance. It provides a compatible way to support all the existing on-line cassettes such as BankServACH, VisaNet, Paymentech and other third-party developed cassettes. This plug-in implements the QueryablePlugin interface because it uses the query interface to synchronize the object status between the plug-in and the payments cassettes. For detailed information about the WebSphere Commerce payments cassette plug-in, see the topic Payment Rules.
After completing this tutorial, you should be able to develop a plug-in. The source code is available in this tutorial. You can take this plug-in as an example to develop your plug-in for your payment service system.
Audience
This tutorial is intended for application developers for payment service providers, e-commerce solutions, or external payment systems using IBM WebSphere Commerce Payments.
Time required
Expect this tutorial to take 8 hours to complete.
Prerequisites
To complete this tutorial, you should install IBM WebSphere Commerce Developer, install a remote payment server on another machine, and configure your WebSphere Commerce Developer to use the remote payment server. To set up the remote payment server, refer to Configure the WebSphere Commerce Development Environment to use the external Payments server.
You should also be familiar with the following terms and concepts:
- WebSphere Commerce Payments
- WebSphere Commerce Payments Cassettes
- WebSphere Commerce Payments Client API
- Payment Rules
- Payments Plug-in
- Payments Plug-in Controller
- Payments Plug-in Specifications
- Payment Business Policy
- Session Bean
Tutorial tasks
This tutorial is divided into the following steps:
- Designing a payments cassette plug-in
- Create a payments cassette plug-in
- Configure a payments cassette on another server
- Configure a payment method to use the payments cassette plug-in
- Packaging the payments cassette plug-in
- Install the payments cassette plug-in
Resources
Download the zip file containing all the code relating to this tutorial.
(C) Copyright IBM Corporation 1996, 2006. All Rights Reserved.