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}/index.php?route=extension/myfatoorah/payment/myfatoorah.webhook
https://{example.com}/index.php?route=extension/myfatoorah/payment/myfatoorah|webhook
https://{example.com}/index.php?route=extension/payment/myfatoorah/webhook
https://{example.com}/index.php?route=payment/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.
1201

Portal Webhook


OpenCart Account

  1. Log in to your OpenCart admin panel and navigate to Extensions → Extensions → Payments → Myfatoorah.
  2. Paste the secret key into the Webhook Secret Key text box.
  3. Click on the Save button.
1576

OpenCart Webhook