How to secure next page http:// from being shared after collecting payment on JotForm page?

  • Profile Image
    JimStout
    Asked on May 30, 2012 at 10:12 AM

    How to keep people from sharing the link address to the Webinar Registration page with others once they've paid for themselves to attend on our JotForm page? Is there a secure way to direct them after they pay on JotForm to our actual Webinar Registration page without them having an http:// to share with others who could bypass paying and just register directly for a free webinar?

  • Profile Image
    liyam
    Answered on May 30, 2012 at 01:52 PM

    There is no instant option for you to do this.  But programming-wise, this can be achieved.

    My solution for this is using a PHP enabled page where the refering page value of your thank you page should be equal to that previous page.  To make it a bit clear:

    For example, your last page before the thank you page is paypal, you should have a code in your thank-you page that looks up for the http referer.  if the page is equivalent to paypal, a certain information in the page should appear, if not, it will appear differently.

    here's an example PHP code using the referer:

    <?php

    if ($_SERVER['HTTP_REFERER'] == "https://www.paypal.com/something") {

    echo "you have successfully paid.  Here's the ticket ...";

    } else {

    echo "You have visited this page by error";

    }

    ?>