check discount respond to origin_url