styled the receipt
error handling and custom error page

throw error if sum is not larger than zero