SimpleOffline plug-in

The SimpleOffline plug-in enables payments to be processed offline, or manually. Offline payments do not involve any direct communication with a payment back-end system. Instead, the SimpleOffline plug-in records events that have already happened outside of WebSphere Commerce. Transactions are recorded and maintained in the WebSphere Commerce database.

The following list details examples of offline payments:

The SimpleOffline plug-in can be used as is or it can be modified to suit your particular payment requirements. It can also be configured to support additional offline payment methods. The SimpleOffline plug-in supports the following payment methods:


Contents and location

The SimpleOffline plug-in package contains:

The .jar file for the plug-in and plug-in deployment descriptor are located in the following directories:


SimpleOffline plug-in security

By default, the following keywords are configured as sensitive data in the PaymentSystemPluginMapping.xml file for the SimpleOffline plug-in:

We can add new keywords to the PaymentSystemPluginMapping.xml file.

This data is retained after a pending credit card payment is approved manually in an offline transaction. To delete this data, Customer Service Supervisors (or users with the appropriate authority) can use the WebSphere Commerce Accelerator to edit the extended data for the transaction.


SimpleOffline payment and credit state handling

The SimpleOffline plug-in moves payment and credit states according to the payment plug-in specification, with the following exception. The plug-in will keep the payment and credit objects in the ing state (Approving, Crediting) when needed because the transaction is not being processed in real time. The plug-in sets the state field of the FinancialTransaction object.

When the SimpleOffline plug-in keeps a payment or credit transaction pending, a Customer Service Representative (CSR) must use the Payments menu in the WebSphere Commerce Accelerator to edit the payment or credit so that it can move to the next state (Success or Failed). The edit transaction moves the payment and credit from the ing state.

A manual step is required to complete the transaction to receive payment. This manual step of editing the pending payment can be performed using the Payments menu in the WebSphere Commerce Accelerator. When the payment state is Approving, an Approve action was performed but the results are still unknown. The operation will eventually succeed or fail. If the payment method is defined to keep in pending state (keepPendingStatus="true"), the target state of the Approve action is Approving. Payment plug-in controller will change the state to Approved or Failed accordingly based on the status value selected by the CSR when editing the pending transaction.

Likewise, when a credit state is Crediting, a Credit action was performed but the results are still unknown. The operation will eventually succeed or fail. If the payment method is defined to keep in pending state (keepPendingStatus="true"), the target state of the Credit action is Crediting. Payment plug-in controller will change the state to Credited or Failed accordingly.


SimpleOffline plug-in messages

The SimpleOffline plug-in does not use any special messages resource bundle and therefore has no additional properties files for message translation. It uses the standard messaging functions described in the Payment plug-in specification.


Related concepts
LOC (Line of credit) plug-in
Paymentech plug-in
SimplePunchout plug-in


Related tasks
Configure the SimpleOffline plug-in


Related reference
SimpleOffline plug-in financial transactions
SimpleOfflinePlugin.xml