Since there is no physical guichet, you can purchase tickets via:

Located within the station for TER Grand Est tickets.

Using the SNCF Connect website or the TER Grand Est portal . The Role of the Rural Train Station (Essay)