It sometimes happens that the WooCommerce order status stays stuck on Pending Payment, here we'll explain how to solve this.
Important: if you haven't configured the webhooks yet, please see this article first.
The username or password doesn't match
The first and most common reason is that the username/password isn't configured correctly. This means that whatever you filled in the Adyen webhook as username/password, doesn't match the username/password in the Adyen plugin in WooCommerce.
If this is the case, then you'll find the error in the WooCommerce logs (WooCommerce -> Status -> Logs -> Adyen):
Notifications could not be authenticated, please check username/password!
Also, you'll actually see what the username/password in Adyen is versus in WooCommerce, that way you can easily see the difference:
As a test, I created the webhook incorrectly on purpose and did a test payment. In the above screenshot I missed one character in the plugin.
The [Authorization] header is missing
The second reason is that the [Authorization] header is missing and this happens on the server level. So in this case, always contact your hosting provider and ask them to enable it.
Again, we can find this in the WooCommerce logs (WooCommerce -> Status -> Logs -> Adyen). An example of how the [Authorization] header should look like:
Canβt figure it out? You can always send a message to the support team via the chat bubble at the bottom right π Support to the rescue π¨βπ» π©βπ»