Here is the guide to stop creation of auto tickets when a client cancels Recurring Payments of Paypal in Clientexec.
Open the file: \plugins\gateways\paypal\PluginPaypal.php
Search for this piece of code there:
// If createTicket returns false it’s because this transaction has already been done
if (!$cPlugin->createTicket($agreement[‘id’], $subject, $message, $tUser)) {
exit;
}
Comment that code. It will become something like this:
/*// If createTicket returns false it’s because this transaction has already been done
if (!$cPlugin->createTicket($agreement[‘id’], $subject, $message, $tUser)) {
exit;
}*/
Save the changes.