WordPress.org

Ready to get started?Download WordPress

Forums

How to make a page Access Denied if not user has made payment with PayPal? (5 posts)

  1. geemoney1985
    Member
    Posted 1 year ago #

    I have a webshop with PayPal generated buttons to shop with and there is a setting which let you specify the adress the user goes to after he has made a payment for a certain product and then i could have redirected them to lets say shop.se/bought/ where I let them for instane donwload a file or something. But to not let users just remember and copy that adress shop.se/bought/ and paste later into their browser and just donwload the file for free is there a way to make it unaccessible except for that time after they purchased?

  2. Andrew Bartel
    Member
    Posted 1 year ago #

    You could create them an account after they bought it and require a logged in user to view the page, or you could password protect it and send them the password upon purchase.

  3. geemoney1985
    Member
    Posted 1 year ago #

    Well as far as I know I can only redirect them to a url after purchase. And there I could have the file for download. But how do I make that same page unaccessible except if the have made that purchase?

    An account is too much to change on the site for to be a good option.
    A password might work but I dont know hot to "hook on" a generated password with PayPals redirection (it just takes user to url), I could have a page with a generator on it and use that password for downloading. But then it has to change all the time so no one just writes down the generated pssword if you know what I mean?

  4. ceo
    Member
    Posted 1 year ago #

    Have you tried searching for a plugin? A quick search yielded this plugin that might work for you. (I searched for "access" but other queries may yield other results.)

    There are also paid options that can do this for you, such as Premise.

  5. geemoney1985
    Member
    Posted 1 year ago #

    Thank you but I have solved it: (link here: http://stackoverflow.com/questions/15115499/need-assistance-in-fetching-and-presenting-data-with-pdt)
    I did it by using PDT and to redirect the users after a purchase to that which have some dynamic shown content and a receipt of what been bought.
    Also I didnt want to use a plugin because the good e-commerce ones often cost money and also tht way you dont really learn as much :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags