Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jeff Alvarez

    (@superlemon1998)

    Hi @poeypresents

    By default, the order status should be automatically set to processing, unless you the user purchased a digital product/has downloadable items.

    Having said that you can add this filter to force all future payments via our Invoice payment gateway to be sent to pending payment

    add_filter(‘igfw_invoice_gateway_process_payment_order_status’,’force_processing’);

    function force_processing(){

        return ‘pending’;

    }

    Add the following code to your child theme’s functions.php or through the WPCode plugin.

    Hope this helps!

    • This reply was modified 1 year, 8 months ago by Jeff Alvarez.
    • This reply was modified 1 year, 8 months ago by Jeff Alvarez.
    Thread Starter poeypresents

    (@poeypresents)

    OK THANKS! trying this out and will let you know, appreciate your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I want to change default payment status to Pending instead of processing’ is closed to new replies.