As my first delve into webhooks I've just installed the Pixel&Tonic Webhooks plugin. I'm trying to send data from a front end contact form to Zapier. The front end form uses the Pixel&Tonic Contact Form plugin and the webhook setting is set to the beforeSend
event.
I've got the connections working although the webhook doesn't seem to fire automatically. It only sends data to Zapier when I refresh the admin control panel (a 'Sending webhook ...' task displays briefly at the bottom of the control panel's left sidebar).
The email is sending just fine and is immediately received, it's just the webhook that seems to be getting 'stuck'. Is there anything I'm doing wrong?
storage/logs
folder and retested a few times but nothing new showing up there. Nothing in the Apache error log either. I've also tried upping the PHPmax_execution_time
from 30 to 300 but that had no effect. Nothing in thequeue
db table other than the stuck webhook task just added to original post. – Dr_Codswallop Jan 11 '19 at 0:55queue.log
which related to the Olivemenus plugin I was using. I've uninstalled Olivemenus now. Webhook still hangs in the queue db table after form submission. After it fires on CP control panel login it clears out the queue db table and updatesqueue.log
file with2019-01-13 16:13:44 [-][1][-][info][craft\queue\QueueLogBehavior::beforeExec] [329] Sending webhook “Email ➡️ Zapier” (attempt: 1) - Started 2019-01-13 16:13:44 [-][1][-][info][craft\queue\QueueLogBehavior::afterExec] [329] Sending webhook “Email ➡️ Zapier” (attempt: 1) - Done (time: 0.370s)
– Dr_Codswallop Jan 13 '19 at 16:22