coding #52 modifying the generation of applicable discounts
coding #52 updateing the proof of payment service method