You need to specificate a merchant URL at the Docdata Backoffice.
Set the URLs to: https://your-whmcs-installation/modules/gateways/callback/docdata.php?key=&||i=
Replace "your-whmcs-installation" with your WHMCS installation path, but dont change the callback parameters.