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.