reduce background image size
extract payment logic to cashier object