E-Commerce Plugins

WooCommerce

22min

Overview

Use Moyasar's plugin for the WooCommerce store to accept e-payments.



Before Starting

To start using Moyasar's WooCommerce version 7:



Requirements

Moyasar plugin needs the following requirements to run:

  • WordPress v5.6.0 or higher.
  • PHP v5.6 or higher
  • WooCommerce v5.1.0 or higher


Plugin Download

To get the plugin, Download the last version from below the link:



Installation

  1. Download the plugin archive in the previous step.
  2. Login inside the Admin Panel and go to Plugins -> Installed Plugins.
Installed plugins
Installed plugins


3. Click on the Add New button.

4. Then click on Upload Plugin.

5. Click on Browse and select the archive file, then hit Install Now then follow the install process.

6. Go back to the Installed Plugins page then enable Moyasar Payment Gateway by clicking on Activate.



Document image



Methods

Moyasar plugin supports three payment methods: Credit Card, Apple Pay, and STC Pay.

Each payment can be enabled and customized individually.

To manage the methods navigate to:

WooCommerce -> Settings -> Payments



Document image


To enable method:

  1. Add your API Keys
  2. Configure the method
  3. Toggle the enable input
  4. Click on Save change


Credit card

Enable the Credit Card method by setting Enabled to Yes.

Options:

  1. Select schemas (Mada, Visa, MasterCard, or Amex)



Tokenization must be enabled.



Apple pay

Enable the Apple Pay method by setting Enabled to Yes, and ensure that your store's domain is activated.

Options:

  1. Select schemas (Mada, Visa, MasterCard, or Amex)
  2. Select Supported Countries for applepay



To activate Apple Pay, register your domain in Moyasar's dashboard. For more details follow this guide.



STC Pay

Enable the STC Pay method by setting Enabled to Yes,



STC Pay methods won't work if you are using Testing Environment Keys.





Configuration

Some configurations are shared between the methods. For instance, Webhooks.



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.



Migration Guide

From * -> 7

To migrate from * to 7, deactivate and delete the old plugin and follow the installation section.



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 05 Nov 2024
Did this page help you?