Transparent Redirect

If you want the superior user experience of keeping customers on your website as well as the security of keeping card data off your own systems, eWAY’s Transparent Redirect is the way to go.

Transparent Redirect also provides simple and fast integration with 3D Secure, PayPal, MasterPass and Visa Checkout – providing more options for customers and less headaches for development.

Since the payment form is displayed on the site, it is important that an SSL is used to secure the page and provide reassurance to customers, inevitably increasing your basket conversion.

Implementing Transparent Redirect is a three step process:

  1. Pass the customer and transaction details to eWAY to generate an Access Code.
  2. Display a payment form on your site using the Access Code and URL provided by eWAY – this form submits directly to eWAY secure servers. After processing the transaction, the customer is directed (transparently!) straight back to the nominated Redirect URL.
  3. Once the transaction has been processed, request the results from eWAY using the Access Code.
Simple JSON REST example
  1. Request an Access Code

    Endpoint: https://api.sandbox.ewaypayments.com/AccessCodes
    Headers:
    Authorization: Basic (see Authentication in the API reference)
    Content-Type: application/json

1
2
3
4
5
6
7
8
{
"Payment": {
   "TotalAmount": 100
},
    "RedirectUrl": "http://www.example.org",
    "Method": "ProcessPayment",
    "TransactionType": "Purchase"
}

2.Display the payment form on your site

1
2
3
4
5
6
7
8
9
<form method="POST" action="https://secure-nz.sandbox.ewaypayments.com/AccessCode/nvt0mwZXN9aU43rsIRPl...">
 
 
  Card Name:
  Card Number:
  Card Expiry:  /
  Card CVN:
 
</form>

3.Request the result

Endpoint: https://api.sandbox.ewaypayments.com/AccessCode/nvt0mwZXN9aU43rsIRPl…
Headers:
Authorization: Basic (see Authentication in the API reference)
Content-Type: application/json

PCI DSS Review of the eWAY API

Become an eWAY merchant today.

With 24/7 support, over 250 integrations and 20+ years experience – the team at eWAY are here to provide you with the leading all-in-one payments solution.