How to Get a Google Maps API Key for "Calculate Prices Based on Distance for WooCommerce"

Step 1: Access Google Cloud Console
Go to the Google Cloud Console and navigate to the Credentials page.

Step 2: Create or Select a Project
Select an existing project or click "Create Project." Name it and enable billing (Google provides free credits, and low usage is free).

Step 3: Generate an API Key
Open the Credentials section, click Create Credentials → API Key. Your key will be generated instantly.

Step 4: Configure API Key Restrictions
Application Restriction: Select "Websites" and enter your domain (optional).
Note: Restricting the Domain may sometimes cause issues with Google Maps functionality.

Step 5: Enable Required APIs
Ensure only the following APIs are enabled: