Eway Payment Gateway

Descrizione

The Eway Payment Gateway adds integrations for the Eway credit card payment gateway through Rapid API Direct Payments. These plugins are supported:

Looking for a Gravity Forms integration? Try Gravity Forms Eway.

Caratteristiche

  • card holder’s name can be different to the purchaser’s name
  • basic data validation performed before submitting to Eway
  • Eway transaction ID and bank authcode are recorded for successful payments
  • supports Authorize (PreAuth) for drop-ship merchants / delayed billing
  • supports Beagle anti-fraud measures (for supporting plugins)
  • it’s free!

Requisiti

  • you need to install one of the ecommerce plugins listed above
  • you need an SSL/TLS certificate for your hosting account
  • you need an account with Eway Australia
  • this plugin uses Eway’s Rapid API Direct Payments, and does not support Eway’s Responsive Shared Page

Translations

Many thanks to the generous efforts of our translators:

If you’d like to help out by translating this plugin, please sign up for an account and dig in.

Sponsorships

Thanks for sponsoring new features for Eway Payment Gateway!

Privacy

Information gathered for processing a credit card transaction is transmitted to Eway for processing, and in turn, Eway passes that information on to your bank. Please review Eway’s Privacy Policy for information about how that affects your website’s privacy policy. By using this plugin, you are agreeing to the terms of use for Eway.

Screenshot

  • WP eCommerce payments settings
  • WP eCommerce Sales Log with transaction ID and authcode
  • WooCommerce payments settings
  • WooCommerce order details with transaction ID and authcode
  • Events Manager payments settings
  • Events Manager transactions with transaction ID and authcode
  • Another WordPress Classifieds Plugin payments settings
  • Event Espresso 4 payments settings

FAQ

Configuring for WP eCommerce

  1. Navigate to ‘Settings > Store > Payments’ on the menu
  2. Activate the Eway payment gateway and click the Update button
  3. Edit the Eway payment gateway settings by hovering your mouse over the gateway’s name and clicking the hidden ‘edit’ link
  4. Enter your Rapid API key/password and Client Side Encryption keys for your live site and the sandbox
  5. Select the appropriate settings for your site, including which checkout fields map to Eway fields

Configuring for WooCommerce

  1. Navigate to ‘WooCommerce > Settings > Payment Gateways’ on the menu
  2. Select Eway from the Payment Gateways menu
  3. Tick the field ‘Enable/Disable’ to enable the gateway
  4. Enter your Rapid API key/password and Client Side Encryption keys for your live site and the sandbox
  5. Select the appropriate settings for your site

Configuring for Another WordPress Classifieds Plugin

  1. Navigate to ‘Classified > Settings > Payment’ on the menu
  2. Click the Activate Eway checkbox
  3. Enter your Rapid API key/password and Client Side Encryption keys for your live site and the sandbox
  4. Select the appropriate settings for your site

Configuring for Event Espresso

  1. Navigate to ‘Event Espresso > Payment Methods’ on the menu
  2. Select Eway from the Payment Methods menu
  3. Click the Activate Eway Payments button
  4. Enter your Rapid API key/password and Client Side Encryption keys for your live site and the sandbox
  5. Select the appropriate settings for your site

Configuring for Events Manager

  1. Navigate to ‘Events > Payment Gateways’ on the menu
  2. Click the Activate link underneath the Eway gateway name
  3. Click the Settings link underneath the Eway gateway name
  4. Enter your Rapid API key/password and Client Side Encryption keys for your live site and the sandbox
  5. Select the appropriate settings for your site

How do I test payments with Eway?

You should always test your payments first in the Eway sandbox. You will need to sign up for a sandbox account, and copy your Rapid API key/password and Client Side Encryption key from the sandbox MyEway. When you go to pay, only use dummy card numbers like 4444333322221111. This allows you to make as many test purchases as you like, without billing a real credit card.

What is Eway?

Eway is a leading provider of online payments solutions with a presence in Australia, New Zealand, and Asia. This plugin integrates with Eway so that your website can safely accept credit card payments.

