Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Workaround for Online Express Direct debit bug
/* See for what this is used for*/
$("label#bboxdonation_payment_lblChoiceDirectDebit").click(function() {
if (!$('input#bboxdonation_recurrence_chkMonthlyGift').attr('checked')) {
alert('If you want to pay by direct debit you must tick "Make this a monthly gift"');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.