Wondering if anyone can point me in the proper direction on this question. I'm not quite sure how to set this up. I've setup carts before but I'm looking for a less complex solution than a full blown cart. More or less the 2 page order forms that most affiliate offers seem to use. page 1 = misc data collection like name address etc page 2 = payment information Is there a simple approach to this? Can anyone point me in the right direction. I've looked at various resources and looked around at a few pages html that work like this, but am still at a loss for how this works. My current payment gateway is authorize.net if that makes any difference in the approach or resources.
That kind of process is sometimes called wizards. Generally you would submit the first page to the server and save the data. Then redirect to the second page and that would get submitted to the server and saved. There are ways to do this on the client only. You will however, be limited by the size of your data. Assuming you passed the data on the query string. There are other factors. Does the user have javascript disabled? You could write cookies but, does the user have cookies disabled? Best to do this with some server side code.
I ended up writing a one page version that relies on ajax. It functions similarly but all on one page. Have everything in place and working. Including the authorize.net integration and some minor error processing. I even hacked an aweber integration that opts into the a list in realtime and a few auto complete fields to make ordering easier. Just have validation stuff left, but all in all I'm very happy with the results.