Forum Moderators: buckworks

Message Too Old, No Replies

autofill form

         

camphor

2:55 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



hi,

I need help with some code for an e-commerce site, this is what I am after:
the buyer goes through the shopping cart stage, he/she has paid for the service, as soon as the payment has been received, I want the upload page to appear, which has been set out like a form and has already been filled in with the customers details and the only thing he/she has to do is to upload the photos.

thanks

Morgenhund

3:10 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



Hmm... I am not aware if there is an existing script for it.

I assume, you already use some kind of shopping cart, right?

Then it should have a "Checkout Complete" page? You might modify that page in order to show the form you want.

The information about user is usually entered at checkout stage and might be re-used at your custom page.

One last thought: if you have not tested your idea yet, don't wait until you have your software 100% complete.

Just set the following text at "Checkout Complete" page:

"Your payment has been accepted. Order number is ########. Please, send the photos (max XX Mb) to the following e-mail address mentioning your order number <me@mine.tld>. Pretty ladies' photos are subject for 10% discount on the following order."

When it works, hire somebody to customize your pages :-)
If it doesn't, you have saved several weeks of your life to test an another project.

BradleyT

8:32 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



What I would do is some type of redirect from your order page to the form page and pass in the Order number and email in the URL. Then your form page can do a database read based on orderid and pull the persons information and put it in the form. The reason I suggest orderid plus some other field is because if your order numbers are sequential someone could change their order number in the URL by subtracting 1 and see another customers personal details. If you make sure they have order number and email are correct before you show the info from the database you'll never have a problem (unless they're able to guess someone elses orderID and email address which is basically impossible).

BradleyT

8:36 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



I don't like the idea of having a link after you've ordered that says "OK now e-mail me your photos". It seems way to amateurish/scammy. Think if you had paid for an e-book and then it said e-mail me - I'll send you the e-book - instead of having a direct download link. Until you got the e-book in your e-mail you'd have a sense of doubt.

It's 2007 - people expect automation like this on the web and it's really not that hard to write the form page/photo upload script.