Newer Version Available
PaymentGatewayAsyncAdapter Interface
Namespace
Usage
Implementing an asynchronous adapter also requires the processNotification method from the GatewayNotificationResponse class.
Example
PaymentGatewayAsyncAdapter Methods
The following are methods for PaymentGatewayAsyncAdapter.
processNotification(paymentGatewayNotificationContext)
Signature
global commercepayments.GatewayNotificationResponse processNotification(commercepayments.PaymentGatewayNotificationContext var1)
Parameters
- paymentGatewayNotificationContext
- Type: PaymentGatewayNotificationContext
- The PaymentGatewayNotificationContext object wraps all the information related to a gateway notification.
Return Value
Type: GatewayNotificationResponse
When the payment gateway sends a notification to the payments platform, the platform responds with a GatewayNotificationResponse indicating whether the platform succeeded or failed at receiving the notification.