A payment gateway is an e-commerce application service provider that authorizes payments for e-businesses. It is used in eDirectory to send the Members’ credit card and PayPal transaction information to the acquiring bank and PayPal. A member undergoes the payment procedure after he/she adds a new listing, event, banner, classified, or article that is not in Free level.
When a transaction happens, the application generates a Payment Gateway Transaction ID. This ID is unique for every transaction and is recorded in the Member and Site Manager accounts. The application does not hold credit card data by default. If the Site Manager wants to have it stored in his/her account, he/she should purchase and install an SSL Certificate that will encrypt and protect sensitive information such as credit card numbers.

Every time a transaction happens, credit card or payment gateway account information goes immediately to the payment processor.
The eDirectory application supports ten payment gateways, namely:
- PayPal
- PayPal API
- Payflow
- TwoCheckout
- PsiGate
- WorldPay
- iTransact
- LinkPoint
- Authorize
In eDirectory version 7.0.15, the application has included a new option for Members to pay for the eDirectory services they avail – the Amazon Simple Payment Gateway which can have a recurring option of per month or per year (image shown here). With this feature, Members can utilize their existing Amazon accounts.
By default, PayPal and Authorize are the enabled gateways. There is no way to enable or disable gateway/s directly in the Site Manager account. You need to edit the software code and turn on or off the specific gateway there. You can only have an access to the code if you purchased eDirectory Owned License software. If you purchased a different software package and you want to change your payment gateways, please contact us.

To turn on/off a payment gateway, do the following:
- Access your server either by using FTP or SSH.
- Once you already have the access, go to www (the doc root) > conf > payment.inc.php.
- Download the file to your local PC.
- Open the file in any editor and look for this block of codes:
___________________________________________________
define (PAYPALPAYMENT_FEATURE, “on”);
define (PAYPALAPIPAYMENT_FEATURE, “off”);
define (PAYFLOWPAYMENT_FEATURE, “off”);
define (TWOCHECKOUTPAYMENT_FEATURE, “off”);
define (PSIGATEPAYMENT_FEATURE, “off”);
define (WORLDPAYPAYMENT_FEATURE, “off”);
define (ITRANSACTPAYMENT_FEATURE, “off”);
define (LINKPOINTPAYMENT_FEATURE, “off”);
define (AUTHORIZEPAYMENT_FEATURE, “on”);
_________________________________________________
- Go to the line containing the gateway name and change the text “off” to “on” if you want to turn it on. Do the opposite if you want that gateway to be turned off.
- Save the file and upload it to the server.
For the application to use the payment gateway/s that you enabled, you must also provide the payment gateway account information. You can acquire this information when you register on a payment gateway website (e.g., https://www.paypal.com).

To set the account information for the enabled payment gateway, do the following:
- In the top navigation panel, click on Settings > Payment Gateway. After doing this, a form will appear like the one shown below:
- Provide the account information for every gateway that you see in this page (e.g., Account for PayPal, Login and Transaction Key for Authorize), and click on the Submit button. Do this one at a time.

Monitoring Your Transactions