add pay interface and implements store interface