Webhook

WHMCS

Why Using Webhook

You can enable the Webhook feature to trigger events each time the order status changes on 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 account, 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 WHMCS store domain.
https://{example.com}/modules/gateways/myfatoorah/webhook.php
  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.
1140

MyFatoorah Account


WHMCS Account

  1. Log in to your WHMCS admin panel.
  2. Click on the wrench icon at the upper right corner, then click on System Settings.
  3. Under the Payment section, click on the Payment Gateways link.
  4. Navigate to the “Manage Existing Gateways” tab.
  5. Paste the secret key into the Webhook Secret Key text box.
  6. Click on the Save Changes button.
1667

WHMCS Account