If this is useful,
By instance made a hotfix to handle the Google Calendar event deletion when user or admin cancels the appointment:
// File: wp-content/plugins/simply-schedule-appointments/includes/class-google-calendar.php, line 499 at the end of sync_appointment_to_calendar function
// Original:
$calendar_event_id = $this->update_event( $calendar_event_id, $event, $calendar_id );
// New
if( $status === 'canceled' ) {
$this->delete_event($calendar_event_id, $calendar_id);
} else {
$calendar_event_id = $this->update_event( $calendar_event_id, $event, $calendar_id )
}
Any information about this issue or the others is appreciated,
Thanks in advance ??
-
This reply was modified 3 years, 9 months ago by hanszamorano.