Hey there devs…have a quick question on Paynow Java implementation for android development . First of all I’ve read everything on the docs on how to do this but it seems I’m missing something. I am using a live account to test payments. However when the user pays they transaction nothing happens. On my Paynow console the payment is recorded as successful. So my question is how can i get this payment successful feedback in Java. I have tried status.paid() and status.isPaid() with no success .
Mobile Paynow integration using Java fails to return status.paid() value
Harvey
#2
@NhlanhlaNkosi . When the user pays Paynow sends an HTTP Post with the payment confirmation to a given URL. If I remember correctly Android does not allow your app to a static IP address.
A suggested implementation is when you send a payment request ,
1)Paynow responds with a polling URL.
2)Store that URL wait 10 to 30 seconds
3)poll the URL to check if that particular payment’s status has changed to Paid. If it has then proceed to offer the service
read more here https://developers.paynow.co.zw/docs/polling_status.html#docsNav