How do I resolve webhook issues such as “unprocessed events” and 301, 302, 401 or 500 errors?
Webhook event issues can be related to misconfigured webhooks or an issue with cronjob.
Webhooks are responsible for sending the notifications from the Adyen platform to your server. Then, the server sends a notification to the Magento integration.
If you’re testing the notification endpoint in Customer Area > Developers > Webhooks > Troubleshoot and the plugin returns with a 301, 302 or 401 error instead of an [accepted] response, there might be something wrong in the webhook endpoint settings.
Note: If you’re configuring the endpoint with http, try using https instead.
Note: If you set the SSL version to SSL, try setting it on TLSv1.2 instead.
Issues with webhooks related to cron job
If Magento shows the message you have [number] unprocessed notifications when testing the endpoint, there’s a problem with the system's cron job. The Magento cron doesn’t only accept the webhooks, but also has to process the webhooks to update the status in Magento.
Sometimes the issue is related to your server communication and cron. In that case, the comment history on your order page wouldn't show the Adyen HTTP Notification(s) messages.
To process payments, the Magento cron will have to acknowledge each of the webhook events we send to your server with an [accepted]. Second, your cron will need to process the webhook events.
Tip: Find more possible reasons you don’t receive webhook events.
If the notifications are being accepted, it's possible the cron isn't processing the notifications. Check this by testing the configuration in the Webhooks (with the Edit & Test button).
Note: In those cases, please check your cron.
Was this article helpful?
Learn more on this topic and practice what you’ve learned.Go to your Customer Area