No sync from Google CAL to EA
- Google calendar authorized: DONE RIGHT
- Advanced Calendars sync: NO 'Any' values
- Cron job set up right: NO ERRORS
- Edit wp-conifg.php file: DONE
- No SYNC LOG data (empty) for log level Debug + Info + Error
- No Google Calendar time slot options on users side (only added service time slots)
- First, check Nikola's video for GCal API
- Then implement Nikola's guide: https://easy-appointments.com/documentation/connect-system-scheduler-cron/
- If you are stuck and nothing seems to work again:
- Within EA plugin and GCal extension: remove token and authorize again
- Build up your hole appointment system by removing connected calendars + locations + services, etc.
- Maybe coincidence, but in my case a TEST appointment at front end seemed to result in triggering the sync process.
- Building your appoint system step by step up again, and download Plugin 'WP Crontrol'
- And then you can change (if allowed by your host) cron to every 1 minute, or start it manually. To see immedate effect of your changes. You will need to use hook eac_google_sync that is the one used by EA.
- Choose your time zone @WP settings by city (not by UTC -/+)
- Within EA Extension
- Set Default Location
- Set Default Service
- You can also set 'Delete from GCal will' to cancel or delete.
- In GCAL:
- See above: 'Delete from GCAL will:'
- Added events in GCAL will be seen in EA, BUT:
- not as an appointment option to choose from by end user
- Only to block appointments to be chosen from by end user
- In EA
- Added events will be added to GCAL, if confirmed
- Deleted events will not be deleted from GCAL. At least not in my test.
- FYI: No difference between free and busy status in GCal
B.r.,
Richard.
- After an hour or so it started synchronizing according to the log file. Maybe was triggered by me making a test appointment from front end. I only do not see the appointments as an option to choose from. Changed appointments to: available (not busy). Could this help showing my Google Calendar events as options to choose from for user?
- How could EA know to which connection to sync following example (event) as there is no id?
date: '2034-06-30'
start: '08:00:00'
end_date: '2034-06-30'
end: '09:45:00'
status: 'confirmed'
location: '1'
service: '2'
worker: '1'
price: '10.00' 3) You can also see the year 2034, but I just sync it for 15 days! Hope you can help! Best regards, Richard.
In order to fill GCAL data into an EA appointment, you MUST have a “description” field in EA (you can just set it to be hidden if you don’t want to display it in booking form)… Only then, data will be filled with GCAL info.
PD: Field MUST be named description otherwise it wont work…
That is correct, name must be Description. We will add mappings in feature something like Phone field selector for Twilio. Where you can map values from Google Calendar event. There are new things in development.
Best regards,
Nikola
There is option to import all data if that user is already inside EA database matched by email.
Best regards,
Nikola
Thank you very much for your help! adding the hidden field “description” the appointment data is shown in EA.
Please login or Register to submit your answer