There might be some update regarding online permits in the future, but currently permits are not issued online. You can obtain a permit when you reach Gangtok.