pass the variables into the receipt generation