PaymentGatewayAdapter Interface

PaymentGatewayAdapters can implement this interface in order to process requests.

Namespace

commercepayments

PaymentGatewayAdapter Methods

The following are methods for PaymentGatewayAdapter.

processRequest(var1)

The entry point for processing payment requests. Returns the response from the payment gateway.

Signature

global commercepayments.GatewayResponse processRequest(commercepayments.PaymentGatewayContext var1)

Parameters

var1
Type: commercepayments.PaymentGatewayContext
You can retrieve the request type and the request from the Context object.

Return Value

Type: commercepayments.GatewayResponse

The response from the payment gateway.