Introduced in Feature Pack 1

Customizing the Software Express plug-in

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

About this task

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 if you want to change how any of the APIs are implemented.