We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,477 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Websites, Payments and Restrictions

Dear all,

I was wondering how to restrict people from going to a certain download link unless they have paid via PayPal. So the person must successfully pay before the restriction to the download link is removed.:icon_cheesygrin:

I would appreciate any help :icon_mrgreen:

Thank you,

Muhasaresa

3
Contributors
2
Replies
1 Month
Discussion Span
1 Year Ago
Last Updated
3
Views
Muhasaresa
Newbie Poster
3 posts since Aug 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

PayPal's API should be capable of this, but I'm not familiar enough with it. But it should definitely be possible through their merchant API.

Dani
The Queen of DaniWeb
Administrator
21,578 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 376
Skill Endorsements: 124

I guess this depends on what system you are using for your online store and if they have support built in for this or if you can write your own coding etc. The way we have done this in the past is that there is a bit in the db for if payment has been completed or not, and you only display the download link if the bit is set. You set the bit when you get the notice from your payment gateway that the payment is completed. Make sure not to put the software in a regular web location or then anyone can share their link, use a script to download the software and during the download you also check the persons purchase information to make sure its valid before sending them the file. This way if the link is shared the person also needs to purchase information as well to download the file.

ecom-host-guru
Newbie Poster
9 posts since Dec 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page generated in 0.0823 seconds using 2.67MB