Installing the OpenCart Extension
Install the DigetPay payment extension on OpenCart 3.x or 4.x and enable it from the OpenCart admin panel.
Before you start
- OpenCart 3.x or 4.x installed and running on a public HTTPS domain
- PHP with the cURL extension (see the versions below)
- Store currency set to SAR
- Admin access with permission to install extensions
- The DigetPay extension
.ocmod.zipfile for your OpenCart version (download below)
Version requirements: OpenCart 3.x requires PHP 7.2+, while OpenCart 4.x requires PHP 8.0+.
Download
Download the extension that matches your OpenCart version. The two packages are not interchangeable.
| OpenCart version | Extension version | Download |
|---|---|---|
| 3.x | 1.1.0 | DigetPay_OpenCart3_v1.1.0_Test_Live.ocmod.zip |
| 4.x | 1.5.0 | DigetPay_OpenCart4_v1.5.0_Test_Live.ocmod.zip |
| Detail | Value |
|---|---|
| Currency | SAR only |
| Methods | Apple Pay, Mada, Visa, Mastercard, American Express |
Step 1 — Upload extension
- Log in to OpenCart Admin.
- Go to Extensions → Installer.
- Click Upload and select the DigetPay
.ocmod.zipfile for your OpenCart version. - Wait for the Success confirmation.
- OpenCart 4.x only: in the Installer list, find DigetPay and click Install (+ green button).
OpenCart 3.x
OpenCart 4.x
Step 2 — Install extension
- Go to Extensions → Extensions.
- Choose extension type Payments.
- Find DigetPay and click Install (+ green button).
- Click Edit (pencil) to open the configuration.
The Extensions page may look different between OpenCart 3.x and 4.x, but the DigetPay extension must be installed from the Payments extension list.
Upgrading from an earlier version with one API key (OpenCart 4.x): The old key is moved into the Test or Live field that matches the environment it was used in. Check both key fields after upgrading.
Step 3 — Enable payment method
- In the DigetPay extension settings, keep Environment set to Test and enter your Test API Key.
- Set Status to Enabled.
- Click Save. The extension will not save as enabled without the API key for the selected environment.
On OpenCart 4.x, saving also creates the Refunded and Partially Refunded order statuses if they do not exist. - DigetPay should now appear as a payment method at storefront checkout when the checkout currency is SAR.
See Extension configuration for all settings.
If DigetPay does not appear at checkout, check that Status is Enabled, the API key for the selected Environment is filled in, and the customer's checkout currency is SAR.
Updated about 2 months ago

