- This topic is empty.
February 28, 2012 at 7:57 am #36888
I get a callback from a checkout server (Mal’s E-commerce) which includes GET data (used to calculate shipping) in the URL.
1. Checkout server redirects the client to a /shipping/ script on my server, including query string data.
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. :DFebruary 28, 2012 at 9:48 am #97652
Sounds good, if you could elaborate on the concept slightly for me. :DFebruary 28, 2012 at 9:52 am #97653
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?February 28, 2012 at 10:29 am #97657
Ah great thanks. Now to code it. :DFebruary 28, 2012 at 10:48 am #97660
Any tips for parsing the values back out of the string – “units=0&value=36.55…”?February 28, 2012 at 10:54 am #97663
Sorry, yes PHP.February 28, 2012 at 10:58 am #97665
Ah of course! I had put the whole query string into a session variable. Thanks again. :D
- The forum ‘Back End’ is closed to new topics and replies.