Forum Moderators: phranque

Message Too Old, No Replies

download page

         

adam007

10:59 am on May 14, 2003 (gmt 0)

10+ Year Member



Hello

I have a website that sells downloadable items.
Im trying to set up my website so that when the buyer completes his/her purchase, they will be forwarded to a page where they can download ONLY the items they purchased.

Could anyone please provide me with an idea on how this could be done?

Thanks Alot!

bigM_sh

12:01 pm on May 14, 2003 (gmt 0)

10+ Year Member



Hi

I would save the items in a session variable or pass them on to the Download page and generate the download links dynamically.

HTH

bigM

adam007

1:28 pm on May 14, 2003 (gmt 0)

10+ Year Member



Thanks BigM_sh
How do i save the items in a session variable?
Can anyone put me in the right direction?

Thanks Alot

bigM_sh

12:57 am on May 13, 2003 (gmt 0)

10+ Year Member



In PHP You would use session_register($var); to register the variable(s).
After the purchase you assign a value to that variable for example the relative URL of the download.

$var = '/path/to/file.zip'

on the download page you then read out the content of the variable and make a link out of it.

For more information maybe check back in the PHP [webmasterworld.com] area of WebmasterWorld
or try the PHP Documentation [php.net]

bigM

Jenstar

9:53 pm on May 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can also use a third party company that will do this for you. They will process the payment for you (taking a fee and/or percentage of the selling price), get the approval, then direct the buyer to a special link (which you specify) where they can go and download the individual problem. If you are having trouble coding something to do it yourself, going through a third party is probably worth the small fee you are charged for each sale.

You would then just need to create a different downloading page for each product you are selling via an online download.

adam007

1:27 pm on May 14, 2003 (gmt 0)

10+ Year Member



THANKS ALOT bigM_sh AND jENSTAR :)

Im still a newbie to PHP programming so it might take a while for me to program it for myself.

Jenstar you mentioned that i can get a third party company to do it for me. Do you know any company names that can do it?

Thanks alot

thaedge

1:40 pm on May 14, 2003 (gmt 0)

10+ Year Member



Im not sure if they all do it for you but you can look at

clickbank.com
regnow.com
paypal.com
or go here [directory.google.com...]

-edge

Jenstar

3:29 pm on May 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, Clickbank is one that will do it securely. PayPal will do it, but not as securely.

adam007

6:04 pm on May 14, 2003 (gmt 0)

10+ Year Member



THANKYOU SO MUCH :)