Skip to content

Instantly share code, notes, and snippets.

@paulmorriss
Last active August 29, 2015 14:07
Show Gist options
  • Save paulmorriss/49ba29786389adf77add to your computer and use it in GitHub Desktop.
Save paulmorriss/49ba29786389adf77add to your computer and use it in GitHub Desktop.
Workaround for Online Express Direct debit bug
/* See http://manypies.paulmorriss.com/2014/10/blackbaud-online-express-direct-debit.html 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