• Resolved Saul

    (@slightlyfaulty)


    There is another thread (Orders are recovered and done at the same time) that is marked as resolved, yet this really hasn’t been resolved.

    You have hardcoded the “acceptable order statuses” to completed and processing without even providing a filter to change it with code.

    Are you aware that the WooCommerce Authorize.Net Gateway plugin initially sets all orders to on-hold after authorizing the payment? Because of this every single one of my customers since installing this plugin has received a cart abandonment email. Luckily some of them were kind enough to let me know about the issue.

    I’m also a developer so I understand that code can’t always be perfect, but hardcoding these statuses in like this is a bit of a cardinal sin in my opinion. If you do manage to find 2 minutes to fix this, instead of adding a filter you should rather change it to wc_get_is_paid_statuses() as this is the correct way to do it.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Saul

    (@slightlyfaulty)

    Ok I see you do have a filter woo_ca_exclude_on_hold_order_from_tracking specifically for the on-hold status in a different method than the one I was looking at. I still need to test that it works for my store, and it’s not really a proper solution to this as someone could be using a different order status, but at least it’s something for now.

    Plugin Support CartFlows Team

    (@cartflows)

    Hello @slightlyfaulty,

    We appreciate your interest in our plugin.

    Just to let you know that we have added the woo_ca_exclude_on_hold_order_from_tracking filter by doing the research and user requirements.
    Most of the payment gateways put the order on On-Hold status where customers assume that they had paid but still receiving abanded emails.

    We are changing the order status in our plugin, not in woocommerce order status.
    If an order gets failed, then the order will mark as abanded, and customers will receive the email.

    Still, we will look at code, as you suggested.

    If you have any suggestions, please let us know. We are always welcome for suggestions and feedback.

    Thank You!

    Thread Starter Saul

    (@slightlyfaulty)

    Well even after adding that filter in my customers are still receiving cart abandonment emails after placing their order, so something is just not working properly. I even tried editing the hardcoded statuses, but it doesn’t seem to make a difference.

    I was hopeful about this plugin but it looks like I will need to look for another one to use. Thanks for the quick reply anyway.

    Plugin Support CartFlows Team

    (@cartflows)

    Hello @slightlyfaulty,

    Can you please share which payment gateway are you using? by opening a support ticket here so we can take a closer look at your issue?

    Looking forward to hearing from you.

    Thread Starter Saul

    (@slightlyfaulty)

    I’m using the WooCommerce Authorize.Net Gateway plugin. It’s more than likely not as simple of an issue as it seems. Maybe I have some custom hook or plugin somewhere that is conflicting, but I really don’t have time to keep debugging the issue.

    Plugin Support CartFlows Team

    (@cartflows)

    Hello @slightlyfaulty,

    We will check with Authorize.Net Plugin, and if found any issue, we will let you know.

    If you have any questions, please feel free to open a support ticket here.

    Thank You!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hardcoded order statuses’ is closed to new replies.