It’s a real struggle to streamline bookings with your daily work. Marking dates on the calendar, managing your staff, working late at night to prepare for the next booking, etc. But things start getting out of hand when you get more than 100 bookings per month. It’s difficult to keep up.
What you might need here is an automated calendar system that will keep you updated with the bookings. With the Google Sync feature, no matter where you are, you can navigate through the bookings right up from your phone. The WooCommerce Bookings and Appointments plugin enable this feature and, in this article, we will explain to you everything you need to know about it.
How to set up Bookings on your WooCommerce Store? #
First, you’d have to activate the WooCommerce Bookings and Appointments plugin. And once you have completed the setup process, you should be able to see the following section under WordPress.
Read more: Installation and activation process of the Woocommerce Bookings and appointments Plugin.
Once you’re inside Bookings > Settings > Google Calendar Sync, you should be able to see the following screen.
How to get your Calender Id? #
- Open Google Calendar in the new tab
- Select the calendar of your choice
- Click on the three dots adjacent to your calendar, choose Settings and Sharing
- Select Integrate Calendar Option
- You can find your main google account email id and copy it. We will require this information in further steps
How to integrate your bookings with the Google Calendar? #
Proceed with the following steps to integrate WooCommerce Bookings with Google Calendar.
Get Google Calendar Credentials #
- Click on Google Developers Console
- Select Create Project
- Enter Project Name & Click Create
Note: Creating a Project takes some time and you would require to refresh the window once the project is created successfully. You will see the project listed under Manage Resources, after refreshing
- Search for Google Calendar API in the search bar at the top of the screen, as shown in the image below, and click on it
- Click on Enable to enable Google Calendar API for your email
- Click on Create Credentials
To create your credentials, follow the steps:
#Step 1: Credential Type
- Select Google Calendar API under Which API are you using?
- Select User Data, Click on Next
#Step 2: OAuth Consent Screen
- Under App Information, enter the Application Name (for example Test App)
- Enter User support email
- Under the Developer Contact Information, enter the Email address
- Click Save and Continue
#Step 3: Scopes (optional)
- Click Save and Continue
#Step 4: OAuth Client ID
- Under OAuth Client ID, Select Web Application
- Provide the name of the web application (eg: Web Client 1)
Note: Kindly do not remove the HTTP or HTTPS
4. Add Authorized redirect URIs: Enter your website URL under Authorised Redirect URIs while adding /wc-api/phive_booking_google_calendar/ after the URL.
For example – https://www.your_woo_store_url.com/wc-api/phive_booking_google_calendar/
While using the WooCommerce Bookings and Appointments plugin in case of multiple vendors with Dokan:
* Add /wc-api/phive_booking_google_calendar_dokan/ after the URL.
For example: https://www.your_woo_store_url.com/wc-api/phive_booking_google_calendar_dokan/
5. Click on Create
#Step 5: Download your Credentials
- Click on Done
- The page returns to the updated API Project window
- Now Click On Credentials
- Click on the Name of the application, as shown in the image below to get OAuth 2.0 client IDs
- Click on your web application. Eg: Web client 1
- You can see the details of the Client ID and Client secret of your Web Application as shown below. You will require these details in further steps.
- Select OAuth Consent Screen
- Under Test Users, click Add Users
- Add your Gmail Id as Test User, Click Save
Your Credentials are updated. Now you have Gmail ID, Client ID, and Client Secret.
Validate and Integrate with the WooCommerce Bookings plugin #
After completing the above steps, you can finally check if everything is working fine. Within the plugin, click Validate Credential option to verify the entered credentials.
- Enter the credentials: Calender ID, Client ID, Client Secret
- Enable Google Calendar Sync
- Scroll to the bottom of the page. Click on Save Changes, in order to store the credentials
- Click on Validate Credentials
- To verify the credentials, click on Continue
- Again Click on Continue
- Your credentials are successfully authenticated
Final Thoughts! #
There you have it! Your ultimate WooCommerce booking Google Calendar sync solution. Feel free to comment down below on how you feel about these solutions. And if you need any sort of help or have any query, you can reach out to our customer support or check out the FAQ section.
You can also check out the review of our plugin by WP Buffs in their article, Most Used WordPress Bookings Plugins(Free+Premium).