PrestaShop


Overview

Use Moyasar’s plugin to accept e-Payments in your PrestaShop store.

On this page


Requirements

Plugin needs the following requirements to run:

  • PrestaShop >= 1.7.x.
  • PHP >= 5.4.

Plugin Download


Installation

  1. Download the plugin archive in the previous step.
  2. Login to your PrestaShop administration then go to Modules -> Module Manager.
  3. Click on Upload a module.

    upload ps

  4. Drop the module .zip file.

Configration

  1. From the Module Manager go to Payment section.
  2. Find Moyasar then click Configure.

    configration ps

  3. Put your API keys found in Moyasar Dashboard and enable the methods you want then Save. Note: Can’t use STC Pay or Apple Pay in Test mode.

    options ps


Apple Pay Configuration

To configure Apple Pay, you will need to generate a merchant validation certificate from your Apple Developer account.

Since PrestaShop 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

Open the merchant_id.pem file with a text editor and copy it’s content to the Certificate field found in Apple Pay Settings section, 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.


Support

If you need any assistance, please contact us via the support email support@moyasar.com 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