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}/?wc-api=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.
![woocommerce-webhook.png 1170](https://files.readme.io/86b1acf-woocommerce-webhook.png)
MyFatoorah Webhook
WordPress Account
- Login into your WordPress admin panel and navigate to WooCommerce → Settings → Payments → MyFatoorah.
- Paste the secret key into the Webhook Secret Key text box.
- Click on the Save changes button.
![woocommerce-webhook-2.png 849](https://files.readme.io/57fd370-woocommerce-webhook-2.png)
WooCommerce Webhook
Updated 9 months ago