What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Webhook data not received when submitting a PayPal integrated form

    Asked by barryblizzard on February 16, 2017 at 07:21 AM

    If users go through to PAypal and enter as guest they do nothen send on the Thanks You php files I do not see their signups in the database.

     

    Would Webhooks solve this. I also have a request for help on web hooks outstanding.

     

    This is now urgent.

  • Profile Image

    Answered by KadeJM on February 16, 2017 at 11:28 AM

    Do you mean you are trying to get sent php data from your form's thank you page included in paypal with guest accounts so that you can see there data in your database or something? Please feel free to correct me though if I've misunderstood you.

    Which form are you trying to connect this from? 

    And what do you currently have for it?

    A webhook might work as an alternative if the end point supports it's usage as well.

    Additionally, you have quite a few threads so at the moment I'm not sure which you meant was outstanding for it?

  • Profile Image

    Answered by barryblizzard on February 16, 2017 at 01:45 PM
    I am currently using thank you but it does not seem to send data if it goes through to paypal and theydo nto return to merchant or pay by credit card.
    I have tried webhooks and it does post but it posts blank fields only.
    Here is some of the code called by the webhook, note it is posting to a filemaker database but that should not matter.
    $ip = $_POST['ip'];
    $fullname = $_POST['name4'];
    $jerseytext = $_POST['jerseytext'];
    $jerseysize = $_POST['jerseysize'];
    $email = $_POST['email10'];
    $homenumber = $_POST['homenumber32'];
    $mobilenumber = $_POST['mobilenumber31'];
    $biketransport = $_POST['biketransport35'];
    $bikedropoff = $_POST['bikedropoff'];
    $flight = $_POST['flight'];
    $hotelroomie = $_POST['hotelroomie'];
    $hotelrequired = $_POST['hotelrequired'];
    $paymentamount = $_POST['paywith'];
    $paymentwith = $_POST['howdo66’];
    Creates a record but has a blank for all of the fields.
    The form is
    https://form.jotformeu.com/70454142630346
    Barry Brown CITP; MBCS; APM; Bsc Econ,
    Technical Director,
    GURU Consultancy Limited,
    M : 07903 804715
    ...
  • Profile Image

    Answered by barryblizzard on February 16, 2017 at 01:46 PM
    Can you tell me when the webhook is fired off. IS it before the Paypal is called or when it returns.
    Barry Brown CITP; MBCS; APM; Bsc Econ,
    Technical Director,
    GURU Consultancy Limited,
    M : 07903 804715
    ...
  • Profile Image
    JotForm Support

    Answered by Boris on February 16, 2017 at 04:01 PM

    The webhooks are fired when a submission in completed. This means it will be fired when PayPal notifies us that a payment is complete - when the submission appears on your submissions page:

    https://www.jotform.com/help/269-How-to-View-Form-Submissions

    Webhooks are not fired for incomplete submissions, which happen when users are directed to PayPal, but they do not make a payment:

    https://www.jotform.com/help/135-How-to-view-incomplete-payments

    You can read more about incomplete payments here:

    https://www.jotform.com/help/272-Paypal-Incomplete-Payments-FAQ

    To ensure your submissions are correctly marked as completed when a payment is made, your IPN must be enabled in your PayPal account:

    https://www.jotform.com/help/276-How-to-Enable-IPN-on-your-Paypal-Account

    Please let us know should you need any further assistance. Thank you.

  • Profile Image

    Answered by barryblizzard on February 16, 2017 at 05:46 PM
    What is the difference between a Thank You php response and a wehook.
    Which is better ?
    Barry Brown
    GURU Consultancy Limited
    ...
  • Profile Image
    JotForm Support

    Answered by Boris on February 16, 2017 at 06:54 PM

    These are really just slightly different ways of forwarding the same submission data to your PHP scripts.

    You can essentially either use the Send POST Data method to forward submissions to your custom PHP page, or you can use Webhooks:

    https://www.jotform.com/help/51-How-to-Post-Submission-Data-to-Thank-You-Page

    https://www.jotform.com/help/245-How-to-Setup-a-Webhook-with-JotForm

    With the first method, the form itself must redirect your users to the thank you page. This means that your users will see the page where your custom PHP script is.

    With the second method, your form will present users with a usual thank you page that is set for your form, but the data will get forwarded to its webhook destination "behind the scenes" as well.

    Other than that, there is not really much of a difference between the two.