WooCommerce
Use Moyasar's plugin for the WooCommerce store to accept e-payments.
To start using Moyasar's WooCommerce version 7:
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
Visit the official Moyasar Plugin Page for more details, updates, and support resources related to the plugin.
- Log in to WordPress Admin Panel:
- Navigate to the WordPress Admin Dashboard.
- Go to the Plugins Section:
- Click on Plugins -> Add New.
- Search for the Plugin:
- In the search bar, type Moyasar.
- Install the Plugin:
- Locate the plugin in the search results and click the Install Now button.
- Activate the Plugin:
- Once installed, click the Activate button to enable the plugin.
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
To enable method:
- Add your API Keys
- Configure the method
- Toggle the enable input
- Click on Save change
Enable the Credit Card method by setting Enabled to Yes.
Options:
- Select schemas (Mada, Visa, MasterCard, or Amex)
Tokenization must be enabled.
Enable the Apple Pay method by setting Enabled to Yes, and ensure that your store's domain is activated.
Options:
- Select schemas (Mada, Visa, MasterCard, or Amex)
- Select Supported Countries for applepay
To activate Apple Pay, register your domain in Moyasar's dashboard. For more details follow this guide.
Enable the STC Pay method by setting Enabled to Yes,
STC Pay methods won't work if you are using Testing Environment Keys.
Some configurations are shared between the methods. For instance, 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:
- Go to Settings -> Webhooks
- Click on Add Webhook
- 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.
To migrate from * to 7, deactivate and delete the old plugin and follow the installation section.
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.