• Resolved ibro87

    (@ibro87)


    As the title says, plugin works perfectly fine for WooCommerce orders but does NOT work for WooCommerce subscriptions. Any idea how to make this work for WooCommerce subscriptions as well?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hi @ibro87,

    Thanks for reaching out.

    I am sorry, but in order to assist you further, I think we need more information from you. Could you please let us know what issues you are having while using the plugin? Does it show any error notices?

    Kind regards,
    Moshtafizur

    Thread Starter ibro87

    (@ibro87)

    Hi @moshtafizur01,

    Thanks for the reply. Actually there are no issues at all with the plugin. It works perfectly fine for WooCommerce orders. However, I’d like to be able to cancel on-hold subscriptions (not orders) after 3 days if no payment is received by customer. Can this be achieved with this plugin?

    Thread Starter ibro87

    (@ibro87)

    Any update @moshtafizur01 ?

    Plugin Author Algoritmika

    (@algoritmika)

    Hi, @ibro87,

    Please update the plugin to the latest v3.3.0. Then go to the “Advanced” settings section (in “WooCommerce > Settings > Order Status Rules > Advanced”) and:

    • Add “Subscription status changed” to the “Save status change on” option.
    • Add “Subscription status changed” to the “Process rules on” option.
    • Add “WooCommerce Subscription Statuses” to the “Statuses” option.
    • Add “Subscriptions” to the “Meta box” option.
    • Add “Subscriptions” to the “Orders Query > Order types” option.

    Please give it a try and let me know what you think.

    Thread Starter ibro87

    (@ibro87)

    Hey @algoritmika,

    These settings seem to work perfectly fine for WooCommerce subscription which is great! The only thing that does not seem to work now is the “Time Trigger” under “Rules” section. When set to 0 the status changes immediately which is not what need. Ideally, I’d like for “on-hold” status to be changed to “cancelled” after 3 days .I’ve already tried playing around with different values than 0 but none of them worked. Any idea what could be wrong here? Thanks a bunch for your help in advance!

    Plugin Author Algoritmika

    (@algoritmika)

    Hi, @ibro87,

    Happy to hear it’s working.

    As for the “Time trigger” problem – does this happen for subscriptions only, or it’s the same problem for the “normal” WooCommerce orders? Also, could you please post a screenshot of your “Order Status Rules > Advanced” settings section?

    Thread Starter ibro87

    (@ibro87)

    Hey @algoritmika,

    Thanks again for your message! I have not tested “normal” WooCommerce orders yet but I can confirm that “Time Trigger” for WooCommerce subscriptions definitely does not work as expected.

    Advanced settings of the plugin were set according to your instructions. Is there any specific part of the section you’d like me to share?

    Thread Starter ibro87

    (@ibro87)

    Here are all the settings from “Advanced” section. Let me know if you need anything else from me. Thanks again!

    https://snipboard.io/ibaxEI.jpg
    https://snipboard.io/NGmcW2.jpg

    Plugin Author Algoritmika

    (@algoritmika)

    Hi, @ibro87,

    Thanks for the screenshots. It looks like both “Periodical Processing” options are disabled in your settings. Could you please try enabling one of them, e.g., “Use Action Scheduler”?

    Thread Starter ibro87

    (@ibro87)

    Hi @algoritmika,

    Thanks for your message. Unfortunately, “Time Trigger” still does not work even when “Use Action Scheduler” is enabled, but I think we’re on the half way to make this work. 🙂

    When “Use Action Scheduler” is enabled and interval is set to 60 seconds the status for WooCommerce subscription indeed changes from “Active” to “Cancelled” after 60 seconds which is great but still not what I really need.

    Instead of changing “Active” status every 60 seconds, I’d like to give my every customers a grace period of 3 days once their subscription status is put “On-Hold”. If no payment is received within 3 days, their status should be changed to “Cancelled”. I believe that “Time Trigger” would do just that if we could figure out why it does not work.

    Your further assistance will be greatly appreciated. Thank you!

    Plugin Author Algoritmika

    (@algoritmika)

    Hi, @ibro87,

    Sorry for the late reply.

    Could you please post a screenshot of your “Time trigger” option?

    As for the action scheduler’s “Interval” option – I would suggest setting it to a higher value, e.g., at least one hour. This action goes through orders in your shop and checks if any of them needs a status update. So it may take a lot of resources on your site, especially if you have a lot of different rules and a lot of orders (the “Time trigger” option, on the other hand, can be safely set to any value).

    Thread Starter ibro87

    (@ibro87)

    Hey @algoritmika,

    Thanks for your reply. It turned out that WP Cron was disabled for my website so adding define(‘DISABLE_WP_CRON’, false); in wp-config file fixed the issue and Time Trigger now works fine which is what I need so this thread can be closed now. Thanks once again for all the help and keep up the good work!

    Plugin Author Algoritmika

    (@algoritmika)

    Hi, @ibro87,

    Happy to hear it’s solved! Let me know if you need anything else.

    And if you like the plugin, please consider leaving me a rating.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Rules does not work for WooCommerce subscriptions’ is closed to new replies.