Support forumCategory: QuestionsGCAL integration problem
Mohamed asked 7 months ago
4 Answers
Mohamed answered 7 months ago

After installing the plugin and connect it to my google accounts, and added cron jobs every 5 minutes, i cant see any google appointments transferred to the plugin.

mohamed_hammady replied 7 months ago

My todays log was

[2020-01-13 20:12:53.688730] [info] Sync started
[2020-01-13 20:12:53.688822] [debug] Calendars for sync
primary: array(
‘location’ => ‘*’,
‘service’ => ‘*’,
‘worker’ => ‘*’,
)
[2020-01-13 20:12:53.688908] [info] Syncing events for Calendar: primary
[2020-01-13 20:12:53.688930] [info] Sync event within next 0
[2020-01-13 20:13:03.860349] [info] Fetched from Google Calendar 4760 events
[2020-01-13 20:13:04.271092] [info] Synced events : 0
[2020-01-13 20:13:04.271150] [info] Total sync events : 0
[2020-01-13 20:13:04.271673] [info] There are no new appointments needed to be send to Google Calendar
[2020-01-13 20:13:04.271693] [info] Sync Done
[2020-01-13 20:17:23.926008] [info] Sync started
[2020-01-13 20:17:23.926090] [debug] Calendars for sync
primary: array(
‘location’ => ‘*’,
‘service’ => ‘*’,
‘worker’ => ‘*’,
)
[2020-01-13 20:17:23.926182] [info] Syncing events for Calendar: primary
[2020-01-13 20:17:23.926204] [info] Sync event within next 0
[2020-01-13 20:17:35.808852] [info] Fetched from Google Calendar 4760 events
[2020-01-13 20:17:36.241796] [info] Synced events : 0
[2020-01-13 20:17:36.241851] [info] Total sync events : 0
[2020-01-13 20:17:36.242469] [info] There are no new appointments needed to be send to Google Calendar
[2020-01-13 20:17:36.242482] [info] Sync Done
[2020-01-13 20:24:47.209285] [info] Sync started
[2020-01-13 20:24:47.209362] [debug] Calendars for sync
primary: array(
‘location’ => ‘*’,
‘service’ => ‘*’,
‘worker’ => ‘*’,
)
[2020-01-13 20:24:47.209450] [info] Syncing events for Calendar: primary
[2020-01-13 20:24:47.209479] [info] Sync event within next 0
[2020-01-13 20:24:57.858042] [info] Fetched from Google Calendar 4760 events
[2020-01-13 20:24:58.501641] [info] Synced events : 0
[2020-01-13 20:24:58.501697] [info] Total sync events : 0
[2020-01-13 20:24:58.502386] [info] There are no new appointments needed to be send to Google Calendar
[2020-01-13 20:24:58.502404] [info] Sync Done
[2020-01-13 20:26:20.885009] [info] Sync started
[2020-01-13 20:26:20.885379] [debug] Calendars for sync
primary: array(
‘location’ => ‘*’,
‘service’ => ‘*’,
‘worker’ => ‘*’,
)
[2020-01-13 20:26:20.885509] [info] Syncing events for Calendar: primary
[2020-01-13 20:26:20.885545] [info] Sync event within next 30
[2020-01-13 20:26:21.093028] [info] Fetched from Google Calendar 61 events
[2020-01-13 20:26:21.099838] [info] Synced events : 0
[2020-01-13 20:26:21.099883] [info] Total sync events : 0
[2020-01-13 20:26:21.100066] [info] There are no new appointments needed to be send to Google Calendar
[2020-01-13 20:26:21.100089] [info] Sync Done

Nikola Loncar Staff answered 7 months ago

Hi, looks like there is a issue with settings. Can you please tell me did you fill out advance sync option mappings? By looking at the log EA is getting records from GCal but it can’t connect it to particular worker/location/service.

Best regards,
Nikola

Mohamed answered 7 months ago

Hi Nikola

Would you please advise where I can find the advanced sync option mappings?

Nikola Loncar Staff replied 7 months ago

You can find it at EasyAppointments > Connect beta > Google Calendar and there at bottom of page.

Best regards,
Nikola

mohamed_hammady replied 7 months ago

This section is already done. I selected the primary calendar for all

mohamed_hammady replied 7 months ago

Also, I removed the primary calendar in this section (as recommended by the note below the table * If you want to sync only with Primary Google calendar leave Advanced Calendars sync table empty. ), and the log remains as above, and no events synced to EA

[2020-01-16 13:13:51.852353] [info] Sync started
[2020-01-16 13:13:51.852432] [debug] Calendars for sync
primary: array(
‘location’ => ‘*’,
‘service’ => ‘*’,
‘worker’ => ‘*’,
)
[2020-01-16 13:13:51.852513] [info] Syncing events for Calendar: primary
[2020-01-16 13:13:51.852534] [info] Sync event within next 30
[2020-01-16 13:13:52.127027] [info] Fetched from Google Calendar 66 events
[2020-01-16 13:13:52.135622] [info] Synced events : 0
[2020-01-16 13:13:52.135653] [info] Total sync events : 0
[2020-01-16 13:13:52.136138] [info] There are no new appointments needed to be send to Google Calendar
[2020-01-16 13:13:52.136158] [info] Sync Done

mohamed_hammady replied 7 months ago

PLEASE HELP. WHAT IS GOING WRONG WITH THIS ADDON. IT DOESNT WORK AND WE ARE NOT ABLE TO USE IT SINCE WE PURCHASED THE CONNECT MODULE

Nikola Loncar Staff replied 7 months ago

Can you please create a WP account for me so I can check what is going on there on the spot. Email for account is nikolanbg[at]gmail[dot]com

Best regards,
Nikola

Nikola Loncar Staff replied 7 months ago

Hi, is your project healthy it? I have received login params but I have no options available. I will need admin user in order to see EA settings.

Best regards,
Nikola

mohamed_hammady replied 7 months ago

You are admin now. please try again

Nikola Loncar Staff answered 7 months ago

Ok I have checked what is going on. First thing you will need to select Default service inside Google Settings also you will have to delete Advanced Calendars sync mapping and create new one where you will have selected Worker. After that sync will work because I can see in your logs that EA is pulling events from Google Calendar but don’t know where to put them 🙂

Best regards,
Nikola

mohamed_hammady replied 7 months ago

Thank you Nikola… it is working now. there is an interface issue, im going to open a new thread for that.