BookSync to Google Calendar
BookSync to Google Calendar is a WordPress plugin that allows users to book appointments directly on your website and automatically sync them with Google Calendar.
Features: * Interactive calendar with date and time slots. * Customizable working hours, breaks, and holidays. * Save appointments to your WordPress database. * Automatic event creation in Google Calendar. * Editable labels for frontend fields (e.g., Name, Phone). * Multilingual admin panel with i18n/l10n support.
System Requirements
- PHP: 8.0 or higher
- WordPress: 6.0 or higher
- Database: MySQL 5.7+ or MariaDB 10.2+
- PHP Extensions: curl, json, openssl
- Server: Apache/Nginx with mod_rewrite enabled
External services
This plugin connects to Google Calendar API to create and manage calendar events. This integration is required for the core functionality of syncing bookings with Google Calendar.
What data is sent and when:
-
During OAuth authorization: When you connect your Google account, the plugin sends OAuth authorization requests to Google’s servers. This includes your Client ID, Client Secret (stored securely in WordPress), and redirect URI. This happens only when you click “Connect Google Account” in the plugin settings.
-
When creating events: Each time a booking is made through the calendar, the plugin sends the following data to Google Calendar API:
- Event title (summary) – contains the client’s name
- Event description – contains the client’s phone number
- Event start and end times (date and time)
- Timezone information This data is sent immediately when a booking is confirmed.
-
When checking availability: The plugin queries Google Calendar API to check for existing events and conflicts. This includes:
- Date range queries for available time slots
- Calendar ID to identify which calendar to check This happens when users view available time slots on the booking calendar.
-
Token refresh: The plugin may periodically refresh OAuth access tokens by sending refresh token requests to Google’s OAuth servers. This happens automatically when tokens expire.
Data storage:
* OAuth access tokens and refresh tokens are stored securely in your WordPress database (in the wp_options table).
* Booking data (client names, phone numbers, appointment times) is stored in your WordPress database.
* No data is sent to Google unless you explicitly connect your Google account and configure the API credentials.
Service provider: This service is provided by Google LLC. By using this plugin with Google Calendar integration, you agree to Google’s terms of service and privacy policy.
- Google Terms of Service: https://policies.google.com/terms
- Google Privacy Policy: https://policies.google.com/privacy
- Google Calendar API Terms: https://developers.google.com/calendar/api/terms
Note: The Google Calendar integration is optional. The plugin can function without Google Calendar connection, but booking events will only be stored in your WordPress database and not synced to Google Calendar.
Security & Stability Recommendations
- Regular Database Backups: Create daily backups of your WordPress database
- Power Protection: Use UPS to prevent data corruption from power outages
- Disk Health: Regularly check disk integrity and replace failing drives
- Keep Updated: Maintain latest versions of your hosting environment and WordPress
- Monitoring: Monitor server logs for any database errors or warnings