Yes we are passing data into a third-party site using an https GET. Well this HTTP URL code will return a XML code with, 1 on complete or 2 on failure. How can we make this go on in the background. Upon it completing we will redirect them into a Thank You page on our site? I'm thinking we should just have our form URL set to a page on our site. On that page, we will have a header function with the third-party URL on there. This is where I'm confused at because upon it doing that it will return an XML code (like mentioned above) at the same time redirecting into the third-party site. We want them to redirect upon a successful XML return into our Thank You Page? Can someone give me some guidance on this?
use AJAX to submit the form and check the returned data and then redirect the user to your thank you form using 'window . location' in js
well you can use php curl functions to get the xml response and then using header function redirect.. check http://www.php.net/manual/en/function.curl-exec.php