PayWay Net for Magento 2: Hosted Payment Page Integration and Compatibility Guide
When integrating a payment gateway into Magento 2, security and maintenance are always important considerations. Merchants need a payment solution that can provide a reliable checkout experience while reducing the complexity of handling sensitive payment information.
Westpac PayWay Net is designed around a hosted payment page approach, where payment details are securely processed through the PayWay environment instead of being directly handled by the merchant's Magento server.

For Magento 2 stores, this approach provides a practical way to accept online payments while reducing the amount of payment-related security responsibility managed by the store.
How PayWay Net works with Magento 2
PayWay Net works by redirecting customers from the Magento checkout process to a secure payment page hosted by Westpac PayWay.
The typical payment flow is:
Customer
↓
Magento 2 Checkout
↓
PayWay Net Hosted Payment Page
↓
Customer enters payment details
↓
PayWay processes the transaction
↓
Payment response returned to Magento
The Magento store is responsible for creating the payment request and handling the transaction result, while PayWay manages the sensitive payment processing environment.
This hosted payment model is commonly used by merchants who want a secure payment solution without building and maintaining their own card payment processing system.
Why PayWay Net is a good choice for Magento 2 merchants
One of the main advantages of PayWay Net is that the payment page is hosted by PayWay.
Instead of collecting card information directly on the Magento checkout page, customers enter their payment details within the PayWay secure environment.
This provides several benefits:
- Less sensitive payment data is handled by the Magento application.
- The merchant does not need to manage their own payment form security.
- Payment processing infrastructure is maintained by PayWay.
- The Magento store can focus on order management and customer experience.
For many merchants, reducing the complexity of payment security is an important factor when selecting a payment gateway.
Reduced PCI DSS scope with PayWay Net
PCI DSS compliance is one of the biggest concerns when accepting online card payments.
A Magento store that directly collects and processes card details needs to manage additional security requirements around payment data protection.
With PayWay Net Hosted Payment Page, card details are entered and processed through the PayWay platform.
This helps reduce the amount of sensitive payment information handled by the merchant website and can simplify PCI DSS compliance requirements.
The merchant still needs to maintain general website security practices, but the responsibility for handling card payment data is reduced compared with solutions where card details are processed directly by the Magento application.
Payment features supported by PayWay Net
Modern ecommerce customers expect secure and convenient payment options. PayWay Net supports additional payment security and payment methods depending on the merchant's PayWay account configuration.
3D Secure Authentication
3D Secure provides an additional authentication step for online card transactions.
It helps verify customers during card-not-present transactions and adds another layer of protection against fraudulent payments.
Apple Pay and Google Pay
Digital wallet payments are becoming increasingly important for online stores.
PayWay Net supports payment methods such as Apple Pay and Google Pay, allowing customers to use supported digital wallets during checkout.
These payment options help improve checkout convenience while keeping payment processing within the secure PayWay environment.
PayWay Net and Magento 2.3 with PHP 7.x
Magento 2.3.x was widely used with PHP 7.x environments, and many existing Magento stores still operate on this platform.
For Magento 2.3 installations, PayWay Net integration can provide a stable payment solution when the extension is developed according to Magento coding standards and the target environment.
The combination of Magento 2.3.x and PHP 7.x remains common among merchants who have not yet migrated to newer Magento versions.
PayWay Net compatibility considerations with Magento 2.4 and PHP 8
Magento 2.4 introduced support for PHP 8, which brought several changes to the PHP runtime environment and underlying libraries.
When upgrading a Magento store from Magento 2.3/PHP 7.x to Magento 2.4/PHP 8.x, existing payment integrations may require additional compatibility adjustments.
Some areas that may need attention include:
- Encryption library compatibility
- Deprecated PHP functions
- Third-party payment dependencies
- Security-related libraries
Some encryption-related functions that worked normally in older PHP environments may require updates or custom adjustments to work correctly on PHP 8.
Testing the payment integration on a staging environment before upgrading a production Magento store is strongly recommended.
Is PayWay Net suitable for your Magento 2 store?
PayWay Net is a suitable option for Magento merchants who:
- Prefer a hosted payment solution
- Want to reduce PCI DSS complexity
- Do not want Magento to directly handle card details
- Need a stable payment gateway integration
- Want built-in support for modern payment security features
It is especially useful for businesses that prefer reliability and security over building a fully customised payment processing flow.
Westpac PayWay Net integration for Magento 2
Polacin's Westpac PayWay Magento 2 Payment Gateway extension provides integration with Westpac PayWay services, including PayWay Net Hosted Payment Page.
The extension is developed for Magento merchants who need a secure payment solution supporting:
- PayWay Net Hosted Payment Page
- PayWay Trusted Frame
- PayWay REST API
- 3D Secure payment authentication
- Magento 2 payment workflow integration
Learn more about the extension:
Westpac PayWay Magento 2 integration solution
For Magento 2 merchants using Westpac PayWay, understanding how PayWay Net works and how it fits into different Magento environments is important before choosing an integration approach.
A hosted payment solution like PayWay Net can help simplify payment security management while providing customers with a reliable checkout experience.