Pulled improvements from cancel.php page template in core into custom template.
Specifically this addresses issues in cases where the cancel page is visited without the levelstocancel URL parameter being passed. The motivation for pulling these changes is a conflict with Cancel on Next Payment Date v0.4 where if that URL parameter was not present, users would not have recurring levels returned to them after cancellation.
Now, if the levelstocancel URL parameter is not present when viewing the cancel page, users will now be prompted to select the level that they would like to cancel before entering a reason for cancelling.
Pulled improvements from cancel.php page template in core into custom template.
Specifically this addresses issues in cases where the cancel page is visited without the
levelstocancel
URL parameter being passed. The motivation for pulling these changes is a conflict with Cancel on Next Payment Date v0.4 where if that URL parameter was not present, users would not have recurring levels returned to them after cancellation.Now, if the
levelstocancel
URL parameter is not present when viewing the cancel page, users will now be prompted to select the level that they would like to cancel before entering a reason for cancelling.