Magento
Accept Ozow payments on Magento 2.4.x with the standard payment gateway module, plus modules for Capitec Pay, Voucher and Buy Now Pay Later.
On this page13 sections
- Before you start
- How payment methods appear at checkout
- Ozow Gateway: one option, with logos for enabled methods
- Payment-specific modules: a separate option for each
- Ozow Gateway for Magento
- Installation
- Credentials
- Upgrade to the latest module
- Payment-specific modules
- Capitec Pay via Ozow
- Voucher via Ozow
- Buy Now Pay Later: Happy Pay via Ozow
- Support
New plugin version available
The latest Ozow Gateway for Magento shows the logo of every payment method enabled on your Ozow account, right at checkout. See Upgrade to the latest module.
Accept Ozow payments on your Magento store. Ozow provides a standard payment gateway module for Magento 2.4.x, as well as additional payment-specific modules for Capitec PayCapitec Pay Capitec's own payment method. The payer gives a cellphone, account or ID number rather than card details, and approves the payment in the Capitec app, so no card number and no banking login is ever entered at checkout. It gets its own button rather than sitting inside the bank list, and it requires Customer Identity Verification.Capitec, Voucher, and Buy Now Pay Later (Happy Pay).
Before you start
- You need an active Ozow merchant account. If you don't have one, sign up at ozow.com/merchants.
- You need a working Magento 2.4.x installation.
- Ozow only accepts payments in South African RandZAR The ISO 4217 code for the South African rand, and the currency every amount on this site is in unless a page says otherwise. Amounts are decimal rand rather than cents, so
100.00is one hundred rand. (ZAR). You will need to add ZAR as a currency in your Magento store before activating the module. - You will need command line (CLI) access to your Magento server to complete the installation.
How payment methods appear at checkout
What customers see depends on which Ozow modules you've installed.
Ozow Gateway: one option, with logos for enabled methods
The Ozow Gateway adds one Ozow option at checkout, with a logo for up to five payment methods enabled on your Ozow account. If more are enabled, a +N count shows how many more. These can include card, Pay by Bank, PayShap, Buy Now Pay Later, vouchers and crypto. When a customer selects Ozow, the name of each method appears, so they can see how they're able to pay before they leave your checkout.
The logos update on their own:
- When Ozow enables a new payment method for your account, its logo appears at checkout within 15 minutes. To show it straight away, go to the Ozow settings and click Save Config. You don't need to change any code or update the module.
- If a method isn't enabled for your account, its logo doesn't appear.
- If the list of methods can't be loaded, the Ozow option shows only the Ozow logo. Customers can still pay as normal.
Here's an example of the Ozow option at checkout. Your store shows up to five logos, followed by a +N count if you've enabled more.

Payment-specific modules: a separate option for each
Each payment-specific module adds its own option at checkout, separate from the Ozow option, with that method's logo. For example, if you install Capitec Pay via Ozow, customers see Capitec Pay as its own option, separate from Ozow.

