I am integrating citrus payment into android app , everything is working well in sandbox till my transaction is successful but once my transaction is successful i get below logs :
MOTO SUCCESSFUL***{"txMsg":"Transaction successful","pgRespCode":"0","redirectUrl":"https://sandbox.citruspay.com/mpiServlet/715259413249776a736d6a62546c5a413247745871773d3d"}
Which says transaction is successful and i can see in my sandbox consumer account that transaction is successful but when it redirect to above url in log it shows below screen :
And When i try to press back button :
There is no way out to reach my last activity in application i tried to put return url in app as : private static final String RETURN_URL = "http://my.app";
which should return to my activity but didn't help, Any help or hint would be greatly appreciated.
I resolved the Issue Via sending the return page url which was hosted on my server itself like below :
And return url shows the message successful transaction and back to Activity ! .