OPay VirtueMart Plugin


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

Store Preparation


The OPay payment integration with VirtueMart is simple and we've provided easy steps to help you get up and running!

Warning

Warning

Make sure you have an active OPay account or you can create an account.

Warning

Warning

You need to log in to the Dashboard.


  1. Get Merchant ID, Secret Key, Public Key for sandbox/production environment

    As shown in the figure below:Log in to your OPay account, switch to sandbox environment (Test Mode):

  2. OPay dashboard

  3. Click on Account Details:
  4. OPay dashboard account details

  5. Merchant ID is shown as below:
  6. OPay Merchant ID

  7. Please click API Keys & Web Hook to access Secret Key and Public Key:
  8. OPay API

  9. To get Merchant ID, Secret Key and Public Key for production environment, please switch to Live Mode and repeat the above three steps:
  10. VirtueMart Store settings

  11. Well done, now you're ready to setup your VirtueMart store to start accepting payments through OPay.

Store Setup


This section illustrates the steps you need to follow to configure your VirtueMart store.


  1. Login to your VirtueMart store admin panel.

  2. Click on Shop to find the currency setting options and modify the currency.
  3. VirtueMart dashboard

  4. Click on Save after the modification:
  5. VirtueMart add currency

Note

Congratulations!

Your VirtueMart store is now set up!

Installation


After completing the configuration, please follow the steps below to install OPay's VirtueMart plugin.


  1. Download the plugin.

  2. Click on the Extensions to enter the installation page:
  3. VirtueMart dashboard

  4. Click the Upload button , to upload the OPay payment plug-in zip. package (upload and installation):

  5. The figure indicates the completion of the installation:
  6. VirtueMart add currency

  7. Find OPay in Extensions Management , and enable the extension:
  8. VirtueMart add currency

Note

Congratulations!

You've successfully installed the OPay VirtueMart plugin!

Configuration


  1. Click on Payment Methods-> New to enter the new configuration page:
  2. VirtueMart plugin activated feedback message screenshot

  3. Fill in the name of the new payment, select OPay, and then click Save:
  4. VirtueMart plugin activated feedback message screenshot

    Warning

    Warning

    Supported payment methods:

    • Bank Card
    • OPay Reference Code
    • Shahry
    • ValU
    • Mobile Wallet
    • Bank Installment


  5. After saving successfully, click Configuration on the right to see the OPay configuration page

  6. Close the production environment. Payment Method corresponds to three payment methods: Bank Card, Reference Code, Shahry, ValU and Mobile Wallets
  7. VirtueMart plugin activated feedback message screenshot

    field description example
    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
    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
    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
    Order Expire Time Payment expiration in minutes. 30
    Payment Method The name to be displayed for your customers for this payment method. OPay Payments (Bank Card)
    Allow Debug ? Enable in case you are still in development phase. Disable debug when turning into production mode. Enabled/Disabled

  8. After clicking the "Save" button , you can be seen in the Payment Method list.
  9. VirtueMart plugin activated feedback message screenshot

    Note

    Congratulations!

    The OPay payment component installation is fully configured!

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%