credit to merchant and deduction from user now working