Website name: [url removed, login to view] – we have embedded 3 ‘Buy Now’ buttons of PAYPAL. What we need from you is to embed some scripts (php, mysql) which do the following things.
It redirects a buyer who buys a Hard copy to our web page after he/she makes payment with PAYPAL. In that page he/she will get the confirmation and other shipping details.
On the other hand it redirects a buyer who buys a Soft copy to our web page after he/she makes payment with PAYPAL. In that page he/she can download the soft copy. That downloading page url shall be protected.
If anybody tries to access the downloading page without making payment, by directly typing the url, then he/she shall be directed to a page which says ‘make payment’ type message.