Skip to main content

What is the payment driver interface in my payment driver?

All payment gateway drivers must implement the Aero\Payment\Contracts\PaymentDriverinterface.

The Aero\Payment\PaymentDriverabstract class can be used as the starting point, which supports the ECOMoperation mode by default.

It's important to register the payment driver with the payment processor, which is used by the checkout and admin modules. This should be done in a ServiceProviderusing the following call:

\Aero\Payment\PaymentProcessor::registerDriver('my_gateway', \Acme\PaymentDriver::class);