–Hidden comment

Use attributes in format region_from and region_to= to change the languages showing in language switcher.
Available regions are:
europe_from europe_to
asia_from asia_to
mideast_from mideast_to
america_from america_to

europe_from=0 europe_to=22 will put all languages (ordered in language switcher settings) from 1 to 21 to Europe region:
asia_from=22 asia_to=25 will put all languages from 23 to 24 (so only 2) into Asia region.

eWAY (using Merchant Hosted Payments)

A secure online payment gateway that makes it easy and hassle free for you to accept credit card payments through your website.

Integrates eWAY Merchant Hosted Payment (XML).To integrate with eWAY, you need eWAY plugin which is distributed with PAP by default.

Note! If you are using Shared Payment Solution, use eWAY integration method for Shared Payment Solution.

Activate and configure your eWAY plugin

First, you have to activate the eWAY plugin. Login to your merchant panel and navigate to menu Start > Plugins. Click the “Activate” button for eWAY plugin and when it is active, click the Configure button for the eWAY plugin. Here you have to set the Custom field number. This is the number of the field you will use for custom cookie on your pages. As the Response type select XML.

Note! If you are using custom field with selected number for transferring some data (other than pap custom cookie), please setup the Custom value separator as well. For example you can use string “||”.

Add tracking code to your page

Now, you have to put the tracking code to your button form. If you are using some e.g PHP script for processing payments, first you have to fill a custom value with the PAP cookie and then you need to assign this value to the option field with number you’ve chosen in the previous step:

$cookieVal = $_COOKIE['PAPVisitorId'];
$optionField1 = $cookieVal;

For PAP versions below 4.3 the cookie name is PAPCookie_Sale.

Note! If you are using option field to transmit some data other than PAP cookie, don’t forget to insert the separator between your data and PAP cookie.

$optionField1 .= ‘||’ . $cookieVal;

String “||” have to equal the separator you’ve configured in previous step.

Tracking code – processing

Last step is to set the data to be sent also to your PAP. If you are using PHP script to process the responses from eWAY after your payments, insert this code into the begin of the function which processes the responses, or to the beginning of the file.

/* PAP integration */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://URL_TO_PostAffiliatePro/plugins/Eway/eway.php");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlResponse);
/* end of PAP integration */

XML response from eWAY server should be stored in variable $xmlResponse

Now all is set, you are ready to start tracking.

Back to Integrations Create account for FREE

Our website uses cookies. By continuing we assume your permission to deploy cookies as detailed in our privacy and cookies policy.


Schedule a one-on-one call and discover how Post Affiliate Pro can benefit your business.

We’re available on multiple dates

Schedule a call