Is recurring billing supported?

Not yet. I know it can be done but I haven’t had a website that needs it yet, so have not written the code for it.

If you just need a simple way to record recurring payments such as donations, you might want to try Gravity Forms and Gravity Forms Eway which does support recurring payments.

Do I need an SSL/TLS certificate for my website?

Yes. This plugin uses the Direction Connection method to process transactions, so you must have HTTPS encryption for your website.

What’s the difference between the Capture and Authorize payment methods?

Capture charges the customer’s credit card immediately. This is the default payment method, and is the method most websites will use for credit card payments.

Authorize checks to see that the transaction would be approved, but does not process it. Eway calls this method PreAuth. Once the transaction has been authorized, you can complete it manually in your MyEway console. You cannot complete PreAuth transactions from WordPress.

NB: PreAuth is currently only available for Australian, Singapore, Malaysian, & Hong Kong merchants. Do not select Authorize if you are a New Zealand merchant!

Do I need to set the Client-Side Encryption Key?

Client-Side Encryption is required for websites that are not PCI certified. It encrypts sensitive credit card details in the browser, so that only Eway can see them. All websites are encouraged to set the Client-Side Encryption Key for improved security of credit card details.

If you get the following error, you must add your Client-Side Encryption key:

V6111: Unauthorized API Access, Account Not PCI Certified

You will find your Client-Side Encryption key in MyEway where you created your API key and password. Copy it from MyEway and paste into the Eway Payments settings page.

Why do I get an error “Invalid TransactionType”?

V6010: Invalid TransactionType, account not certified for eCome only MOTO or Recurring available

It probably means you need to set your Client-Side Encryption key; see above. It can also indicate that your website has JavaScript errors, which can prevent Client-Side Encryption from working. Check for errors in your browser’s developer console.

If your website is PCI Certified and you don’t want to use Client-Side Encryption for some reason, then you will still get this error in the sandbox until you enable PCI for Direct Connections in MyEway:

Settings > Sandbox > Direction Connection > PCI

What is Beagle Lite?

Beagle Lite is a service from Eway that provides fraud protection for your transactions. It uses information about the purchaser to suggest whether there is a risk of fraud. Configure Beagle Lite rules in your MyEway console.

NB: Beagle Lite fraud detection requires an address for each transaction. Be sure to add an Address field to your forms, and make it a required field. The minimum address part required is the Country, so you can just enable that subfield if you don’t need a full address.

Where do I find the Eway transaction number?

  • WP eCommerce: the Eway transaction number and the bank authcode are shown under Billing Details when you view the sales log for a purchase in the WordPress admin.
  • WooCommerce: the Eway transaction number and the bank authcode are shown in the Custom Fields block when you view the order in the WordPress admin.
  • Event Espresso: the Eway transaction number and the bank authcode are shown in the Payment Details block when you view the transaction in the WordPress admin.
  • Events Manager: from the Payment Gateways menu item or the Bookings menu item, you can view a list of transactions; the Eway transaction ID is shown in the Transaction ID column, and the authcode in the Notes column.
  • Another WordPress Classifieds Plugin: not available yet

Can I use this plugin with the WP eCommerce Gold Cart?

Yes, if you deactivate the Gold Cart’s Eway payment gateway and activate this one.

I get an SSL error when my checkout attempts to connect with Eway

This is a common problem in local testing environments. Please read this post for more information.

Can I use this plugin on any shared-hosting environment?

The plugin will run in shared hosting environments, but requires PHP 7.4 or later.

WP eCommerce filter hooks

Developers can refer to the code for filter hook parameters.

  • wpsc_merchant_eway_invoice_desc for modifying the invoice description
  • wpsc_merchant_eway_invoice_ref for modifying the invoice reference
  • wpsc_eway_credentials for modifying the Eway credentials used in the transaction

WooCommerce filter hooks

