E-Commerce Plugins

OpenCart

15min

Overview

Use Moyasar's plugin for the Opencart platform to offer payments online.

Before Starting

To start using Moyasar's OpenCart version 4.0.0 or greater



Plugin Page

Visit the official Moyasar Plugin Page for more details, updates, and support resources related to the plugin.



Installation

There are two options for uploading a plugin:

Installation by copying the files

  1. Copy the content of each folder, to your open cart installation keeping the folder structure.
  2. Login to the Open Cart admin section and go to Extensions -> Extensions -> Payments.
  3. Find the Moyasar Payment Method in the list of extensions.
  4. Click Install.
Install Moyasar's oc plugin
Install Moyasar's oc plugin



Directly from the admin section

  1. Log in to Admin -> Extensions -> Installer
  2. Click the Upload button, then select moyasar.ocmod.zip
  3. Go to Extensions -> Extensions -> Payments
  4. Find the Moyasar Payment Method in the list of extensions
  5. Click Install.


Configuration

  1. Click Edit the payment module settings.
Edit configeration options
Edit Configuration

Moyasar's plugin settings


2. Set Extension Status to Enable and put your API keys found in Moyasar's dashboard then click on Save.

Status option
Status option


You cannot use Apple Pay or STC Pay while using the test environment keys

3. Go to Extensions -> Modifications, and click the Refresh Button.

Refersh modifications
Refersh modifications


4. Go to Dashboard -> Developer Settings then clear cache.

Clear Cache
Clear Cache





Webhooks

Moyasar uses webhooks to notify your store whenever a payment changes its state. The notification is an asynchronous request.

To configure the webhook option, follow these steps:

  1. Login to the Moyasar Dashboard
  2. Go to Settings -> Webhooks
  3. Click on Add Webhook
  4. Put the Webhook URL & Webhook Secret and keep the other settings as is



You take the Webhook URL & Webhook Secret from any method.



Webhooks ensure order continuity in case of payment disruption.



Apple Pay Configuration

To configure Apple Pay, you will need to register your domain in Moyasar's dashboard. For more details follow this guide.



Support

If you need any assistance, please contact us via the Moyasar Care email [email protected] or through open a support ticket at the bottom right corner and provide us with the below information:

  • Your platform.
  • The version number of the platform you use.



Updated 04 Dec 2024
Did this page help you?