Why Using Webhook

You can enable the Webhook feature to trigger events each time the order status changes at the MyFatoorah side. This feature will recover the lost orders due to connection loss or delayed callbacks.


MyFatoorah Account

  1. Log in to your Myfatoorah portal account and go to Integration Settings → Webhook Settings and configure your settings.
  2. Enable the feature.
  3. Add your Endpoint URL.
https://example.com/rest/all/V1/myfatoorah/webhook
  1. Generate the Webhook Secret Key and copy it by clicking on the copy icon 📋 on the right side of the secret key box.
  2. Select the Transaction Status Changed event type.
  3. Click on the Save button.
1170

Portal Webhook


Magento2 Account

  1. Login into your Magento2 admin panel and navigate to Stores → Configuration → Sales → Payment Methods → Other Payment Methods → MyFatoorah Payment Gateway.
  2. Paste the secret key into the Webhook Secret Key text box.
  3. Click on the Save button.
1850

Magento2 Webhook