I get a callback from a checkout server (Mal's E-commerce) which includes GET data (used to calculate shipping) in the URL.
I need to create an 'intermediary' script that reads, checks and POSTs this data on to the checkout page on my server that will be presented to the visitor. I've read of some 'onload' JavaScript ways to do this, but I wouldn't be happy with a 'no Javascript' fail.
Current Process:
1. Checkout server redirects the client to a /shipping/ script on my server, including query string data.
Required Behaviour:
2. Checkout server redirects to a script on my server which checks and converts the query string data into POST (form) data which is the 'submitted' to the /shipping/ script.
Or maybe I'm overcomplicating it? The aim is for the client not to see all the data in the query string when reaching the /shipping/ page on our server. I'm fairly certain that I can't ask the other server to POST instead BTW.
Do you mean use a script to put the query string into a session, then redirect to the shipping calculator page and pull the data back from the session variable?
I need to create an 'intermediary' script that reads, checks and POSTs this data on to the checkout page on my server that will be presented to the visitor. I've read of some 'onload' JavaScript ways to do this, but I wouldn't be happy with a 'no Javascript' fail.
Current Process:
1. Checkout server redirects the client to a /shipping/ script on my server, including query string data.
Required Behaviour:
2. Checkout server redirects to a script on my server which checks and converts the query string data into POST (form) data which is the 'submitted' to the /shipping/ script.
Or maybe I'm overcomplicating it? The aim is for the client not to see all the data in the query string when reaching the /shipping/ page on our server. I'm fairly certain that I can't ask the other server to POST instead BTW.
Thanks guys. :D
Otherwise there could be a whole load of problems later on