added payment support and prints a receipt to the user