OpenCart
Use Moyasar's plugin for the Opencart platform to offer payments online.
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
- Copy the content of each folder, to your OpenCart installation keeping the folder structure.
- Login to the Open Cart admin section and go to Extensions -> Extensions -> Payments.
- Find the Moyasar Payment Method in the list of extensions.
- Click Install.
Directly from the admin section
- Log in to Admin -> Extensions -> Installer
- Click the Upload button, then select
moyasar.ocmod.zip
- Go to Extensions -> Extensions -> Payments
- Find the Moyasar Payment Method in the list of extensions
- Click Install
Configuration
- Click Edit the payment module settings.
- Set Extension Status to Enable and put your API keys found in Moyasar's dashboard then click on Save.
warning
You cannot use Apple Pay or STC Pay while using the test environment keys
- Go to Extensions -> Modifications, and click the Refresh Button.
- Go to Dashboard -> Developer Settings then 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:
- Login to the Moyasar Dashboard
- Go to Settings -> Webhooks
- Click on Add Webhook
- Put the Webhook URL & Webhook Secret and keep the other settings as is
success
You take the Webhook URL & Webhook Secret from any method.
info
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.