Jump to content

Any php paypal script to sell a few items?


oavs

Recommended Posts

Hi,

 

I was wondering without going overboard with the 'shopping cart' theme, is there a way I could use perhaps a simple script with PayPal integration to sell images online. This needs to be downloadable digital images with once only URL or something like that.

 

Have no idea and wondering if there is a php script out there I could use.

 

Thanks for your help

I'd say if the transaction was complete and good, generate a unique code, place it in an sql table, and then send the user the link. once the page that link leads to is accessed, update that entry .

 

for instance, the table would look like

 

ID/image_name/unique_link/viewed.

 

viewed would start out as 0, once accessed it changes to 1. so the page cannot be viewed again.

 

to view the image, user clicks your custom link ie view_image.php?unique_link the page queries the db, finds 'image_name', and displays the image.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.