Reservety Help


Geo Fence and Distance Based Delivery Price Setup

In reservety you can setup shipping/delivery based on mileage/distance. Delivery cost is calculated based on the distance between the store and the delivery destination. 

When reservety support agent do the setup for you, we are using our own API key. The first 150 calls each month to the API are free, after that you will be charged $7 per 1000 calls. 1 call is done every time a user checkout. This can add extra charges to your account.

Another alternative is to pay directly to Google by setting up your own API key. You will also have 1000 free calls each month and the price will be the same.

For this purpose, we would need the Google Map APIs and live location APIs. Follow the steps below.

Creating APIs

 1. APIs We Need

For the WooReer to work, we need 2 API keys:

Distance Calculator API Key (which includes Distance Matrix API service)

Location Picker (which includes Maps Javascript API, Geocoding API, Places API)

 2. Go to Google Cloud Console

To start creating APIs go to and create an account or use an existing Google account

3. Add a Billing Account

For the API services to work, we need to add a billing account. Click on the three-line icon on the top left and click on billing.

Note: The billing account is used by Google to make sure the services are not spammed and you will be charged when the services are used by a high amount of web traffic.

4. Link Billing Account or Add New

You can link a Google Adword account or add a new account by entering your details.

Note: The billing details are used to ensure you are not a robot and services are not spammed or misused. You are charged only when the services are used prolifically.

5 . Add New Project

After you have added a billing account. Create a New Project by first clicking on the dropdown right of the Google Cloud Platform logo and then clicking on ‘New Project’

6 . Enter a Project Name

Next enter your project name. You can enter your store name.

7 . Select Your Newly Created Project

Now select your project from the notification on the top-right.

8 . Go to Explore and Enable APIs

Scroll down to find the Getting Started section and click on Explore and enable APIs. And Then Click on Enable API on the top

9. Search and Enable All APIs Services

Now search each of the required API services one by one and then click on enable.

Required APIs are:

Distance Matrix API
Maps Javascript API
Geocoding API
Places API

10. Review Enabled APIs

Once you have enabled all APIs services, you will be able to view them all under Enabled APIs.

11. Create Credentials

The next step is to go to Credentials > and Click + Create Credentials

12. Select API Key

From the dropdown select the API key.

13. Edit API Key

From the Pop-up select ‘Close’ and then click on the pencil icon to edit.

14. Enter 1st API Details

Enter API key detail:

Name: Distance Calculator API key

Application Restriction: IP addresses


IP Restriction: Click Add an Item, and add 2a04:3542:1000:910:4c56:f6ff:fe7c:69a4

API Restriction: Select Restricted Radio Button

and then search and checkmark Distance Matrix API and click OK

Finally Click Save button

15. Create Another Credential

Now-Again, Click on the Create Credential on the top and select API key. Again edit the API key from actions

16. Enter 2nd API Details

Enter API key detail:


Name: Location Picker API key

Application Restriction: HTTP Referrers

Website Restriction: Click Add an Item, and **

API Restriction: Select Restricted Radio Button

and then search and checkmark Maps Javascript API, Places API, Geocoding API  and click OK

Finally Click Save button

17. Use API Keys

Use API Keys by copying from the key section

Setting Up WooReer

1. Go To Shipping

Go to settings > store> shipping > Shipping Zone.  Add a New Shipping Method.

Choose WooReer. 

2. Edit Wooreer

Click edit on Wooreer to start setting it up. 

3. Enter API Keys

Enter the newly created APIs. Make sure to enter the API regards to their name.

4. Route Settings

Enter Route settings

Travel Mode: Driving
Route Restriction: None (Choose Appropriate One)
Distance Units: Mile
Show Distance info: Check The Box If you want to show distance on Checkout Page

5. Rate Settings (optional)

Enter Rate settings
Label: Shipping Charges (Enter based on Your Choice)
Surcharge Type: Fixed or Percentage
Surcharge Amount: Enter Amount in percentage or flat (based on chosen surcharge type)
Discount Type: Fixed or Percentage
Discount Amount: Enter Amount in percentage or flat (based on discount type chosen)You can leave all the field blank

6. Table Rate Settings

Enter Table Rate settings

Max Distance: Enter the Max Distance After which You will Charge the Mileage
Rate Per Mile: Enter Rate Per Mile you want to charge the customers
Other Fields: (Optional)

To Add More Rules. Click the ‘Add New Rule’ From Bottom left

Set Advance Settings from advance section

7. Save

Click on the ‘save changes’ button to save settings.