ERROR CODE / SERVER_KEY_INVALID
The server key used is invalid or revoked
The key from the Authorization header belongs to no active website, has been revoked or has expired. A write key from the browser does not work here.
01
What is missing while this finding stands
Your server reports no purchases or refunds; none of them is stored.
02
How to fix it
01
Open “Setup”, tab “Server Events API”, and create a server key there or generate a new one.
02
Enter it on your server, for example as METRUNIO_SERVER_KEY, and send it as “Authorization: Bearer …”.
03
Then send a test order with environment “test” and check it under “Events”.