Drupal
Accept Ozow payments on Drupal Commerce with the Ozow module, for Drupal 10 and 11 running Commerce 2 or 3.
On this page7 sections
Accept Ozow payments on your Drupal Commerce store. The Ozow module is compatible with Drupal 10 and 11 running Commerce 2 or 3.
Older versions
Modules for older versions of Drupal are available on request. Contact support@ozow.com or your account manager if you need a module for an older Drupal version.
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 Drupal 10 or 11 installation with Drupal Commerce 2 or 3 installed and active.
- 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). Make sure your store currency is set to ZAR. - You will need admin access to your Drupal installation.
Download
Download Ozow Gateway for Drupal
Installation
There are two ways to install the Ozow Drupal module, manually or using Composer. Choose the method that suits your setup.
Method 1: Manual installation
- Download the plugin using the link above
- Extract the zip file
- Locate the
commerce_ozowfolder inside the extracted files - Move or copy the
commerce_ozowfolder into yourwebsite_root/modulesdirectory - Log in to your Drupal admin dashboard
- Navigate to Extend
- Find Commerce Ozow in the module list and install it
- Navigate to Store → Payment Methods
- Click Add payment method and select Ozow
- Complete all fields with your merchant credentials, your 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., private key, and API key are available in your Ozow Dashboard
- Set Enable Test Mode to Yes to test your integration, or No to go live
- Click Save
Method 2: Composer installation
- Download the plugin using the link above
- Extract the zip file
- Install the
commerce_ozowfolder into yourwebsite_root/modulesdirectory using Composer - Navigate to Store → Payment Methods
- Click Add payment method and select Ozow
- Complete all fields with your merchant credentials
- Set Enable Test Mode to Yes to test your integration, or No to go live
- Click Save
Credentials
You will need the following from your Ozow Dashboard:
| Credential | Where to find it |
|---|---|
| API key | Merchant Details section |
| Private key | Merchant Details section |
| Site code | Site section |
Support
For assistance with your Drupal integration contact support@ozow.com or reach out to your account manager.
Last updated