Ecommerce Templates > PHP Version Help > Payment Processors > eway

eway and Ecommerce Templates

eway and Ecommerce Templates

eWAY is a leading international payment gateway, which has recently launched in the UK and New Zealand. Ecommerce Templates has extended its partnership with eWAY Australia to include support of the UK and New Zealand gateway. eWAY is linked to major banks in the UK and New Zealand giving merchants the perfect solution to meet their business needs.

eway Australia, UK, EuroZone & New Zealand

Once you have created your account with eway the first thing you will need to do is download the file from our downloads page. The zip file contains three files, ewaypayment.php, customppsend.php and customppreturn.php. These contain all the information you need for the integration for Ecommerce Templates. Unzip the download and upload ewaypayment.php to your vsadmin folder and customppsend.php and customppreturn.php to your vsadmin/inc/ folder, overwriting the existing files - agree to overwrite if prompted.

Make sure you have uploaded these three files to your server and open your Ecommerce Template admin payment providers page. Locate the payment provider listed as "Custom" and click on the Modify button. Fill in the details as shown below:

eWay admin

In the box Data1 you will need to place your eway Customer ID and in Data2 your eway user name. In Data3 you can add your company name but that is optional. For testing check the Demo Mode box, enter a customer id of 87654321, the username: TestAccount and use 4111111111111111 for the test card number with a total value for payment ending in 00 (eg. testing with $6.00 rather than $6.95 as the Grand Total). Once you are happy with the results, uncheck the demo mode box, enter your live credentials and you should be ready to go.

Please do read our guide here on credit card fraud.

That's all there is to it really - any comments on the set up can be posted on our Support Forum.