If a withdrawal has not gone through, it is because there were not enough funds in the account when the amount was to be reserved. The repayment of your loan is done automatically via direct debit, and in order for this to happen, there needs to be enough money in the account.