View Categories

How to integrate Google calendar with WP Travel?

With WP Travel Pro v4.0.0, a powerful new feature has been introducedโ€”Google Calendar integration. Once set up, any trip booked through your website will automatically create an event in your Google Calendar with key trip details. This helps streamline scheduling and enhances visibility for both admins and clients.

For more information, refer to the Google calendar feature page

To integrate Google Calendar with WP Travel Pro please follow below given steps:

Step 1: Create a Google Project #

  • Click “NEW PROJECT”.
  • Add a project name, then click CREATE.
  • After creation, select your project from the notification bar or dropdown.


Step 2: Configure APIs #

  • After selecting the created project you will be redirected to the Dashboard page.
  • From the Dashboard, go to “Go to APIs overview”
  • Click OAuth consent screen
  • Then Get Started.

After clicking the Get Started button, you will be redirected to an App information page where you have to fill in the required fields

  • App name: In this field, you have to add the name of the App.
  • User support email: In this field, you have to add the email address that has been used to create a project in the Google console.
  • Choose External > Click Next.
  • Add Contact Information > Click Next.
    The email addresses added in this field are for Google to notify you about any changes to your project. and click next
  • Agree to terms > Click Continue.
  • Click Create.

Step 3: Set Up OAuth Client #

  • You will be redirected to the OAuth Overview page, where you need to click on Create OAuth Client
  • Under Application type, select Web application.
  • Under Authorized Redirect URIs, add the backend URL of your site where Google Calendar settings are located (visible in the WP Travel settings).
  • Click CREATE.

Step 4: Copy Client ID & Secret #

  • A popup will display your Client ID and Client Secret.
  • Copy both and keep them safe.

Step 5: Add Test Users #

  • Click on audience
  • Add the Gmail address you used to create the project.

Note: If you don’t add the test user’s Gmail in the Google console, then an authorization error will occur during login through the Google Calendar section.

Step 6: Enable the Google Calendar API #

  • Go to the Library section in your Google Cloud project.
  • Search for Google Calendar API and Enable it.

Step 7: Add Details in Site #

  • Make sure WP Travel Pro is installed and activated.
  • Navigate to: Admin Dashboard > WP Travel > Settings > Misc. Options > Third Party Integration > Google Calendar
  • Enter the following:
    • Client ID: This option allows you to add client ID.
    • Client Secret: This option allows you to add client Secret.
    • Redirect URLs: This option allows you to add URLs of the settings page where google calendar option is available.
  • Click Save Settings.

Step 8: Authenticate with Google #

  • Click Login with Google.
  • Use the same Gmail address used in the Google Cloud project.

Note: If you are already logged in and wish to log in with a new ID and client secret, please follow these steps: log out, refresh the page, enter the new ID and secret, save the settings, refresh the page again, and finally log in with Google. If you do not follow this process, you may encounter an authentication error.

If this is your first time logging in with Google, ensure that you check the option to View and edit events on all your calendars, as shown in the screenshot below.

When a customer books a trip for a specific date, the details will be saved as an event in Google Calendar for that selected date. The calendar event will include key information such as the trip title, the name of the customer who booked the trip, the booking date, the time slot, the location, the customer’s phone number and email, the trip price, the number of passengers (pax), and a link to edit the trip. This information will be displayed similarly to the screenshot below:

For more details regarding how to integrate Google Calendar with WP Travel Plugin, please watch the Youtube video

Conclusion #

This feature marks a significant upgrade in how trip bookings are managed. With Google Calendar integration, every confirmed trip is instantly added to your calendar, complete with all the essential details. Itโ€™s a smart way to stay organized and never miss a booking. To get started, follow the simple step-by-step setup process and experience a more streamlined, automated workflow for both you and your clients.

Check WP Travel documentation to learn more about configurations, modules, payments, and shortcodes.

Your feedback helps us improve. Please share your thoughts.

Need assistance? Contact our support team, join our Facebook community, and subscribe to our YouTube Channel for video tutorials.

You can also find us on Facebook, Instagram, LinkedIn, TikTok, and X. Thank you for choosing WP Travel.

If you are a WP Travel Free user thinking about upgrading to Pro, simply click on the banner below.

Get WP Travel Pro