Solved

Virtual test accounts

  • 21 September 2023
  • 4 replies
  • 97 views

Hello MTN great community,
I want to see if my mtn transactions are really working, does mtn offer a platform were we can log into virtual mtn account and see if the money has been transferred successfully ? or is there any methods to get this information.

Thank you.

icon

Best answer by Harold Rwothomio 22 September 2023, 13:34

View original

4 replies

It's a checkmate for anyone starting up with MoMo API to realize this for the very first time.

1- No matter how hard you try, Sandbox is a testing environment and therefore will not process real money. Therefore expect no USSD prompts when you make any API calls during your development process. This can only happen when you go live.

Use those responses to simulate what would happen when you go live and design your application to receive and update UI or do things specified by the user basing on whatever responses you get from Server.

2- Your application only talks to the Mobile Wallet system. It's the Mobile Wallet platform to authorize things such as USSD prompts or wire funds to specified payee accounts. This is where your application can be the middle man by passing logic details such as transactionID's, esternalID's ,partyID( payer or payee number).

 

Anything you want your application to do, work out the logic and send it to the Wallet platform, receive the responses and do whatever specified.

 

When you know these, the initial confusion is over.

 

Userlevel 2

MTN Sanddbox is no different from other sandboxes, you will be only basing the logic on responses.
→ Sandbox is designed to train you on how the real system works.
→ API systems are always trained to respond errors and success
→  this means as Harold has explained, whatever experience you carry from the sandbox never changes with Production, therefore you cannot avoid using the sandbox.

The MTN OPEN API is well designed and supported, but as new developers to API DEVELOPMENT in general, you may find a challange, 
However, the API meets all the standards other APIs have and if you know how APIs work, it is just a cross over.

Userlevel 2

Do not forget to vote answered so other people looking for the same solution find it easily.

Userlevel 1
Badge

It's a checkmate for anyone starting up with MoMo API to realize this for the very first time.

1- No matter how hard you try, Sandbox is a testing environment and therefore will not process real money. Therefore expect no USSD prompts when you make any API calls during your development process. This can only happen when you go live.

Use those responses to simulate what would happen when you go live and design your application to receive and update UI or do things specified by the user basing on whatever responses you get from Server.

2- Your application only talks to the Mobile Wallet system. It's the Mobile Wallet platform to authorize things such as USSD prompts or wire funds to specified payee accounts. This is where your application can be the middle man by passing logic details such as transactionID's, esternalID's ,partyID( payer or payee number).

 

Anything you want your application to do, work out the logic and send it to the Wallet platform, receive the responses and do whatever specified.

 

When you know these, the initial confusion is over.

 

I love this answer because it described my initial confusion. 

Reply