Hooked Activity: detecting failed transaction

Ran Cohen's Avatar

Ran Cohen

12 Jul, 2019 05:54 AM

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. Support Staff 1 Posted by Meghan Turner on 12 Jul, 2019 03:11 PM

    Meghan Turner's Avatar

    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 are approved, declined, failed, error, and voided.

    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. 2 Posted by Ran Cohen on 15 Jul, 2019 06:46 AM

    Ran Cohen's Avatar

    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. Support Staff 3 Posted by Meghan Turner on 15 Jul, 2019 03:36 PM

    Meghan Turner's Avatar

    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

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac