diff --git a/inc/mep_functions.php b/inc/mep_functions.php index 374308e..3425dd2 100755 --- a/inc/mep_functions.php +++ b/inc/mep_functions.php @@ -737,7 +737,9 @@ function mep_check_attendee_exist_before_create($order_id, $event_id, $date ='') } } do_action('mep_after_event_booking',$order_id,$order->get_status()); - $woocommerce->cart->empty_cart(); + if(!class_exists('WC_Xendit_CC')){ + $woocommerce->cart->empty_cart(); + } } } } @@ -5144,12 +5146,6 @@ jQuery(document).on('change', '.mep_global_time_format', function () { return false; }); - - - - - -