• Resolved grantambrose

    (@crammy90)


    Hey!

    If someone goes through checkout and their card is declined by their bank, they’ll get the Failed status, and this is passed to Active Campaign as a tag (works well).

    If they continue to try payment and get declined 3 times, does this add the failed tag 3 times, or leave it from the first time?

    I only ask as I want to start an automation if this tag of FAILED is present and email the customer, but I don’t want it to email them 3 times for each time they try and press the button to pay

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mtreherne

    (@mtreherne)

    I don’t think it should trigger multiple times. The code will only remove a tag with a failed status if the new status is different. So if the old status of the order was ‘Failed’ and the new status is ‘Failed’ then the tag will not be deleted and recreated. It will just be synchronised – which I am pretty sure is not treated as a tag being added by ActiveCampaign.

    The other question is whether WooCommerce changes the status during the subsequent attempt. I don’t think so but I don’t have the test data to confirm i.e. does the status go from ‘Failed’ to ‘Pending’ to ‘Failed’ (I don’t think WC does this but I’m not certain in all situations).

    You could set the automation to only be triggered once to be on the safe side.

    If you do see the event (multiple declined payment failures) again and it does not behave as I expected then please let me know.

    Regards,
    Matthew

    Thread Starter grantambrose

    (@crammy90)

    ok thanks mate!

    Also, any chance we can link a new order to a specific form (ID) in Active Campaign?

    THank way, on purchase, I can trigger the optin for a specific form so they can click the button and actually opt in to the list?

    Plugin Author mtreherne

    (@mtreherne)

    I’ll make a note to look at that when I next do some enhancements. I don’t see why not. It is also related to another (outstanding) request for the ability to have a sign up (optin) option to a newsletter at the checkout.

    As a workaround of sorts, an automation to check for specific product tags and subscribe a contact to another list might help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Failed Orders’ is closed to new replies.