Administer > Manage WebSphere Commerce features > Payments subsystem > Configure payment plug-ins > ... Software Express plug-in


Customize the Software Express plug-in

To customize the Software Express plug-in you can change the implementations of APIs that are in the sample.

You can customize any of the following APIs which are implemented in SiTefPluginBean.java in the sample plug-in:

approve(PluginContext, FinancialTransaction, boolean)

This API is used to approve the payment; it is usually used when an order is submitted.

deposit(PluginContext, FinancialTransaction, boolean)

This API is used to capture/deposit the previously approved payment; it is usually used when an order is shipped.

reverseApproval(PluginContext, FinancialTransaction, boolean)

This API is used to reverse the previously approved payment; it is usually used when an order is canceled.

credit(PluginContext, FinancialTransaction, boolean)

This API is used to refund the money to the shopper; it is usually used when an order is returned.

The sample plug-in, as written, does not support business users with CNPJ numbers.


Procedure

  1. Review how the Software Express plug-in APIs have been implemented in SiTefPluginBean.java.

  2. Refer to the Payment plug-in specification to change how any of the APIs are implemented.


Previous topic: Import the Software Express plug-in


Next topic: Set up the SiTef simulator


+

Search Tips   |   Advanced Search