Install the Magento 2 plugin for OnlinePay

Overview

This section explains how to integrate OnlinePay with your Magento 2 store using the Verifone Hosted Cart plugin. The plugin integrates with the OnlinePay Hosted Checkout to provide a seamless payment experience for your customers.

ℹ️

The OnlinePay Magneto 2 plugin is provided via our payment partner, Verifone and is called the Verifone Magento 2

Prerequisites

Download the plugin ZIP file from the link below:

  1. Extract the ZIP file to your magento2/app/code directory. If the code directory does not exist, create it.

  2. Run the following commands from your project directory to install the module:

    bin/magento setup:upgrade
    bin/magento setup:di:compile
  3. Log in to your Magento 2 admin panel and navigate to System > Cache Management.

    Cache management menu
  4. Click Flush Magento Cache to clear the cache and apply the changes.

    Flush Magento Cache button in the Cache Management screen
  5. Navigate back to System, then select Tools > Index Management.

  6. On the Index Management page, select all indexes and Update on Save, then click Submit to re-index the data.

    The Index Management screen showing all indexes selected and the Submit button



Terms and conditions Website requirements Other fees and charges

This information is a general statement for information purposes only and should only be used as a guide. While all care has been taken in preparation of this document, no member of the Westpac Group, nor any of their employees or directors gives any warranty of accuracy or reliability nor accepts any liability in any other way, including by reason of negligence for any errors or omissions contained herein, to the extent permitted by law. Unless otherwise specified, the products and services described are available only in Australia.

© Westpac Banking Corporation ABN 33 007 457 141 AFSL and Australian credit licence 233714.