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.zip file 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.

DetailValue
CurrencySAR only
MethodsApple Pay, Mada, Visa, Mastercard, American Express

Step 1 — Upload extension

  1. Log in to OpenCart Admin.
  2. Go to Extensions → Installer.
  3. Click Upload and select the DigetPay .ocmod.zip file for your OpenCart version.
  4. Wait for the Success confirmation.
  5. OpenCart 4.x only: in the Installer list, find DigetPay and click Install (+ green button).

OpenCart 3.x

OpenCart 4.x

OpenCart extension installer — upload OCMOD ZIP

Step 2 — Install extension

  1. Go to Extensions → Extensions.
  2. Choose extension type Payments.
  3. Find DigetPay and click Install (+ green button).
  4. 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

  1. In the DigetPay extension settings, keep Environment set to Test and enter your Test API Key.
  2. Set Status to Enabled.
  3. 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.
  4. 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.


Next: Extension configuration →


Did this page help you?