Issue:
Certain shop development environments require the usage of basic HTTP authentication like an .htaccess file to prevent anyone from accessing the shop from outside, while at the same time being able to communicate with Wallee using the API and Webhooks.
After activating .htaccess file, the Webhook Connection might fail and an Error 40x is being thrown. (Wallee can not communicate with the shop any more after activation)
Solution:
Using a special header, wallee can authenticate on the .htaccess file. To use it, first navigate to the Affected Webhook URL, which looks similar to this:
On the following page, choose the Header "Authorization":
On the following Value-Field, enter a value that can be read by your .htaccess file.
The following documentation might help to craete your authentication string:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization#basic_authentication
Based on above instructions, the Value field might look like this:
Click on Create and save. From now on, the authentication will be used.
! |
Delete the Authentication Header once your site is not using .htaccess for basic authentication anymore. |
Comments
0 comments
Please sign in to leave a comment.