Handling a customer purchase