Westpac PayWay NET Payment Gateway

The Westpac PayWay NET Payment Gateway allows you to use Westpac PayWay NET as a credit card processor via their shopping cart process (see note). This gateway also works with St. George bank.

Process Visa and Mastercard by default, and optionally accept American Express, Diners Club and JCB after further activation by Westpac.

This gateway supports two integration methods. Trusted Frame is the newer and preferred integration. The gateway generates a credit card form in an iFrame on your checkout page. The disadvantage is that it is slightly harder to style (though you can add custom styles via the plugin configuration). Direct Post is the older integration method and is easier to style, however requires the credit card collection to take place on a separate page after the checkout page.

In both integration methods, the customer’s credit card details are sent directly from your site page to the bank’s servers via a secure connection without any credit card details coming in contact with your server, so no need to worry about complex PCI compliance.

Note: Another extension is available if you wish to use the more seamless Westpac PayWay API integration.

Learn more about Westpac PayWay and the different integration types at: https://www.payway.com.au/core/AboutView

Requirements ↑ Back to top

  • An active PayWay merchant account
  • An SSL certificate
  • AUD set as your store currency

Installation ↑ Back to top

  1. Purchase and download the plugin zip file from WooCommerce.com.
  2. Log in to your WordPress Admin and click Plugins | Add New from the left hand menu.
  3. Click Upload, then browse to select the zip file from your computer. Once selected, click OK and then Install Now.
  4. Activate the plugin.

Setup and Configuration ↑ Back to top

Westpac PayWay – using Trusted Frame (newer) ↑ Back to top

  1. Log into your Westpac PayWay administration tool (http://payway.com.au) and click on REST API > REST API Keys:
    • Add a new key. Choose “Publishable API Key” and click Save.
    • Copy the API Key shown as you will need to enter it in the gateway settings. Click Back.
    • Add a new key: Choose “Secret API Key” and click Save.
    • Copy the API Key shown as you will need to enter it in the gateway settings. Click Back.

Note that your Secret API Key will expire 2 years after it is created, however the plugin will automatically create and save a new Secret API Key when the existing key will expire, however you can always generate new keys and manually replace them in the gateway settings.

Westpac PayWay – using Direct Post (older) ↑ Back to top

  1. Log into your Westpac PayWay administration tool (http://payway.com.au) and click on Setup Net > Hosted Payment Page:
    • Introduction: Choose “Bill Payments/Shopping Cart” and click Next
    • Biller Code: Note your PayWay Biller Code for later. Click Next.
    • Notifications: Complete the information on this page as required. You do not need to configure Browser return or Server-To-Server notifications as these are provided by the gateway plugin at time of payment. Click Next.
    • Security Information: Note your Encryption Key, Username and Password for later. Importantly, add your web server’s IP address to the IP address list. Without this, your payments will fail. If you continue to have problems, try using a wildcard address (eg. “” will allow all addresses from to
    • Customer Reference Number: No configuration required, click Next.
    • Account Settings: Note your Merchant Id (just the digits) for later, click Next.

Westpack PayWay on your site ↑ Back to top

  1. Go to: WooCommerce > Settings > Checkout > Westpac PayWay Net.
  2. Enter and select options:
    • Tick Enable this payment method.
    • Choose which API method you wish to use. For an overview of each, read this paragraph above, or view the PayWay documentation provided by your bank. Note that the settings you must provide will change based on which API method you provide.
    • Enter a Title, which is displayed to customers for this payment option. i.e., Westpac PayWay or Credit Card.
    • Enter your PayWay Biller Code, Merchant ID, PayWay Username, PayWay Password and Encryption Key as provided by the Westpac PayWay administration tool.
    • Tick American Express, Diners Club or JCB, if you have arranged with NAB Transact to accept these cards, which will display for customers as options on the payment screen.
  3. Save changes.

Test card details ↑ Back to top

In test mode, you can use a number of credit card details to test different transaction statuses. Refer to the Payway online documentation for a full up to date list.

FAQ ↑ Back to top

Does Westpac PayWay NET support St. George?

Yes, St. George will work with this extension.

Which integrations/APIs does this gateway support?

This gateway supports PayWay NET Direct Post (also called Shopping Cart) and Trusted Frame.

Questions & Support ↑ Back to top

Have a question before you buy? Please fill out this pre-sales form.

Already purchased and need some assistance? Get in touch the developer via the Help Desk.

WooCommerce - the most customizable eCommerce platform for building your online business.

Back to the top