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. Replace only the {example.com} with your site URL.
https://{example.com}/?wc-api=myfatoorah_webhook
  1. Generate the Webhook Secret Key and copy it by clicking on the copy icon :clipboard: on the right side of the secret key box.
  2. Select the Transaction Status Changed event type.
  3. Click on the Save button.
1170

MyFatoorah Webhook


WordPress Account

  1. Login into your WordPress admin panel and navigate to WooCommerce → Settings → Payments → MyFatoorah.
  2. Paste the secret key into the Webhook Secret Key text box.
  3. Click on the Save changes button.
849

WooCommerce Webhook