starting payment and gate operation