Hello,
Our member website is written using RPGLE and HTTPAPI on the backend. I am attempting to assist a co-worker whose been assigned a new task and we've gotten a bit stuck. I thought posting a question here might help out. The question, is how to send the user to new URL using backend code. Maybe the question is...is that possible?
In a nutshell, she has been tasked with writing a new web page that sends billing information to a 3rd party which would handle the payment. She uses http_post to pass on all the data needed including a unique ID, and then receives a response from the 3rd party domain. If successful, we need to pass on (redirect?) the browser to that page so that the user can enter their payment information securely on the 3rd party domain, before that user is passed back to us.
We are getting the response we expect from the 3rd party and it is successful, but now we need to tell the browser to go to the 3rd party URL. We know the URL, but we can't seem to figure out how to do that programatically. How is that done? Or is the only answer to build the html with the 3rd party URL on our page (display a button on our page if you will with an HREF pointing to that URL) and have the user click that link.
Thanks for any help. We appreciate your time!
Comment