Wednesday 03 January 2007 3:36:00 pm
Now that we have payment gateway workflow events, we must specify when we want this payment gateway event to happen.
In the Setup tab, click the Triggers link in the left menu.
Payment gateway events always happen in the 'shop' module during the 'checkout' function. The connection type is 'before'.
Click the select box under the Workflow column on the row shop, checkout, before.
You will be presented with the workflows that are configured in your application. Select the Authorize.Net workflow if you would like your customers to be required to pay via Authorize.Net. Alternatively, if you would like to give your customers the choice of paying by any additional payment gateways (eZ PayPal or Paynet being popular examples), select the 'All Gateways' workflow instead.
For the purposes of this tutorial, the 'All Gateways' workflow is selected so that we can see how the Select payment method view would look. Click Apply Changes. We have now completed all the steps you need to install a payment gateway!