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:

 

Tutorial tasks

This tutorial is divided into the following steps:

  1. Designing a payments cassette plug-in
  2. Create a payments cassette plug-in
  3. Configure a payments cassette on another server
  4. Configure a payment method to use the payments cassette plug-in
  5. Packaging the payments cassette plug-in
  6. Install the payments cassette plug-in

 

Resources

Download the zip file containing all the code relating to this tutorial.