2. How to manage gateways

The bundle provide handy services, which help to manage the activated gateways and options.

2.1. Services

Here are a couple of services which are available to use out of the box.

  • sylius.omnipay.gateway_factory - implement Omnipay\Common\GatewayFactory to manipulate with gateway and options
  • sylius.form.type.omnipay.gateway_choice - quick proxy service to list defined in configuration gateways

2.2. Controller

To be written.