Google Places API

Edited

This document provides a step-by-step guide on how to activate the Google Places/Maps API in HirePOS.

Activation Process

Support for the previous module has been discontinued as of June 2021. To access the Address Search module, navigate to Setup > Preferences > Modules.

Activating Google Places/Maps API

Before proceeding, ensure that the Google Maps Javascript API is also activated on your Google account. If you encounter any errors, verify that this API is enabled.

  1. Access the main menu strip at the top and go to Setup > Preferences > Accounting/API's.

  2. Visit https://cloud.google.com/maps-platform and click on 'Get Started'.

  3. Sign in to your Google account or create a new one.

  4. Provide a name for the project (e.g., 'HirePOS') or use the default 'My Project' name.

  5. Agree to the terms of service and click Next.

  6. Create a 'Billing Account' by entering your business and credit card details.

  7. Enable the Places API. Once enabled, you will receive an API key and a confirmation message 'You're all set!'

  8. Important: In the Google API Credentials, set an 'Application restriction' to restrict API Key access from the HTTP referrer (web site). Add the following entries:

    • https://hirepos.azurewebsites.net/*

    • https://app.hirepos.com/*

  9. Copy the API Key to the 'Places API Key' field in HirePOS under Setup > Preferences > Accounting/API's.

  10. Click the 'Test API Key' button to verify the key. You will be directed to a page with an Address field.

  11. Start typing an address into the field to see a drop-down list of addresses.

  12. Click Close to complete the process.

Following these steps will enable you to utilize the address lookup functionality in various address fields within the HirePOS application.