Westpac PayWay Classic API - Magento 2
Compatible With Magento Edition
Open Source (CE): 2.3, 2.4Commerce on prem (EE): 2.3, 2.4
Commerce on Cloud (ECE): 2.3, 2.4
Overview
Magento 2 Westpac PayWay Classic API extension allows you to take credit card payments through the PayWay API on your Magento 2 website.
Your customers can pay with Visa and Mastercard by default and with American Express, Diners Club, and JCB after being activated by Westpac Bank.
About Westpac PayWay
Westpac Banking Corporation, more commonly known as Westpac, is an Australian bank and financial services provider headquartered in Westpac Place, Sydney. It is one of Australia's "big four" banks. Its name is a portmanteau of "Western-Pacific". For more information, visit www.westpac.com.au
PayWay is operated by Westpac Banking Corporation, a simple, secure, internet-based solution to collect and manage customer payments. It supports a wide range of payment channels. No matter the size or type of business, PayWay has payment options that can substantially help you better manage your cash flow.
Account & Pricing
In order to use the extension, you need to have a merchant account provided by PayWay, and they will give you the credentials to access Merchant Portal
To see the Pricing Plans, you need to contact PayWay team
Features
- Support both Westpac PayWay and StGeorge PayWay
- Process payments directly by sending credit card details from your website (Your customers don't leave your website when they proceed checkout)
- Capture New Sales
- Support Authorize
- Support Capture Online
- Support Refund Online
- Support Full/Partial Refund
- Create an invoice automatically
- Support Prefix Order Number
- Encrypted the payment credentials
- Support SSL Certificate
- Support multiple websites
- Support multiple store views
- Unlimited domains.
Customers
Many websites use our PayWay extension, but due to policy, we only listed a few:
- beewise.com.au
- forgehardware.com.au
- rvpartsexpress.com.au
- tigerpak.com.au
- printedclothing.com.au
- zenpromotional.net.au
- adaptify.com.au
- outdoorcameras.com.au
- controllogic.com.au
- magnifydigital.com.au
- intesols.com.au
- mydiamonds.com.au
- etc
Security & PCI Compliance
Once the customers add products to their cart and proceed to pay using PayWay Payments, they are asked to add card details on-site, and they will be transferred back to the merchant’s server before being transferred to PayWay Server.
Since merchants do not store or process customer payment information, they will be able to handle more customers. Merchants using the PayWay API method will be eligible to validate PCI DSS using the SAQ A-EP level of compliance.
Support, Updates & Licensing
- The extension includes 12 months of free technical support. If you encounter any issues related to installation, configuration, or compatibility, our support team will assist you to ensure the extension works correctly with your Magento 2 store.
- The extension also includes free updates for 12 months, ensuring compatibility with new Magento 2 versions and ongoing improvements.
- The source code is 100% open-source and unencrypted, allowing developers to review, customize, and extend the functionality as needed.
- A single license can be used on unlimited domains and websites.
- All extensions are covered by a 30-day money-back guarantee.
Installation
Extract the file into app/code/PL/PaywayApi/
From a terminal, run the following commands:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
Setup PayWay Classic Credit Card API
Log in to PayWay.

Go to Settings -> PayWay Classic API -> Setup Security. This page will provide you with the username and password to enter into the extension configuration.
- Add the IP address for your server to the access list

Go to Settings -> PayWay Classic API -> Download Digital Certificate.
Set "Choose your API Technology" to "PHP" and click "Go".
Click "Download PHP Certificate" to download ccapi.pem file.
Put this ccapi.pem file to app/code/PL/PaywayApi/Model/Crt

Test Environment
In case you need to see the demo of Westpac PayWay Classic API - Magento 2 extension, please feel free to contact us or sales@polacin.com
Test Credit Card Numbers
Visa: 4564710000000004 - Expiry: 02/29 - CVN: 847
Master: 5163200000000008 - Expiry: 08/30 - CVN: 070
Amex: 376000000000006 - Expiry: 06/30 - CVN: 2349
Diners: 36430000000007 - Expiry: 06/22 - CVN: 348
Release Notes
Version 2.1.4
Released on July 23, 2024
- Changed directory Model/Api to Model/Crt
- Removed PayWayAPI class
- Fixed PHP deprecated functionality
- Compatible with Magento 2.4.7 or later
- Stability improvements
Version 2.1.3
Released on October 18, 2023










