• Resolved Jsmb768ypl

    (@jsmb768ypl)


    So I am using a pre-order plugin but the customer is charged when they pre-order. How can i set it so that they automatically get their credit when the order status is pre-order as it does not list that as an option.

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author Subrata Mal

    (@subratamal)

    @jsmb768ypl You can use filter wallet_credit_purchase_order_status to change wallet credit order status.

    Like

    add_filter('wallet_credit_purchase_order_status', 'wallet_credit_purchase_order_status');
    
    function wallet_credit_purchase_order_status($status){
        $status[] = 'pre-order';
        return $status;
    }
Viewing 1 replies (of 1 total)

The topic ‘Other Order Status’ is closed to new replies.