FAQ Q254: How do I setup my LCL Sherlock's account to accept payments for the reservations?

For general information about accepting payments in Planyo see Q121: I'd like to accept credit card payments for the reservations.

First of all, to accept payments through your Sherlock's account, you need to select Sherlock's in the Payment processing site option on the site settings page.

Then, you need to set up Sherlock's on your own server by following the steps below:

1. unzip files from this ZIP file to a directory on your server which is accessible via http. If not using a 32-bit Linux-based machine, replace the files request and response with appropriate versions provided to you by Sherlock's

2. edit the file sherlock-parameters.php and place your merchant id in place of the test id (011223344551111)

3. create a new directory on your server which is NOT accessible via http and copy certificate and parameter files provided by sherlock's to this directory. The files which will need to be placed in this directory are: certif.fr.xxxxx.php, parmcom.xxxxx, parmcom.sherlocks where xxxxx is your merchant id

4. edit the file pathfile which is found in the directory you created in point 1 and change the values F_DEFAULT, F_PARAM, F_CERTIFICATE to point to the directory where the certificate and parameter files were placed (point 3)
For example, if you placed the certificate and parameter files (pt 3) in /var/lcl-files/, then the file should include the following lines:
As you see, each line includes the full directory and then a postfix which is not a real file (e.g. certif instead of certif.fr.xxxx.php).

5. you can customize the logos and look of the payment page according to Sherlock's documentation

Once the Sherlock's files on your server are set up, go to Site Settings / Edit in planyo and enter the URL of the file proxy.php which is found in the directory you created in point 1, e.g. http://www.yourserver.com/directory/proxy.php.

Please note that if you choose the authorize-only processing method, the customer's credit card will not be charged, LCL will only make an authorization for you to charge the card at a later time. The actual charge can then be claimed manually via the LCL backend within 99 days.
Back to Frequently Asked Questions