Developers can refer to the code for filter hook parameters.

  • woocommerce_eway_invoice_desc for modifying the invoice description
  • woocommerce_eway_invoice_ref for modifying the invoice reference
  • woocommerce_eway_icon for changing the payment gateway icon
  • woocommerce_eway_credentials for modifying the Eway credentials used in the transaction
  • woocommerce_eway_method_capture to allow per-order capture or authorize
  • woocommerce_eway_error_msg to allow developers to provide richer error messages

Another WordPress Classifieds Plugin filter hooks

Developers can refer to the code for filter hook parameters.

  • awpcp_eway_invoice_desc for modifying the invoice description
  • awpcp_eway_invoice_ref for modifying the invoice reference
  • awpcp_eway_icon for changing the payment gateway icon
  • awpcp_eway_checkout_message for changing the message above the checkout form
  • awpcp_eway_credentials for modifying the Eway credentials used in the transaction

Events Manager filter hooks

Developers can refer to the code for filter hook parameters.

  • em_eway_invoice_desc for modifying the invoice description
  • em_eway_invoice_ref for modifying the invoice reference
  • em_eway_amount for changing the billed amount (e.g. adding fees)
  • em_eway_credentials for modifying the Eway credentials used in the transaction

Event Espresso 4 filter hooks

Developers can refer to the code for filter hook parameters.

  • event_espresso_eway_invoice_desc for modifying the invoice description
  • event_espresso_eway_invoice_ref for modifying the invoice reference

Recensioni

7 Giugno 2020
Hello, Your plugin works mostly as described however I do not think your statement of it "supporting Pre-Auth" transactions is accurate. It supports Pre-Auth transactions but you are unable to then "capture" those transactions from within WooCommerce. You have to login to eWay separately and then manually compare the transactions from WooCommerce to the eWay Pre-Auths (in the eway dashboard) and then manually capture them in eWay one by one by one. When dealing with 10 or so per day is no issue but when dealing with 20-30+ per day that starts to become a major oversight and issue. Shopify's eWay integration supports the Authorization and later Capture of pre-auth transactions. I don't understand why your WooCommerce plugin cannot do the same from within WooCommerce? For that reason its a 3 star at this point in my book.
19 Luglio 2018
dumped the official woocommerce for one reason - this plugin allows you to add credit card form on checkout page instead of new page
Leggi tutte le recensioni di 15

Contributi e sviluppo

“Eway Payment Gateway” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

“Eway Payment Gateway” è stato tradotto in 5 lingue. Grazie ai traduttori per i loro contributi.

Traduci “Eway Payment Gateway” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

The full changelog can be found on GitHub. Recent entries:

5.2.0

Released 2023-11-23

  • changed: upgraded Events Manager Pro integration to v3.2+ Gateway API
  • changed: Events Manager Pro legacy gateway no longer supported
  • fixed: deprecation warnings in PHP 8.1+

5.1.0

Released 2023-10-30

  • fixed: prevent fatal error in Event Espresso when no Client Side Encryption key is present
  • fixed: support for WooCommerce HPOS (high performance order storage)
  • changed: marked as tested up to WooCommerce 8.2

5.0.2

Released 2023-05-21

  • fixed: update list of Eway error codes with descriptions
  • changed: marked as tested up to WooCommerce 7.7

5.0.1

Released 2022-12-06

  • fixed: don’t crash when another plugin passes null to filter hook woocommerce_email_order_meta_fields

5.0.0

Released 2022-12-01

  • changed: requires minimum PHP version 7.4 (recommend version 8.0 or greater)
  • changed: requires minimum WooCommerce version 3.0
  • changed: requires Eway Rapid API key / password; legacy XML API is no longer supported
  • changed: filter hooks for modifying credentials must now accept / return a Credentials object
  • changed: major code refresh, developers with customizations will need to test their customizations
  • fixed: Client Side Encryption was not working on customer payment page (manual orders)
  • added: filter hook woocommerce_eway_method_capture to allow per-order capture or authorize
  • added: filter hook woocommerce_eway_error_msg to allow developers to provide richer error messages