PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

After sale page redirect

  1. 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?

    Posted 12 years ago on Friday July 15, 2011 | Permalink
  2. I have the same question.

    Posted 12 years ago on Saturday July 16, 2011 | Permalink
  3. 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

    Posted 12 years ago on Saturday July 16, 2011 | Permalink
  4. tex77
    Member

    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.

    Posted 11 years ago on Friday July 6, 2012 | Permalink
  5. David Peralty

    Just responded to your other post with a suggestion regarding this.

    Posted 11 years ago on Friday July 6, 2012 | Permalink

This topic has been resolved and has been closed to new replies.