FAQ Q227: How do I setup my EBS account to accept payments for the reservations?
Seksjon: Integrations with specific payment gateways
1. Download and unzip the files from
http://www.planyo.com/ebs/planyo-ebs-proxy.zip to a location on your
server.
2. Edit the file
planyo-ebs-proxy.php (one of the files in the zip)
and set the 3 variables near the top of the file:
$account_id = 'xxx'; // Put your account ID here.
$secret_key = 'xxx'; // Put your secret key here.
$ebs_mode = 'TEST'; // choose the mode: TEST or LIVE
You'll need to fill these out with your actual values. Use TEST for
testing and then change to LIVE once done.
Example:
$account_id = '7864'; // Put your account ID here.
$secret_key = '136c8736a9c0dff4cef36e46b24f454e5'; // Put your secret key here.
$ebs_mode = 'TEST'; // choose the mode: TEST or LIVE
3. Make sure all the personal fields (phone, names, address, country
etc.) are obligatory for your resources, EBS will return an error if
one of them is not passed!
4. In your site settings change the payment method to EBS and then set
the option 'EBS proxy page' to the URL of the planyo-ebs-proxy.php
file on your server.