Reply to: tickets(384112)

Hi, I am now back to the simple 2 Woocommerce shortcodes for Cart and checkout and the issue is persistent. That means that ApplePay cannot be used with Event Tickets / seats. What is not good as I see this an interesting payment method.

In fact if you use ApplePay the billing information are automatically filled what is great.

The payment works, but the order then  appears as a Non-Ticket order and the seat is being released after 10 minutes.

For me an issue to be fixed. Actually I deactived ApplePay as payment method again as I had in the very beginning a first payment already with that payment method.

 

Reply to: tickets(384012)

I Have a snippet code added in order to give a dynamic behavior to the “event subtitle” field: we calculate the years of employee length of service.
The custom code is this:
add_filter( ‘eventon_eventcard_boxes’,’addfield_001′ , 10, 1);
function addfield_001($array){
$array[‘extra1’]= array(‘evoextranuovo’,__(‘campiextra’,’eventon’));
return $array;
}
add_filter(‘eventon_eventcard_array’, ‘addfield_002’, 10, 4);
add_filter(‘evo_eventcard_adds’, ‘addfield_003’, 10, 1);
function addfield_002($array, $pmv, $eventid, $__repeatInterval){
$array[‘extra1’]=array(
‘event_id’ =>$eventid,
‘pmv’=>$pmv,
‘__repeatInterval’=>(!empty($__repeatInterval)? $__repeatInterval:0)
);
return $array;
}
function addfield_003($array){
$array[] = ‘extra1’;
return $array;
}
add_filter(‘eventon_eventCard_extra1’, ‘addfield_004’, 10, 2);
function addfield_004($object, $eventid) {
    $event_post_meta_values = $object->pmv;
    $event_id = $object->event_id;
    $unix_start_ev = isset($object->pmv[‘_unix_start_ev’][0]) ? $object->pmv[‘_unix_start_ev’][0] : null;
    // Verifica se l’evento ha il tipo “Ricorrenza assunzione” (termine di tassonomia con ID 97)
    $event_types = wp_get_post_terms($event_id, ‘event_type’); // Assumi ‘event_type’ come nome della tassonomia
    $is_ricorrenza_assunzione = false;
    foreach ($event_types as $event_type) {
        // Verifica se l’ID della tassonomia è uguale a 11 per “Ricorrenza assunzione”
        if ($event_type->term_id == 97) { //97
            $is_ricorrenza_assunzione = true;
            break;
        }
    }
    if (!$is_ricorrenza_assunzione) {
        return 0; // Non eseguire il calcolo se il tipo di evento non è “Ricorrenza assunzione”
    }
    if (!$event_id) {
        return 0; // Nessun ID evento trovato
    }
    // Recupera il valore di evcal_repeat dal database
    $evcal_repeat = isset($object->pmv[‘evcal_repeat’][0]) ? $object->pmv[‘evcal_repeat’][0] : null;
    // Verifica se l’evento è ripetuto
    if ($evcal_repeat == ‘yes’) {
        // Recupera il valore di evcal_srow dal database (campo event start value)
        $evcal_srow = $unix_start_ev;
        if ($evcal_srow) {
            // Ottieni l’anno corrente
            $current_year = date(‘Y’);
            // Ottieni l’anno di evcal_srow
            $event_start_year = date(‘Y’, $evcal_srow);
            // Calcola il numero di anni
            $number_of_years = $current_year – $event_start_year;
            // Mostra il messaggio appropriato in base al numero di anni
            if ($number_of_years === 1) {
                ob_start();
                echo “<span class=’complimentilist’>” . __(‘Congratulazioni per aver compiuto’, ‘eventon’) . ” ” . $number_of_years . “”;
                echo ‘ anno di collaborazione</span>’;
                return ob_get_clean();
            } elseif ($number_of_years > 1) {
                ob_start();
                echo “<span class=’complimentilist’>” . __(‘Congratulazioni per i tuoi’, ‘eventon’) . ” ” . $number_of_years . “”;
                echo ‘ anni di collaborazione</span>’;
                return ob_get_clean();
            } else {
                return 0; // Non mostrare nulla se il numero di anni è inferiore o uguale a 0 (non dovrebbe verificarsi in questo caso)
            }
        } else {
            return 0; // Campo evcal_srow non trovato
        }
    } else {
        return 0; // L’evento non è ripetuto
    }
}

Reply to: tickets(383828)

Is it possible that this is caused by the server itself being in UTC+2 and the daily view creating a transient cache entry for the event?

Reply to: tickets(383828)

Updated all the plugins to the latest version, issue persists.
It doesn’t happen on your test site, as the events are all full day

Reply to: tickets(384102)

Thanks for testing.

I have attempted debugging by following the documentation you linked, but still no luck.

I even installed a boilerplate theme (brand new theme) and the issue is still occuring.

When we activate any of the default WordPress themes such as Twenty Twenty-Five etc, it displays correctly. That is because these themes are block themes. We don’t want to be testing on block themes.

I even disabled every plugin (except for EventOn) but no luck.

I removed all custom code which I think could be interferring such as header, footer, functions.php but no luck.

I also checked error logs and there’s nothing I can see related to the location taxonomy.

 

Can you 100% confirm that you tested on a non-block theme on your end?

I am not sure what else to do here.

Thanks

Reply to: tickets(384224)

Event Tickets does not exist. See video: https://www.loom.com/share/09224dfe01ac40c18c60c48d2d68e8df

Reply to: tickets(383934)

Which event from October isn’t visible:

https://cleophas.org/wp-admin/edit.php?s&post_status=all&post_type=ajde_events&action=-1&event_date_type=all&event_status=all&ev_month=1727740800-1730419199&filter_action=Filtrer&paged=1&action2=-1

Could you send us a link?