Updating orders

Notifications

We send you notifications to keep you updated on the payment status. This extension accepts notifications sent from Adyen using the controller under URL /adyen/v6/notification/json.

To handle notifications, enable a standard JSON server notification from the Adyen Customer Area (CA) → Server Communication Settings.

HTTP Basic Authentication

The notifications are secured via HTTP Basic Authentication. Configure your username and password in Hybris backoffice and Adyen Customer Area (CA)As an extra layer of security you can white-list Adyen IP ranges so that this controller are only available from Adyen address space. 

Cron job

Adyen may send notifications in batches and their processing can be a resource intense procedure. This extension provides the cron job AdyenProcessNotificationCronJob that processes these notifications in a regular manner.

Event handling

The extension handles notification events by their eventCode. 

  • Authorization - Events are handled by registering the appropriate AUTHORIZATION transaction entry and emitting the AdyenAuthorized event to the corresponding order processes.
  • Capture - Events are handled by registering the appropriate CAPTURE transaction entry and emitting the AdyenCaptured event to the corresponding order processes.
  • Refund - Events are handled by registering the appropriate REFUND_FOLLOW_ON transaction entry and emitting the AdyenRefunded event to the corresponding return processes.
  • Cancellation - Events are handled by registering the appropriate CANCEL transaction entry.