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
- Log in to your Myfatoorah account, go to Integration Settings → Webhook Settings, and configure your settings.
- Enable the feature.
- Add your Endpoint URL. Replace only the {example.com} with your WHMCS store domain.
https://{example.com}/modules/gateways/myfatoorah/webhook.php
- 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.
WHMCS Account
- Log in to your WHMCS admin panel.
- Click on the wrench icon at the upper right corner, then click on System Settings.
- Under the Payment section, click on the Payment Gateways link.
- Navigate to the “Manage Existing Gateways” tab.
- Paste the secret key into the Webhook Secret Key text box.
- Click on the Save Changes button.
Updated 11 months ago