Server code for PennDiscount