Added a check to process(Payment payment) where you indicated here.