• Hi, I am using the plugin and it is working fine until you try to place the order. As soon as you place an order for which a deposit is taken, it fails. I tried it with multiple payment gateways but had no luck. If I pay in full payment, order gets placed.

    Attaching the logs

    2023-08-27T08:54:08+00:00 CRITICAL Uncaught Error: Call to a member function has_status() on bool in /home/u195749257/domains/*******/public_html/wp-content/plugins/woocommerce-bookings/includes/class-wc-booking-order-manager.php:366
    
    Stack trace:
    
    #0 /home/u195749257/domains/*******/public_html/wp-includes/class-wp-hook.php(312): WC_Booking_Order_Manager->complete_order()
    
    #1 /home/u195749257/domains/*******/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    
    #2 /home/u195749257/domains/*******/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(323): apply_filters()
    
    #3 /home/u195749257/domains/*******/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(300): WC_Order->maybe_set_date_paid()
    
    #4 /home/u195749257/domains/*******/public_html/wp-content/plugins/advanced-partial-payment-or-deposit-for-woocommerce/src/Checkout.php(430): WC_Order->set_status()
    
    #5 /home/u195749257/domains/*******/public_html/wp-includes/class-wp-hook.php(312): MEP_PP_Checkout->adjust_order()
    
    #6 /home/u195749257/domains/*******/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    
    #7 /home/u195749257/domains/*******/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    #8 /home/u195749257/domains/*******/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(446): do_action()
    
    #9 /home/u195749257/domains/*******/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1256): WC_Checkout->create_order()
    
    #10 /home/u195749257/domains/*******/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(508): WC_Checkout->process_checkout()
    
    #11 /home/u195749257/domains/*******/public_html/wp-includes/class-wp-hook.php(310): WC_AJAX::checkout()
    
    #12 /home/u195749257/domains/*******/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    
    #13 /home/u195749257/domains/*******/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    #14 /home/u195749257/domains/*******/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action()
    
    #15 /home/u195749257/domains/*******/public_html/wp-includes/class-wp-hook.php(310): WC_AJAX::do_wc_ajax()
    
    #16 /home/u195749257/domains/*******/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    
    #17 /home/u195749257/domains/*******/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    #18 /home/u195749257/domains/*******/public_html/wp-includes/template-loader.php(13): do_action()
    
    #19 /home/u195749257/domains/*******/public_html/wp-blog-header.php(19): require_once('/home/u19574925...')
    
    #20 /home/u195749257/domains/*******/public_html/index.php(17): require('/home/u19574925...')
    
    #21 {main}
    
      thrown in /home/u195749257/domains/*******/public_html/wp-content/plugins/woocommerce-bookings/includes/class-wc-booking-order-manager.php on line 366

  • The topic ‘Plugin not working when trying to do payment with partial deposit’ is closed to new replies.