checking users pay before before giving discount