adding refund code for credits. new gem version 1.1.8