Use a payment-specific module when you want a method to show as its own checkout option. Otherwise, the Ozow Gateway option already shows the methods you've enabled.
If you've installed a payment-specific module for a method that's also enabled on your Ozow account, that method can show twice at checkout: on the Ozow option, and as its own option.
Ozow Gateway for Magento
Download Ozow Gateway for Magento
Installation
Step 1: Add ZAR as a currency
- In your Magento admin panel, navigate to Stores → Configuration → General → Currency Setup
- Add ZAR under Currency Symbols and Rates
Step 2: Upload the module
- Download the plugin using the link above
- Extract the zip file
- Upload the
Ozowfolder into your Magento directory atmagentorootfolder/app/code/
Note
This will not override any existing files on your system.
Step 3: Run the installation commands
Run the following commands in order from your Magento root directory:
php bin/magento module:enable Ozow_Ozow
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:clean
Step 4: Configure the module
- Log in to your Magento admin panel
- Navigate to Stores → Configuration → Sales → Payment Methods
- Click on Ozow
- Enter your merchant credentials, your API key, private key, and site codeSite code The unique code for a site registered under a merchant. A site is a place to transact: a website, or a branch of a store. A merchant can have several, and each transaction names the one it belongs to, so sending the wrong code files the payment against the wrong place. are available in your Ozow Portal
- Click Save Config
Credentials
You will need the following from your Ozow Portal:
| Credential | Where to find it |
|---|---|
| API key | Merchant Details section |
| Private key | Merchant Details section |
| Site code | Site section |
Upgrade to the latest module
The module that shows payment method logos is version 3.7. To upgrade from an earlier version:
-
Back up your store, including the
app/code/Ozowfolder. -
Download the latest Ozow Gateway for Magento and extract it. The module is in
ozow-magento-v3.7/src/Ozow/Ozow. -
On your server, replace the
app/code/Ozow/Ozowfolder with the new one. -
Run the installation commands from your Magento root directory:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento indexer:reindex php bin/magento cache:clean -
Go to Stores → Configuration → Sales → Payment Methods, open Ozow, check that your credentials are still saved, and click Save Config.
-
Make a test payment. Check that the Ozow option shows the payment methods you've enabled.
Replace only app/code/Ozow/Ozow
Your payment-specific modules live beside it, in
folders such as app/code/Ozow/OzowCapitec. Replacing the whole app/code/Ozow folder removes
them. They don't need upgrading.
Payment-specific modules
In addition to the standard gateway, Ozow provides dedicated modules for specific payment methods. You can install these alongside the standard gateway to show a specific Ozow payment method as its own option at checkout, so customers can go straight to the way they want to pay. See How payment methods appear at checkout. The installation process for each follows the same pattern as the standard gateway.
Capitec Pay via Ozow
Enables Capitec Pay as a standalone payment method at checkout.
Installation
Step 1: Add ZAR as a currency (skip if already done)
In your Magento admin panel, navigate to Stores → Configuration → General → Currency Setup and add ZAR under Currency Symbols and Rates.
Step 2: Upload the module
- Download the plugin using the link above
- Extract the zip file
- Upload the
Ozowfolder into your Magento directory atmagentorootfolder/app/code/
Step 3: Run the installation commands
php bin/magento module:enable Ozow_OzowCapitec
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:clean
Step 4: Configure the module
- In your Magento admin panel, navigate to Stores → Configuration → Sales → Payment Methods
- Click on Capitec Pay via Ozow
- Enter your merchant credentials
- Click Save Config
Voucher via Ozow
Enables Cash Voucher redemption as a standalone payment method at checkout.
Download Cash Voucher via Ozow
Installation
Step 1: Add ZAR as a currency (skip if already done)
In your Magento admin panel, navigate to Stores → Configuration → General → Currency Setup and add ZAR under Currency Symbols and Rates.
Step 2: Upload the module
- Download the plugin using the link above
- Extract the zip file
- Upload the
Ozowfolder into your Magento directory atmagentorootfolder/app/code/
Step 3: Run the installation commands
php bin/magento module:enable Ozow_OzowVoucher
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:clean
Step 4: Configure the module
- In your Magento admin panel, navigate to Stores → Configuration → Sales → Payment Methods
- Click on Cash Voucher via Ozow
- Enter your merchant credentials
- Click Save Config
Buy Now Pay Later: Happy Pay via Ozow
Enables Buy Now Pay Later (Happy Pay) as a standalone payment method at checkout.
Download Buy Now Pay Later: Happy Pay via Ozow
Note
The Happy Pay module requires the Happy Pay widget to be displayed on your product pages. See the Buy Now Pay Later product page for widget implementation guidance.
Installation
Step 1: Add ZAR as a currency (skip if already done)
In your Magento admin panel, navigate to Stores → Configuration → General → Currency Setup and add ZAR under Currency Symbols and Rates.
Step 2: Upload the module
- Download the plugin using the link above
- Extract the zip file
- Upload the
Ozowfolder into your Magento directory atmagentorootfolder/app/code/
Step 3: Run the installation commands
php bin/magento module:enable Ozow_OzowHappyPay
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:clean
Step 4: Configure the module
- In your Magento admin panel, navigate to Stores → Configuration → Sales → Payment Methods
- Click on Happy Pay via Ozow
- Enter your merchant credentials
- Click Save Config
Support
For assistance with your Magento integration contact support@ozow.com or reach out to your account manager.
Older versions
Modules for older versions of Magento are available on request. Contact support@ozow.com or your account manager if you need a module for an older Magento version.
Last updated