eWAY Shared Payments Gateway

The eWAY shared payments payment gateway for WooCommerce allows you to accept payment through any of the eWAY sites, AU, NZ, UK, without exposing you to the costly requirements of SSL certificates and PCI compliancy tests. On checkout customers are automatically redirected to an eWAY secure hosted page where they can enter their credit card details to complete the transaction, meaning that their credit card details never touches your server. The payment page customers are redirected to are fully customizable allowing you to use your own title, description, logo, page banner, page footer and the language the page are shown in.

Note: This product has been retired. Documentation is no longer being updated. See our eWay payment gateway, which is for sale and supported by our team.

Installation

↑ Back to top

  1. Unzip and upload the plugin’s folder to your /wp-content/plugins/ directory
  2. Activate ‘WooCommerce eWAY Shared Payments Gateway’ through the ‘Plugins’ menu in WordPress
  3. Go to WooCommerce > Settings > Payment Gateways > eWAY Shared Payments to configure
For more information on installing and managing plugins see here

Requirements

↑ Back to top
To make use of the eWAY Shared Payments payment gateway extension for WooCommerce, you need to have an eWAY account. Sign up for a free one at the different eWAY sites. eWAY AU, eWAY NZ, eWAY UK

Setup and Configuration

↑ Back to top
To configure the extension, go to WooCommerce -> Settings -> Payment Gateways Tab. You should see a eWAY Shared Payments link at the top of the screen, click this to see the settings:
  • Enable/Disable – This will enable or disable the eWAY Shared Payments payment gateway.
  • Title – The title the customer sees on the checkout page.
  • Description – The description the customer sees when selecting the payment gateway on the checkout page.
  • eWAY Customer ID – Your eWAY customer ID which was emailed to you in your “Welcome to eWAY” letter when you joined eWAY.
  • eWAY Username – Your eWAY username which you use to sign into your eWAY account.
  • eWAY Location – The location of the eWAY service you are using, Australia, New Zealand or United Kingdom.
  • eWAY Sandbox – Enabling this will put the gateway in sandbox mode and automatically use test credentials to test payments on your store. When enabled it will override the eWAY Customer ID and Username fields and use the eWAY test credentials.
WooCommerce eWAY Shared Payments Settings
WooCommerce eWAY Shared Payments Settings

Customization

↑ Back to top
Note: This is a Developer level section. If you are unfamiliar with code/templates and resolving potential conflicts, select a WooExpert or Developer for assistance. We are unable to provide support for customizations under our  Support Policy.
To customize the payment page you can add the follow code to your theme’s functions.php file:
<?php
// Page Title, displayed as the title of the browser
add_filter( 'eway_shared_page_tite', 'woocommerce_eway_page_title' );
function woocommerce_eway_page_title() {
return __( 'My New Page Title', 'woocommerce' );
}
// Company Name, the name of the company the customer is buying from
add_filter( 'eway_shared_company_name', 'woocommerce_eway_company_name' );
function woocommerce_eway_company_name() {
return __( 'My Company', 'woocommerce' );
}
// Description, displayed above transaction details
add_filter( 'eway_shared_page_description', 'woocommerce_eway_description' );
function woocommerce_eway_description() {
return __( 'My New Description', 'woocommerce' );
}
// Page Footer, displayed below transaction details
add_filter( 'eway_shared_page_footer', 'woocommerce_eway_footer' );
function woocommerce_eway_footer() {
return __( 'My New Footer Text', 'woocommerce' );
}
// Language, to display the page in another language, use any of following language codes EN, ES, FR, DE, NL
add_filter( 'eway_shared_language', 'woocommerce_eway_language' );
function woocommerce_eway_language() {
return "EN";
}
// Company Logo, full secure url to your company logo, must be https, restricted to 960px X 65px.
add_filter( 'eway_shared_company_logo', 'woocommerce_eway_logo' );
function woocommerce_eway_logo() {
return "https://www.example.com/images/logo.png";
}
// Page Banner, this is displayed just below the company logo, must be https, restricted to 960px X 65px.
add_filter( 'eway_shared_page_banner', 'woocommerce_eway_banner' );
function woocommerce_eway_banner() {
return "https://www.example.com/images/logo.png";
}
// Allow customer to modify customer details on eWAY payment page
add_filter( 'eway_shared_modifiable_customer_details', 'woocommerce_eway_modify_customer' );
function woocommerce_eway_modify_customer() {
return "True";
}
?>
view raw functions.php hosted with ❤ by GitHub