An adapted the credit card validation program so it allows you to use switch (UK cards) and debit cards.
Click here for the script!