Token Generation
Token Generation
After the payment request is sent, users are redirected to the eSewa login page. Here, they must input their eSewa ID and password. Upon successful login, a 6-digit verification token is sent to the user’s mobile device via SMS or to their email, depending on the eSewa ID used.
All of this will be done on esewa's side.
For testing purposes, you can use a predefined token: 123456
. This allows developers to bypass the hassle of obtaining a new token each time after login during the testing phase.