Reference > Payments subsystem > Payment plug-in specification


Financial transaction execution flow

The Financial transaction execution flow illustrates how a financial transaction occurs, and how WebSphere Commerce interacts with the payment plug-in.

  1. The external application, such as WebSphere Commerce, requests an approve transaction.

  2. The Payment plug-in controller looks up the Payment that the approve transaction will be executed against.

  3. The Payment plug-in controller looks up the PaymentInstruction that will service the request.

  4. The Payment plug-in controller creates a FinancialTransaction that describes the approve transaction.

  5. The Payment plug-in controller finds the target plug-in to process the financial transaction.

  6. The Payment plug-in controller creates a PluginContext object with the plug-in deployment descriptor data.

  7. The Payment plug-in controller invokes the Plugin.approve() method.

  8. The plug-in returns the updated FinancialTransaction or throws an exception.

  9. The plug-in returns the results to the external application.


+

Search Tips   |   Advanced Search