Magento2

πŸ“˜

To use the Sadad plugins, the merchant account has to be qualified to use the API.
Please log in to merchant account and find the Client and Secret Keys under the profile page. If it's not showing, please contact [email protected] to enable it.

500

πŸ‘‰

Sadad Magento module allows merchants to set up and accept payments using Sadad on the Magento e-commerce store.

Installation

  1. Install the Sadad Payment Magento2 module via sadad-payment/magento2-module composer.
composer require sadad-payment/magento2-module
  1. In the command line, run the below Magento commands to enable Sadad Gateway module.
php -f bin/magento module:enable --clear-static-content Sadad_Gateway
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush

Admin Configuration

  1. Login into Magento admin panel.
  2. In the left Menu β†’ Stores β†’ Configuration section
  3. In Sales Section β†’ Payment Methods β†’ Sadad Payment
  4. Login to the Sadad account, In the left Menu β†’ navigate to Profile β†’ Update profile β†’ get the Sadad Client ID and Secret.
  5. Then, use that information in the Magento Sadad Pay settings page.

Webhook endpoint

  1. Login to the Sadad account.
  2. In the left Menu β†’ navigate to Profile β†’ Update profile
  3. In Webhook URL, add the endpoint https://yourStoreDomain.com/sadad_gateway/payment/webhook/
  4. Replace [yourStoreDomain.com] with the actual Magento domain.