update to generate barcode based on coupon string hash