OpenCart
Overview
OpenCart is an open-source e-commerce platform.
Before installing the Verifone Hosted cart for OnlinePay, you must meet the following requirements:
Prerequisites
OpenCart tools:
-
Install the OpenCart plugin, not older than v3+ you can download the latest plugin version from https://www.opencart.com.
OpenCart 4 is not supported.
-
OpenCart server must be using an officially supported version of PHP.
OnlinePay tools:
- The merchant user must have a
Merchant Supervisor
role in the OnlinePay dashboard. - The related organisation must have a
Secure Card Capture Key
in the OnlinePay dashboard. This key is used to encrypt sensitive card data.
Installation
-
Download the OpenCart plugin ZIP file from the link below:
-
After you download the file, rename it to remove
__0
(for example, fromverifone-2.1.1.ocmod__0.zip
toverifone-2.1.1.ocmod.zip
). -
Log in to your OpenCart admin panel and navigate to Extensions > Installer.
-
On the Extension Installer page, click Upload to upload your extension files.
-
Go to Extensions > Choose the extension type, then select the
Payments
extension type. -
From the Extensions list, click Install next to the Verifone Hosted extension.
When installation is complete, configure the OpenCart plugin with your OnlinePay settings.
Configuration
- In your OpenCart Extensions page click Edit on the Verifone Hosted extension.
- The following Account Settings are mandatory:
- Status: Select
Enabled
to enable the plugin. - Choose environment: Select
Production
to connect to your OnlinePay production account. If you have an OnlinePay sandbox account and would like to use it for testing the plugin, selectTest mode (CST)
. - User Id: Your OnlinePay User ID.
- API Key: Your OnlinePay API Key.
- Organisation Id: Your OnlinePay Organisation ID/Site ID.
- Region: Select
AU (Australia)
from the drop-down list.
- Status: Select
- Configure the display settings to customise the look and feel of your checkout.
- Select Hosted Payment Page (HPP) for your OnlinePay hosted checkout page.
- Select iFRAME for your OnlinePay hosted checkout page as an iFrame.
- Define value totals and payment statuses for OpenCart orders.
- Provide your Theme ID. This is a custom theme that you have created in the OnlinePay dashboard. See Customise your Checkout for more information.
- Provide your payment settings:
- PPC ID: Your OnlinePay Payment Provider Contract ID.
- 3DS: Your 3D Secure ID.
- Configure alternative payment methods if your Payment Provider Contract has been configured with Google Pay or Apple Pay. You must provide your Payment Provider Contract ID for Google Pay and Apple Pay.
- In the Advanced Options tab, change the default transaction type to
Sale
orPreauth
.Auth
is not supported by OnlinePay. - Click Save to apply the settings.
Updated 2 days ago