Use Moyasar’s plugin for Opencart platform to offer payments online.
On this page
Plugin needs the following requirements to run:
- OpenCart >= 2.3 or OpenCart >= 3.0.
- PHP >= 5.4.
To get the plugin, Download last version from below the link:
- OpenCart Plugin 2.3.
- OpenCart Plugin 3.0.
- Copy the content of each folder, to your opencart installation keeping the folder structure.
- Login to the Open Cart admin section and go to Extensions -> Extensions -> Payments.
MoyasarPayment Method in the list of extensions.
Click Edit the payment module settings.
Set Extension Status to Enable and put your
API keysfound in Moyasar Dashboard then Save. Note: Can’t use STC Pay or Apple Pay in Test mode.
- Go to Extensions -> Modifications.
Click the Refresh Button.
Apple Pay Configuration
To configure Apple Pay, you will need to generate a merchant validation certificate from your Apple Developer account.
Since OpenCart 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 in 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.
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