• Hello,

    How to have instead off payment pending, the status on hold ?

    Or better create a “quote” status

    Thank you for your help

    I tried do to it in the file by modify true by false

    		public function qwc_cart_needs_payment( $needs_payment, $cart ) {
    
    			if ( ! $needs_payment ) {
    				foreach ( $cart->cart_contents as $cart_item ) {
    					$requires_quotes = product_quote_enabled( $cart_item['product_id'] );
    
    					if ( $requires_quotes ) {
    						$needs_payment = false;
    						break;
    					}
    				}
    			}
    
    			return $needs_payment;
    
    		}

    It worked but after that we can’t modify the price

Viewing 1 replies (of 1 total)
  • Plugin Author pinal.shah

    (@pinalshah)

    Hi @psyckott,

    Thank you for the 5 star review and apologies for not getting back to you earlier.

    The plugin leaves the order in Pending Payment status for the below reasons:
    1. To ensure end users are able to complete their payment once a price has been finalized.
    2. To ensure that the site admin is able to edit the order and modify prices as needed.

    Can you please let me know why do you want to Quote status? Is it to ensure easy filterability? Are you facing any issues with the Pending Payment status?

    I’m trying to understand the business scenario so I can provide you the best possible solution.

    Thanks,
    Pinal

Viewing 1 replies (of 1 total)
  • The topic ‘How to have instead off payment pending, on hold ?’ is closed to new replies.