---
updatedAt: 2025-11-11T23:57:31.000Z
agentTools:
  projectIndex: https://docs.myfatoorah.com/llms.txt
---

# Webhook

## 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.

<hr />

## **MyFatoorah Account**

1. Log in to your [MyFatoorah portal account](https://portal.myfatoorah.com/) and go to Integration Settings → Webhook Settings and configure your settings.
2. Enable the feature.
3. Add your **Endpoint** URL. Replace only the **\{example.com}** with your site URL.

```
https://{example.com}/index.php?dispatch=myfatoorah.webhook
```

4. Generate the **Webhook Secret Key** and copy it by clicking on the copy icon :clipboard: on the right side of the secret key box.
5. Select the **Transaction Status Changed** event type.
6. Click on the Save button.

<Image title="MyFatoorah Webhook.png" alt={1159} width="80%" border={true} src="https://files.readme.io/5ef6304-MyFatoorah_Webhook.png">
  MyFatoorah Webhook
</Image>

<hr />

## **CS-Cart Account**

1. Login into your **CS-Cart** admin panel and navigate to Add-ons → Manage add-ons → MyFatoorah.
2. Click on **MyFatoorah** Name to load the configuration page then open the **Settings** tab.
3. Paste the secret key into the **Webhook Secret Key** text box.
4. Click on the **Save** button.

<Image title="CS-Cart Webhook.png" alt={1000} width="80%" border={true} src="https://files.readme.io/b3a7952-CS-Cart_Webhook.png">
  CS-Cart Webhook
</Image>

<hr />