Accept e-Payments in your WooCommerce store using Moyasar’s plugin.
On this page
Plugin needs the following requirements to run:
- WordPress >= 5.6.0.
- PHP >= 5.6.
- WooCommerce >= 5.1.0
- To get the plugin, Download last version from below the link: WooCommerce Plugin 4.3.4
- Download the plugin archive in the previous step.
Login inside the Admin Panel and go to Plugins -> Installed Plugins.
- Click on the Add New button.
- Then click on Upload Plugin.
- Click on Browse and select the archive file, then hit Install Now then follow the install process.
Go back to the Installed Plugins page then enable
Moyasar Payment Gatewayby clicking on Activate .
You can configure the plugin by going to Installed Plugin and then clicking Gateway Settings, or by going through WooCommerce settings and selecting Moyasar Payments from the payments tab.
Here is how to configure the plugin:
- In General tab make sure you have enabled the plugin.
You can set the plugin to use Test mode which allows you to simulate payments in our Sandbox environment.Note: Can’t use STC Pay or Apple Pay in Test mode.
- Click on Save changes.
- Click on API Keys and add your API keys found in Moyasar Dashboard then click Save changes.
- You can activate more payment methods from Payment Methods tab, just make sure to activate them on your account before doing so.
Apple Pay Configuration
To configure Apple Pay, you will need to generate a merchant validation certificate from your Apple Developer account.
Since WordPress is written in PHP, you have to provide the certificate in PEM format, here is a small command that allows you to convert your certificates:
openssl x509 -inform der -in merchant_id.cer -out merchant_id.pem openssl pkcs12 -nocerts -nodes -in merchant_id.p12 -out merchant_id.key
merchant_id.pem file with a text editor and copy it’s content to the Certificate field found in Apple Pay Settings tab,
same goes for
merchant_id.key but in the Private Key field.
Make sure to fill the same Merchant Identifier you have created in your Apple Developer Account then hit on Save changes.
If you need any assistance, please contact us via the support email firstname.lastname@example.org or through live chat that at the bottom right corner and provide us with the below information:
- Your platform.
- The version number of the platform you use.
Last Modified : Oct 2021