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.
MyFatoorah Account
- Log in to your MyFatoorah portal account and go to Integration Settings → Webhook Settings and configure your settings.
- Enable the feature.
- Add your Endpoint URL. Replace only the {example.com} with your site URL.
https://{example.com}/index.php?dispatch=myfatoorah.webhook
- Generate the Webhook Secret Key and copy it by clicking on the copy icon 📋 on the right side of the secret key box.
- Select the Transaction Status Changed event type.
- Click on the Save button.
CS-Cart Account
- Login into your CS-Cart admin panel and navigate to Add-ons → Manage add-ons → MyFatoorah.
- Click on MyFatoorah Name to load the configuration page then open the Settings tab.
- Paste the secret key into the Webhook Secret Key text box.
- Click on the Save button.
Updated 11 months ago