OPay Opencart Plugin

Throughout this page, you will learn how to install, configure, and activate OPay payment plugin over your Opencart store. After following closely the steps explained in this tutorial, your Opencart shop will be able to start accepting payments through OPay payment channels.

Before you start

OPay payment integration with Opencart is an easy process. No advanced development skills are needed.

In order to have a smooth and seamless integration, make sure you have the following compatibility list satisfied.

item compatible version References
Opencart 3.0.x.x or higher opencart.com
PHP version 7.4 or higher depending on your opencart version opencart.com

Store Setup

This document illustrates the steps you need to follow to configure your Opencart store. Please follow closely these steps in order to get your store ready for plugin installation.

  1. Login to your Opencart store admin panel.
  2. Click on System->Localisation->Currencies.
  3. Opencart dashboard
  4. Click on + to add new currency.
  5. Opencart add currency
  6. Enter currency information, set the currency status to Enabled, and then click Save.
  7. Opencart currency configuration
  8. Click on System->Settings, and then click on Edit to edit your store country and currency defaults.
  9. Opencart Store settings
  10. Change your store Country and Currency defaults and then click Save.
  11. Opencart Store settings
  12. Well done, you have managed to configure your Opencart store.

Installation

After getting your Opencart store configuration done, these steps illustrates how to install OPay Opencart plugin. Please follow closely these steps in order to integrate OPay plugin within your Opencart store.

  1. Download the plugin.
  2. Click on Extensions->Installer.
  3. Opencart dashboard
  4. Click on Upload. You will be asked to upload OPay plugin you have just downloaded.
  5. Opencart dashboard
  6. Select OPay Opencart plugin: opay-opencart.ocmod.zip and wait for the installation to finish once the upload has been completed.
  7. Opencart add currency
  8. Click on Extensions and enter the extensions configuration page.
  9. Opencart plugin activated feedback message screenshot
  10. Select Payments in the drop-down list and edit payment configuration.
  11. Opencart plugin activated feedback message screenshot
  12. Click on Extensions->Extensions, apply payment extensions filter, and scroll down until you see OPay payment methods.
  13. Opencart add currency
  14. Click on +, to install the payment method you wish to accept payments with.
  15. Opencart add currency
  16. Well done, you have managed to install OPay plugin to your Opencart store.

Configuration

  1. In your Opencart admin panel, navigate to Extensions->Extensions.
  2. In front of OPay logo, click on Edit.
  3. Opencart plugin activated feedback message screenshot
  4. Within the "Configuration" page, please fill the fields as described in the following table:
  5. Opencart plugin activated feedback message screenshot
    field description example
    Allow Debug ? Enable in case you are still in development phase. Disable debug when turning into production mode. Enabled/Disabled
    Accept (method) Status Control whether OPay can be used as a checkout payment method Yes/No
    Merchant ID Your merchant ID you should have received it after creating an account. Set to your test merchant ID for testing, meanwhile, change for live merchant ID to start production mode. 256612345678901
    Secret Key Your Sandbox Secret key you should have received it after creating an account. Set to your test secret key for testing, meanwhile, change for live secret key to start production mode. Secret Key
    Public Key Your Sandbox Public key you should have received it after creating an account. Set to your test public key for testing, meanwhile, change for live public key to start production mode. Public Key
    Method Name The name to be displayed for your customers for this payment method. OPay Payments (Bank Card)
    Expire Time Payment expiration in minutes. 30
  6. Once you're done, click on save changes button.
  7. Opencart plugin activated feedback message screenshot
  8. Repeat the above steps for the three payment methods provided from OPay.

What's Next?

User Profile 12 messages

James Jones
Application Developer
Recent Notifications
Another purpose persuade Due in 2 Days
+28%
Would be to people Due in 2 Days
+50%
-27%
The best product Due in 2 Days
+8%