Which one is return url and which one is result url


The documentation says first its the result url on top then the last parameter on the bottom.

After research i understood that result url is where transaction related data is sent for me to update the database and the return url is where my customer is redirected to

The problem i am facing is, after cancelling payment on paynow server the browser is redirected to my result url and not return url.

Is it an issue of my parameters are position or what’s going on here help please !!


Hi Allan. Have you tried switching your parameters around? i.e. putting the resulturl where the returnurl is and vice versa. Sounds like they are in the wrong position at present.

Its always a good idea to share your code so other developers can help identify possible issues.


oka yeah sure thats what i opted to do