PaymentGatewayAdapter Interface
PaymentGatewayAdapters can implement this interface in order to process requests.
The following are methods for PaymentGatewayAdapter.
-
The entry point for processing payment requests. Returns the response from the payment gateway.
The entry point for processing payment requests. Returns the response from the payment gateway.
global commercepayments.GatewayResponse processRequest(commercepayments.PaymentGatewayContext var1)
- var1: Type: commercepayments.PaymentGatewayContext You can retrieve the request type and the request from the Context object.
Type: commercepayments.GatewayResponse
The response from the payment gateway.