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 account and go to Integration Settings → Webhook Settings and configure your settings.
- Enable the feature.
- Add your Endpoint URL.
https://example.com/module/myfatoorah/webhook
https://example.com/index.php?fc=module&module=myfatoorah&controller=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.
PrestaShop Account
- Login into your PrestaShop admin panel.
- Navigate to Modules then Module Manager for PrestaShop 1.7 or to Modules and Services PrestaShop 1.6.
- Select Payment from the Category drop-down list or search for MyFatoorah.
- Click on the Configure button of the MyFatoorah Payment Gateway plugin.
- Paste the secret key into the MyFatoorah Webhook Secret Key text box.
- Click on the Save button.
Updated about 1 year ago