Tutorials > Payments > Configure the SimpleOffline plug-in with two payment methods

< Previous | Next >


Tutorial: Configuring the payment system to use synchronous event

In this part of the tutorial, you configure the payment system to use synchronous or asynchronous payment event, which means that the payment action is handled in the same transaction with the order process or in a separate transaction.

In either the offline payment plug-in or the online payment plug-in, when communication speed is high, using the synchronous payment event makes the order flow simpler because the orders do not depend on the asynchronous event processing. However, when the online payment plug-in has low communication speed, you might need to configure the payment system to use asynchronous payment event so that the order flow can be completed sooner to gain better customer satisfaction and to release the system resources used by the order flow. By default, the payment system is configured as synchronous. For more information on the description of configuration, see EDPGlobalConfigs XML file.

Follow these steps to configure the payment system to use synchronous payment event:


Procedure

  1. Open the WC_EAR/xml/config/payments/edp/EDPGlobalConfigs.xml file and make changes to it as explained in the following steps:

    1. Package the assets as a partial application.

    2. Deploy the changed assets.

  2. Locate the <AlwaysExecuteProcessBGInFG> element in the file.

  3. Change the value for the element to true.

The payment system will now use a synchronous event. The payment action is handled in the same transaction as the order process.

In the next step of the tutorial we will learn how to create a payment configuration group called myGroup for the store ConsumerDirect.

< Previous | Next >


+

Search Tips   |   Advanced Search