I’ve a wordpress website having ebooks for sales. i’ve made two different pages for sale i.e one page where items are displayed alongwith the paypal buy now button and other where the actul links are added for download.
when the transaction is made via paypal then it is redirected to the downloads page.
the problem is the url in the browser window. if it is copied then than page is directly opened and can be shared. So what should i do(any better solution).
or how should i hide the url in the browser so it can’t be used further. May be it is something like masking the Link.
Suggest some solutions if possible.
I would do the following:
custom
fieldThis has the following advantages:
Also, I recommend saving the books outside the web root, and make the download links php files that have code similar to:
This way you have full control over who downloads the files.
You can send any Flag or session id from the page,where you are redirecting to pay pal and after that get that session id or flag on success page and perform matching.
Something like this :