Receiving payment status in Java


#1

we are developing a mobile app in android studio using Java, would like to get a response from paynow that the payment has been made and then take the user to the next page after he/she clicks ‘ok’ on the Ecocash popup. If you can assist on how do we go about doing that?

the attached images shows what we have managed to do so far


#2

Hi Tinashe, we send a status update to the provided result url. read below
Status Update · Paynow Developer Hub.

I am not familiar with Android but I dont think you can assign a static url/Ip address to a device to receive Payment updates. You might need a server that communicates to Paynow and your devices can poll for an update