The impacts of sales efforts and mode of payment on the competition between agent and retailer