• Resolved aaronbal

    (@aaronbal)


    Hi

    I configured the plugin to print when an order is updated to “Complete” however, it just doesnt work.

    It does work when check out is completed

    Please help

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Uriahs Victor

    (@uriahs-victor)

    Hi there,

    For “order complete” trigger, the plugin sends the print when WooCommerce fires the woocommerce_order_status_completed hook. From what I can find, that hook might only get triggered if the order status was something else before it was set to completed, or if the order complete email is sent, can you confirm that you have that email being sent to customers?

    Let me know as well if orders are being completed right away from checkout.

    Its possible to add your own custom triggers to Printus using the following filter printus_settings__print_trigger_hook You can see the documentation here: https://printus.cloud/docs/how-to-set-a-custom-print-trigger/

    Thread Starter aaronbal

    (@aaronbal)

    Good day

    Yes, the order had the order “Processing” before I manually updated it to “Completed”, but the printing didnt took place

    In my store, when a costumer completes the order it shows in the backend as “Processing” and after that it has to manually be updated to “Completed”

    Plugin Author Uriahs Victor

    (@uriahs-victor)

    @aaronbal It’s been a while I’ve tested that trigger so I’ll have to check again, but I’m pretty sure for your use-case there’s a WC hook that gets fired when changed from processing to completed. I’ll have to look into it.

    For now, you can use the “Print on Demand” metabox on the order edit screen that lets you print a receipt for an order at any time, since you manually update orders.

    Thread Starter aaronbal

    (@aaronbal)

    Oh, I see

    Let me know if I can help somehow. The confirmation emails do get sent to my customers, but the printus printing command (when the orders gets updated to completed) just doesn’t work.

    I will take a look at the custom print trigger. But I’m not so into code

    Thread Starter aaronbal

    (@aaronbal)

    Hi again

    I still have the problem. The printing orders dont reach printnode.com, even after adding the custon code for “completed” orders:

    function sl_cc_printus_set_print_trigger($hook){ return ‘woocommerce_order_status_completed’; } add_filter(‘printus_settings__print_trigger_hook’, ‘sl_cc_printus_set_print_trigger’, 10, 1);

    but the orders do reach printnode.com if the plugin is configured with the checkout completed option

    I must add that I use COD payment method for my orders. Maybe that has something to do?

    Let me know

    Plugin Author Uriahs Victor

    (@uriahs-victor)

    Hi again, this is a bug in the current version of the plugin. I have identified the cause and it will be patched in the next version.

    Plugin Author Uriahs Victor

    (@uriahs-victor)

    I haven’t heard from you in a while so I’ll close this thread. If you’re still having issues then feel free to open a new one

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not working for order completed’ is closed to new replies.