• Resolved pw031

    (@pw031)


    Hello,

    I need to do some code when invoice change status from unpaid to paid. I’ve tryed with save_post hook but it works only for manual status change nut no for online payment by paypal.

    I’ve also try with sliced_invoice_status_update but it won’t work.

    Anyone can help me with this?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Andrea Whitmer

    (@nutsandboltsmedia)

    In general, this sort of customization is outside the scope of our support. Feel free to contact us if you’d like a quote for the work.

    Thread Starter pw031

    (@pw031)

    OK, I understand, but can you show me how to use sliced_invoice_status_update in proper way?

    Plugin Support Andrea Whitmer

    (@nutsandboltsmedia)

    It’s a hook, which means you can add whatever code you need like this:

    add_action('sliced_invoices_status_update', 'my_custom_event');
    function my_custom_event() {
        // do stuff
    }

    For more specific instructions, we would need more details of what you’re trying to accomplish submitted via our contact form, as this is outside what we can offer via our support.

    Thread Starter pw031

    (@pw031)

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hook for checking invocie status’ is closed to new replies.