add credit to sweet alert