Integrate eWay with Drupal Commerce

Introduction

This module has been developed in partnership with eWay.

It allows Drupal Commerce to use eWay as a payment option.

This module is implemented using eWAY Rapid 3.1 Transparent Redirect & Direct Connection. More information about this API is available at eWAY Rapid 3.1 API.

The module currently supports the following credit cards:

  • Visa
  • Mastercard
  • Amex
  • Diners club

Client-side encryption

From 7.x-1.5 this module implements eWay's client-side card encryption to meet PCI (payment card industry) standards.

Please note although this module works with Commerce Card on File module for token payments, PCI compliance requires no credit card details be process or stored by Drupal. Therefore if token payment is enabled using Commerce Card on File, the solution is no longer PCI-compliant. Please read this article about Drupal and PCI compliance if you wish to know more details: Let's Talk About PCI Compliance for Ubercart and Drupal Commerce.

Please contact the maintainer for a custom solution if you would like to use for example Commerce Card on File.

Drupal 8

A Drupal 8 version of the eWay Integration module is under development and we pledge that it will have a full Drupal 8 release when Drupal 8 is released.

Installation, setup and testing

After dropping this module to your Drupal site and enabling it, you should have eWay as a payment option for Drupal Commerce.

To test the payment gateway, please create a MYeWay account and request access to the sandbox. The following credit card details can then be used for testing purpose:

  • Credit type: any
  • Card holder name: any
  • Card number: 4444333322221111
  • Expiry date: any date in the future
  • Security code: any

Please note for security reasons this module does not store full credit card information on Drupal's database. All credit card information is encrypted at the client side then passed to eWay for processing.

It is recommended to use the String Overrides module to override default eWay error messages should you want to provide the customer with customised error messages. A complete list of eWay's standard transaction response messages can be found here: https://eway.io/api-v3/#transaction-response-messages

Supporting organizations: 
Development Sponsored

Project information

Releases