E-Commerce Plugins

WooCommerce

20min

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 Page

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



Installation

  1. Log in to WordPress Admin Panel:
    • Navigate to the WordPress Admin Dashboard.
  2. Go to the Plugins Section:
    • Click on Plugins -> Add New.
  3. Search for the Plugin:
    • In the search bar, type Moyasar.
  4. Install the Plugin:
    • Locate the plugin in the search results and click the Install Now button.
  5. Activate the Plugin:
    • Once installed, click the Activate button to enable the plugin.





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