Shared Payment Solution
The eWAY Shared Payment solution allows your customers’ to be redirected to a secure
eWAY payment page via HTTP FORM POST. Customers will enter their credit card details
and finalise their payment before being returned to your website.
We provide you with an API, HTML code and testing environment to integrate the eWAY
Shared Payment solution.
The gateway URLs are:
Payment Request: https://au.ewaygateway.com/Request
Payment Result: https://au.ewaygateway.com/Result
For specification information please see the
Hosted Payment Solution Document
You can link with any of the following languages that support HTML FORMS using the
POST method. If there are any other solutions required, please
contact us.
The URLs the form tag must post to eWAY gateway payment page are
Payment Request: https://au.ewaygateway.com/Request
Payment Result: https://au.ewaygateway.com/Result
You can build and test your site to link to eWAY before you have
joined. All you need to do is pass the required test account information. This uses the real payment page so there is little
changes required once you have joined eWAY.
In order to test the Shared Payment solution you will need to pass the following
information:
CustomerID: 87654321
Test Credit Card: 4444333322221111
For more information see the
testing section.
The gateway URLs are:
Payment Request: https://au.ewaygateway.com/Request
Payment Result: https://au.ewaygateway.com/Result
Note: Your eWAYCustomerID is emailed to you in
your "eWAY Welcome Letter" when you join eWAY.
A successful transaction returns (Example):
<TransactionResponse>
<AuthCode>315153</AuthCode>
<ResponseCode>00</ResponseCode>
<ReturnAmount>10.00</ReturnAmount>
<TrxnNumber>1005039</TrxnNumber>
<TrxnStatus>true</TrxnStatus>
<TrxnResponseMessage>AUTH CODE:315153</TrxnResponseMessage>
<MerchantOption1>Option1</MerchantOption1>
<MerchantOption2>Option2</MerchantOption2>
<MerchantOption3>Option3</MerchantOption3>
<MerchantReference>513456</MerchantReference>
<MerchantInvoice>Inv 21540</MerchantInvoice>
<ErrorMessage />
</TransactionResponse>
While a failed transaction returns:
<TransactionResponse>
<AuthCode></AuthCode>
<ResponseCode>05</ResponseCode>
<ReturnAmount>10.00</ReturnAmount>
<TrxnNumber>1005040</TrxnNumber>
<TrxnStatus>false</TrxnStatus>
<TrxnResponseMessage>Do Not Honour</TrxnResponseMessage>
<MerchantOption1>Option1</MerchantOption1>
<MerchantOption2>Option2</MerchantOption2>
<MerchantOption3>Option3</MerchantOption3>
<MerchantReference>513456</MerchantReference>
<MerchantInvoice>Inv 21540</MerchantInvoice>
<ErrorMessage />
</TransactionResponse>
PLEASE MAKE SURE YOU PASS YOUR ewayCustomerID or the eWAYTESTID of "87654321"
ONLY - passing any other ID may result in funds being deposited into
another bank account other than your own.