FAQ Q235: How do I setup my Mercanet 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 Mercanet account, you need to select Mercanet
in the Payment processing site
option on the site settings page.
Then, you need to set up Mercanet 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
with appropriate versions provided to you by Mercanet
2. edit the file mercanet-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 mercanet to this directory. The files which will need to be placed in this directory are: certif.fr.xxxxx.php, parmcom.xxxxx, parmcom.mercanet 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)
5. you can customize the logos and look of the payment page according to Mercanet documentation
Once the Mercanet 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.