Spring promotion background
20.Mar - 19.Apr 2026

Spring deal

Up to 75% OFF

eWAY

Payments Integration eWAY AffiliateTracking

eWAY (using Shared Payment Solution) integration

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

Integrates eWAY Shared Payment Solutions (HTTP).

To integrate with eWAY, you need eWAY plugin which is distributed with PAP by default.

Note! If you are using Merchant Hosted Payments, use eWAY integration method for Merchant Hosted Payments.

Activate and configure your eWAY plugin

First you must activate eWAY plugin. Login to your merchant panel and go menu Start->Plugins. Here you must click Activate in Plugins list in eWAY plugin item.

Right after you activate eWAY plugin, you need to setup it. Login to your merchant panel. Go to menu Start >Plugins. Now click Configure button in eWAY plugin item. Here you must set Custom field number. This is number of the field, where you put custom cookie on your pages. As Response type select HTTP.

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

Update your eWAY button forms

Now you must change code for every eWAY form. For example original eWAY form looks like this:

<form method="post" name="ewaySubmitForm" action="https://www.eway.com.au/gateway/payment.asp">
	<input type="hidden" name="ewayCustomerID" value="87654321" />
	<input type="hidden" name="ewayTotalAmount" value="1000000000" />
	<input type="hidden" name="ewayCustomerFirstName" value="Firstname" />
	<input type="hidden" name="ewayCustomerLastName" value="Lastname" />
	<input type="hidden" name="ewayCustomerEmail" value="name@xyz.com.au" />
	<input type="hidden" name="ewayCustomerAddress" value="123 Someplace Street, Somewhere ACT" />
	<input type="hidden" name="ewayCustomerPostcode" value="2609" />
	<input type="hidden" name="ewayCustomerInvoiceDescription" value="Testing" />
	<input type="hidden" name="ewayCustomerInvoiceRef" value="INV120394" />
	<input type="hidden" name="ewayURL" value="https://www.yoursite.com/thankyoupage.php" />
	<input type="hidden" name="ewaySiteTitle" value="My Web Site" />
	<input type="hidden" name="ewayTrxnNumber" value="4230" />
	<input type="hidden" name="ewayOption1" value="" />
	<input type="hidden" name="ewayOption2" value="" />
	<input type="hidden" name="ewayOption3" value="" />
	<input type="hidden" name="ewayCVN" value="123" />
</form>

Now, if you do not use selected custom field to transfer data other than PAP cookie, you must change it like this:

<form method="post" name="ewaySubmitForm" action="https://www.eway.com.au/gateway/payment.asp">
	<input type="hidden" name="ewayCustomerID" value="87654321" />
	<input type="hidden" name="ewayTotalAmount" value="1000000000" />
	<input type="hidden" name="ewayCustomerFirstName" value="Firstname" />
	<input type="hidden" name="ewayCustomerLastName" value="Lastname" />
	<input type="hidden" name="ewayCustomerEmail" value="name@xyz.com.au" />
	<input type="hidden" name="ewayCustomerAddress" value="123 Someplace Street, Somewhere ACT" />
	<input type="hidden" name="ewayCustomerPostcode" value="2609" />
	<input type="hidden" name="ewayCustomerInvoiceDescription" value="Testing" />
	<input type="hidden" name="ewayCustomerInvoiceRef" value="INV120394" />
	<input type="hidden" name="ewayURL" value="https://www.yoursite.com/thankyoupage.php" />
	<input type="hidden" name="ewaySiteTitle" value="My Web Site" />
	<input type="hidden" name="ewayTrxnNumber" value="4230" />
	<input type="hidden" name="ewayOption1" value="" id="pap_dx8vc2s5"/>
	<input type="hidden" name="ewayOption2" value="" />
	<input type="hidden" name="ewayOption3" value="" />
	<input type="hidden" name="ewayCVN" value="123" />
</form>

If you are using selected custom field fo transfering some data other than PAP cookie update your forms like this:

<form method="post" name="ewaySubmitForm" action="https://www.eway.com.au/gateway/payment.asp">
	<input type="hidden" name="ewayCustomerID" value="87654321" />
	<input type="hidden" name="ewayTotalAmount" value="1000000000" />
	<input type="hidden" name="ewayCustomerFirstName" value="Firstname" />
	<input type="hidden" name="ewayCustomerLastName" value="Lastname" />
	<input type="hidden" name="ewayCustomerEmail" value="name@xyz.com.au" />
	<input type="hidden" name="ewayCustomerAddress" value="123 Someplace Street, Somewhere ACT" />
	<input type="hidden" name="ewayCustomerPostcode" value="2609" />
	<input type="hidden" name="ewayCustomerInvoiceDescription" value="Testing" />
	<input type="hidden" name="ewayCustomerInvoiceRef" value="INV120394" />
	<input type="hidden" name="ewayURL" value="https://www.yoursite.com/thankyoupage.php" />
	<input type="hidden" name="ewaySiteTitle" value="My Web Site" />
	<input type="hidden" name="ewayTrxnNumber" value="4230" />
	<input type="hidden" name="ewayOption1" value="" id="pap_ab78y5t4a"/>
	<input type="hidden" name="ewayOption2" value="" />
	<input type="hidden" name="ewayOption3" value="" />
	<input type="hidden" name="ewayCVN" value="123" />
</form>

And after this form insert this code:

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');
PostAffTracker.setAppendValuesToField('||');
PostAffTracker.writeCookieToCustomField('pap_ab78y5t4a');
</script>

All set. You are ready to start tracking.

Frequently asked questions

Lucia is a talented content editor who ensures the seamless publication of content across multiple platforms.

Lucia Halašková
Lucia Halašková
Content Editor

Start tracking payments with eWAY and Post Affiliate Pro

Integrate eWAY Shared Payment Solution to your affiliate program and streamline your online payments with secure tracking.

Learn more

eWAY
eWAY

eWAY

Integrate eWAY Merchant Hosted Payments with Post Affiliate Pro to securely accept credit card payments and track affiliate transactions seamlessly. Learn how t...

5 min read
Payments Extension +3
eWay Rapid API
eWay Rapid API

eWay Rapid API

Would you like to improve your affiliate software even more? Check out the eWay Rapid API integration for Post Affiliate Pro.

2 min read
Payments API +3
SolidTrustPay (custom field for other data)
SolidTrustPay (custom field for other data)

SolidTrustPay (custom field for other data)

Would you like to improve your affiliate software even more? Check out the SolidTrustPay (custom field used for other data) integration for Post Affiliate Pro.

2 min read
Payments Extension +3

You will be in Good Hands!

Join our community of happy clients and provide excellent customer support with Post Affiliate Pro.

Capterra
G2 Crowd
GetApp
Post Affiliate Pro Dashboard - Campaign Manager Interface