You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a .env file by copying .env.example. We shall be adding the Primary Key, User ID and User Secret for each product that we are subscribed to. In this case, Collections and Disbursements.
Extract it and run ./ngrok http 3000 in the same directory.
Leave the terminal tab open as we shall use the NGROK URL generated for the next step.
Step 3
Open a new tab in the terminal
We are going to generate the User ID and User Secret for each subscribed product on the MoMo sandbox using the ngrok url from the previous terminal and the primary key for each product.
Run the command similar to this but specific to your instance.