Hi Meghan,
We would like to trigger a ticket on our CRM every time a recurrent transaction failed,
I didn't see in the Hooked activity any option for detecting failed transaction.
Also, in Zappier when filtering 'Failed' transaction I keep getting successful ones.
Can you advise?
Ran

#1 Posted by Meghan Turner Support staff on 12 Jul, 2019 03:11 PM
Hi Ran,
You should be able to use the transaction hook to detect transactions that result in a decline, failure, or error. It is important to note that this hook fires for a transaction with any result, so you'll want to filter by the
subscription[invoice][transaction][response]parameter contained in the hook payload to determine if the transaction was successful or not. The possible transaction response values of that parameter areapproved,declined,failed,error, andvoided.For more information about data contained in hook payloads, see this section of the Webhooks Knowledge Base article. Let me know if you have any other questions!
Meghan
#2 Posted by Ran Cohen on 15 Jul, 2019 06:46 AM
Hi Meghan,
Thanks, I've used Zappier to it and set the transaction status to be
'Failed' , yet I keep getting successful transactions,
[image: image.png]
#3 Posted by Meghan Turner Support staff on 15 Jul, 2019 03:36 PM
Thanks for that information, Ran. Let me do some research to see if I can replicate this issue and get back to you shortly!
Meghan