oavs Posted May 27, 2007 Share Posted May 27, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/53129-any-php-paypal-script-to-sell-a-few-items/ Share on other sites More sharing options...
dj-kenpo Posted May 27, 2007 Share Posted May 27, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/53129-any-php-paypal-script-to-sell-a-few-items/#findComment-262457 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.