User cannot cancel a booking
-
Hi
I’m using event manager since more than 1 year and that was just perfect. But since a few weeks, users can’t cancel a reservation. The cancelation link has disappeared. In the following table, the last column is dedicated to the link.
Can you help me ?
Many thanks
PS : They used to do this in their profile page where this code is posted :
<?php
$cancel_link = ”;
if( !in_array($EM_Booking->booking_status, array(2,3)) && get_option(‘dbem_bookings_user_cancellation’) && $EM_Event->get_bookings()->has_open_time() ){
$cancel_url = em_add_get_params($_SERVER[‘REQUEST_URI’], array(‘action’=>’booking_cancel’, ‘booking_id’=>$EM_Booking->booking_id, ‘_wpnonce’=>$nonce));
$cancel_link = ‘‘.__(‘Cancel’,’dbem’).’‘;
}
echo apply_filters(’em_my_bookings_booking_actions’, $cancel_link, $EM_Booking);
?>
The topic ‘User cannot cancel a booking’ is closed to new replies.