Randall

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: 4.3.5 auto complete issue #1210448
    Randall
    Participant

    I’m also having this same issue. Caused quite a few headaches for our site. Please release a fix ASAP, or at the very least release an update to the plugin that simply removes the option until a fix is available.

    I’m not entirely sure, but it appears that this setting of forcing the order to complete also has a potential race condition which later shows an error to the customer when the payment actually completes (I think this has to do with specific payment gateway plugins expecting the status to *not* already be complete when it actually completes the transaction). We had tons of customers to our site repeat orders 2 or 3 times because they kept getting an error even when they went through successfully. Since turning off the auto complete option, we have not had this problem.

    in reply to: adding event to cart #1210444
    Randall
    Participant

    I had this same issue when using Woocommerce with event tickets plus. This is happening because the event tickets plugin is creating the quantity field with a min value of 0 instead of 1. IMO they should fix this on the plugin itself, but you can override the min value with the following code in your theme’s functions.php:

    
    function evcal_fix_min_qty_args( $args, $product ) {
        if ( $args['min_value'] == 0 ) {
            $args['min_value'] = 1;
        }
        return $args;
    }
    add_filter( 'woocommerce_quantity_input_args', 'evcal_fix_min_qty_args', 10, 2 );
    
Viewing 2 posts - 1 through 2 (of 2 total)