I’m trying to figure out how to handle notifications that we get from Adyen when using Litiums Adyen payment app. Both for our test server and also for a local development environment. For a local dev environment it’s trickier I know, so let’s start with getting it to work for the test server.
Communication from the app to Adyen seems to work. Payments are created in Adyen. But orders get stuck in Initiated state, the payment doesn’t become authorized in Litium (has status Adyen Attention
Authorizing). It has status Authorized in Adyen though.
Looking at the Adyen documentation payment status notifications is sent via a webhook. I’m guessing that the webhook should talk to an endpoint for the Litium Adyen payment app. Or?
In the Litium documentation it’s not clear though if the app sets up the subscription to a webhook or if we need to set up a webhook manually in Adyen. I’m guessing the latter.
I’ve tried to set one up but it’s not clear what values to set it up with. What should the url for the endpoint be? What method to use? What credentials for authentication to use, if needed?
I’ve tried with the app url (https://xxx-adyen-payment.litium.app), method JSON and without authentication (since I have no idea what to put in there). The result I get in Adyen when it’s trying to talk to the endpoint is this.
HTTP response code: 404 Not found
Status: FAILED The required string “[accepted]” is not in the result.
Anyone who has done this setup and can give me some pointers what I’m doing wrong?
Litium version: 8.10.0