Google Calendar – 2 way sync – Overlapping times

SupportGoogle Calendar – 2 way sync – Overlapping times
Thibaut asked 7 years ago
Nikola, I purchased the Extensions plugin, thank you for creating the plugin.
I'm having issues with overlapping time-blocks on booking an appointment. EA doesn't show the correct available times according to the synced Google Calendar. Versions:
  • Wordpress 4.9.4
  • Easy Appointments 2.1.4
  • Easy Appointments Connect 0.9.6
  • PHP 5.6
Steps I allready did:
  • Synced Google account to EA plugin
  • External CRON job setup
  • Checked timezones on Wordpress + Google Calendar + EA (00-24h)
  • Set default location & service
  • Setup 2 advanced calendars, both on primary calendar from Google Calendar
My current setup is as follow:
  • 2 locations
  • 1 service (45min)
  • 1 worker
As far as booking goes, this seems to work fine, but times are overlapping exsisting events. The EA-calendar doesn't care about exsisting events in the synced Google calendar. Could you help me out?

Kind regards,
Thibaut
11 Answers
Nikola Loncar Staff answered 7 years ago
Hi Thibaut, can you please tell me do you have those events from Google Calendar in EA after sync? Also have you turn off option called Multiple work in EA Settings > Customize page? Best regards, Nikola
Thibaut Staff answered 7 years ago
Hi Nikola, Thank you for reaching out!
To answer your questions:
  • Checked for "Multiple work" in EA settings and it was checked, so I unchecked and saved
  • According to EA syncing, the first appointments that can be found are from 05-04-2018, this is incorrect according to the google calendar. I included some screenshots below
http://klanten.drift-media.be/easy-appointments/multiple-work-unchecked.jpeg       http://klanten.drift-media.be/easy-appointments/multiple-work-unchecked.jpeg     http://klanten.drift-media.be/easy-appointments/multiple-work-unchecked.jpeg Hopefully we can figure this one out, if you need more screenshots just let me know! Kind regards,
Thibaut
Nikola Loncar Staff answered 7 years ago
Hi Thibaut, can you please take screenshot of advance sync options inside Extension settings? Best regards, Nikola
Thibaut Staff answered 7 years ago
Hi Nikola, As requested, see screenshot below! For privacy reasons I blurred the info, the only difference are the locations, service and worker are the same.
Nikola Loncar Staff answered 7 years ago
Hi, this is looking fine. Have you set sync interval for example 5 minutes? Best regards, Nikola
Thibaut Staff answered 7 years ago
Hi, I took a screenshot of all the settings in the Connect [BETA] tab.
Sync interval is set to 5 minutes, the CRON job is also set to 5 minutes. I thought I also include the latest LOG from the sync.
[2018-03-30 8:38:44.258301] [info] Sync started
[2018-03-30 8:38:44.258444] [info] Syncing events for Calendar: primary
[2018-03-30 8:38:44.258529] [info] Sync event within next 0
[2018-03-30 8:38:46.783160] [info] Fetched from Google Calendar 1565 events
[2018-03-30 8:38:51.024597] [info] Synced events : 1565
[2018-03-30 8:38:51.025017] [info] Total sync events : 1565
[2018-03-30 8:38:51.132719] [info] There are no new appointments needed to be send to Google Calendar
[2018-03-30 8:38:51.132805] [info] Sync Done
Kind regards, Thibaut
Nikola Loncar Staff answered 7 years ago
Hi Thibaut, everything there looks good. Event sync is reported that it is imported 1565 events from Google Calendar. Just one thing if you have two Connections with same settings it will result with 2 booking slots. Do you see all those events (1565) within EA? Best regards, Nikola
Thibaut Staff answered 7 years ago
Hi Nikola,
  • I have two connections with almost the same settings, the only thing that is different is the "Service"
I checked the "Reservations"-menu item to see if all the reservations are inside EA, apperantly they are, see screenshot below. Kind regards,
Thibaut
Nikola Loncar Staff answered 7 years ago
Hi, thanks for latest screenshot. Sync is working fine. Looks like there are some settings issue. Can you please create a temp access for me? I will need to check particular time slot and why it is free. Best regards, Nikola
Thibaut Staff answered 7 years ago
Hi Nikola, With all due respect, I'm not in the position to give you access to the CMS. Because the site is allready online and it handles sensitive data about my client. This would be a potential great risk because appointments are being fetched from real-life data. Is it not possible to help us remotely? I will provide you with all the data/screenshots you need. I hope you understand. Kind regards,
Thibaut
Nikola Loncar Staff replied 7 years ago

Hi Thibaut, screenshare is totally fine 🙂 only to sync time for that. I am available tomorrow around 8PM UTC.

Best regards,
Nikola

Thibaut Staff answered 7 years ago
Nikola, It's allready been 5 days and my client is getting a bit frustrated about the fact that the plugin still doesn't work. I also didn't receive a skype invitation from you for screenshare. How are we going to fix this?   Thibaut
Nikola Loncar Staff replied 7 years ago

Hi sorry for that. Is it ok for 9PM UTC to have that meeting today?

Best regards,
Nikola

Thibaut Staff replied 7 years ago

Ok, I’ll put it in my agenda for today!
Thanks.