How to implement the pollurl


#1

I only managed to understand and follow the road map in initiating the transaction of mobile money. Now i want to implement the pollurl so that my application listens to and display the transaction result to my terminal.
How do i implement that?


#2

Polling Paynow should be avoided when possible as it creates unnecessary load for your application.

The use of the “resulturl” is encouraged - that way, Paynow will let you know when status of transaction changes. See here: https://developers.paynow.co.zw/docs/status_update.html

If you’re developing on a machine which is unreachable to Paynow servers e.g. on a private network, you can make use of a service like ngrok.io which creates you a temporary publicly accessible URL and pipes the requests to your local machine.