JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
I don't think webhooks is working, how can I tell?Asked by trakwebster on January 06, 2016 at 02:18 PM
My application is behaving as if it is receiving no input from jotform via webhooks.
Can you provide me with some simple php code that will capture the post variables and print them to a file so I can see if the post variables are being sent at all?
You can check the examples in the user guide: https://www.jotform.com/help/248-Webhook-Samples
Here is a code example http://pastebin.com/raw/77RujCdz
The field IDs are included on http request. It takes only a few seconds to process webhook, it's even almost instant. When you hit submit in your form, it should work right way.
You can use http://requestb.in/ to inspect HTTP requests. Simply set it as your webhook URL and check the sample data submitted in your requestbin.
You can also test the Send Post data methode as describe here.
Hope this help. Let us know how it goes.
Actually, I did that already. I used the email example, but no email was generated. This, of course, told me nothing, because the error could exist for three different reasons: (1) broken webhooks, (2) broken smtp, or (3) error inside your example code.
So I hired a different company 123contactform.com and used their webhooks app, just to compare.
And their webhooks app checks to see if it could see my file. It could not.
I investigated and discovered that a security plugin in wordpress was blocking the input coming into my application script via webhooks. I removed the security plugin and the problem went away, both on their platform and on yours.
Unfortunately, YOUR webhooks integration is not very smart.
It does not check to see whether the file the user provides it is accessible. Instead, even with my inaccessible file, your integration just smiles and says the integration has been accomplished ... when actually the integration hasn't been accomplished at all.
I'd call that a serious bug.
Please advise your developers that your webhooks application should check to see if the url input by the user is actually accessible. If you'll do that then you won't be telling users like me that it's integrated when actually it's not.
If your developers don't know how to do it, tell them to signup with 123contactform.com and see how those folks do it properly.
Thank you for the detailed explanation. I will relay your message to the higher team support.
They will provide response here as well if they have anything to say to this.