Come risolvere i problemi relativi ai webhook come gli "eventi non elaborati" e gli errori 301, 302, 401 o 500?
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 Adobe Commerce 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 Adobe Commerce shows the message you have [number] unprocessed notifications when testing the endpoint, there’s a problem with the system's cron job. The Adobe Commerce cron doesn’t only accept the webhooks, but also has to process the webhooks to update the status in Adobe Commerce.
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 Adobe Commerce 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.
Questo articolo è stato utile?
Approfondisci questo argomento e metti in pratica ciò che hai imparato.