whmcs-hooks
Some useful hooks desigend by DMIT for WHMCS
CancelSubscription.php
Cancel Subscriptions (like PayPal) when perform refund/cancel/change gateway of the invoices.
- Upload
CancelSubscription.php
to your whmcs hooks directory, e.g./yourwhmcsdir/includes/hooks/
- Turn on
Automatic Subscription Management
in your WHMCS settings,Settings->Invoice->Automatic Subscription Management