# OpenCart

> Accept Ozow payments on OpenCart 4.x with the Ozow payment module.

Source: https://hub.ozow.com/integration-methods/plugins-and-platforms/opencart/

Accept Ozow payments on your OpenCart store. The Ozow module is compatible with OpenCart 4.x.

> ℹ️ **Older versions**: Modules for older versions of OpenCart are available on request. Contact
> [support@ozow.com](mailto:support@ozow.com) or your account manager if you need a module for an
> older OpenCart version.

## Before you start

- You need an active Ozow merchant account. If you don't have one, sign up at [ozow.com/merchants](https://ozow.com/merchants).
- You need a working OpenCart 4.x installation.
- Ozow only accepts payments in South African Rand (ZAR). Make sure your OpenCart store currency is
  set to ZAR.
- You will need admin access to your OpenCart installation.

## Download

[Download Ozow Gateway for OpenCart](https://ozow-live-cdn.s3.eu-west-1.amazonaws.com/plugins/OpenCart.zip)

## Installation

**Step 1, Prepare the module file**

1. Download the plugin using the link above
2. Unzip the file to a temporary location on your computer
3. Select the `admin`, `catalog`, and `install.json` files and create a new zip file named exactly `ozow.ocmod.zip`

> ⚠️ **Important**: The zip file must be named `ozow.ocmod.zip` exactly. OpenCart will not recognise
> the module if the file is named differently.

**Step 2, Upload the module**

1. Log in to the admin section of your OpenCart installation
2. Navigate to **Extensions** → **Installer**
3. Upload the `ozow.ocmod.zip` file
4. Once uploaded, you will see **Ozow Payment Gateway** listed under installed extensions
5. Click the **Install** button next to it

**Step 3, Enable the payment module**

1. Navigate to **Extensions** and select **Payments** from the dropdown
2. You will see **Ozow Secure Payments** listed in the Payments section
3. Click the **Install** button to enable it
4. Once installed, click the **Edit** button

**Step 4, Configure the module**

1. Set the payment status for **Completed**, **Failed**, and **Pending** payments
2. Enter your merchant credentials, your API key, private key, and site code are available in your
   [Ozow Dashboard](https://dash.ozow.com)
3. Select your preferred test mode setting
4. Enable the payment module
5. Click **Save**

### Credentials

You will need the following from your [Ozow Dashboard](https://dash.ozow.com):

| Credential | Where to find it |
|---|---|
| API key | Merchant Details section |
| Private key | Merchant Details section |
| Site code | Site section |

## Support

For assistance with your OpenCart integration contact [support@ozow.com](mailto:support@ozow.com) or
reach out to your account manager.