Log in
Interface

GatewayInterface

Magento\Payment\Model\Method\Online\GatewayInterface

What it does

This interface defines the contract for online payment gateway integrations in Magento 2.

Developers implement this interface when creating custom payment methods that need to communicate with external payment gateways by posting requests and receiving responses.

It ensures a standardized way to handle gateway communication for all online payment methods.

Public Methods

  • postRequest()