I want to sell a book; after the order is placed on PayPal, how do I get (redirect) the customer to a page to download their Order? Or is there better way of doing this?
I want to sell a book; after the order is placed on PayPal, how do I get (redirect) the customer to a page to download their Order? Or is there better way of doing this?
I have the same question.
You would put the link to the download in your form confirmation. The problem with just hard-coding the link in the confirmation is that the link is always present and unchanging, and people could share it. There would be no protection of the file once people have the URL.
Maybe this will help:
http://www.gravityhelp.com/forums/topic/selling-digital-downloads
I just posted this on another (older) topic. ( http://www.gravityhelp.com/forums/topic/selling-digital-downloads#post-64947 ) I haven't tried this idea myself yet, but I wonder if it would work:
After a successful payment, Paypal redirects the user back to the SuccessURL on my site. I can use PHP in the template file for that page to check the HTTP_Referer, to verify that it includes "paypal.com", so I know the user came from Paypal, rather than just hitting the url directly.
Just responded to your other post with a suggestion regarding this.