Skip to content Skip to main navigation Skip to footer

Distance-Based Pricing by Pickup Geofence Area

This example shows how to set different per-kilometer rates based on the pickup location, using three overlapping circular Geofence areas and three Pricing Rules. The rules are ordered so that the smallest matching area takes priority.

Pricing Scenario

A transportation company operates around a city center and charges a higher rate for pickups closer to the center. It creates three circular Geofence areas with the same center point but different radii.

Pickup Area Geofence Radius Rate per Kilometer
Inner Zone 5 km $5.00
Middle Zone 15 km $4.00
Outer Zone 30 km $3.00
Outside all zones Beyond 30 km $2.00 (vehicle rate)

The circles overlap: a pickup in the Inner Zone is also inside the Middle and Outer Zones. The applicable rate is determined by the smallest area containing the pickup. Each rate is applied to the full journey distance, not to the distance between the pickup and the city center.

Step 1. Create Geofence Areas

Go to ‘Chauffeur Booking System’ -> ‘Geofence’ and create three separate Geofence areas, one for each zone. Each area should contain a single circle, with all three circles sharing the same center point, such as the city center.

Geofence Name Shape Radius
Inner Zone Circle 5 km
Middle Zone Circle 15 km
Outer Zone Circle 30 km

You do not need to create separate ring-shaped areas. The Pricing Rules will resolve the overlap.

Step 2. Configure Vehicle Pricing

Go to ‘Chauffeur Booking System’ -> ‘Vehicles’, edit the vehicle you want to use, and open the ‘Prices’ tab.

Setting Value
‘Booking Sum Type’ ‘Variable’
‘Initial’ 0.00
‘Per Kilometer’ 2.00

For this example, set other vehicle price components to 0.00. The base rate of $2.00/km applies when the pickup is outside all three areas.

Step 3. Create Three Pricing Rules

Go to ‘Chauffeur Booking System’ -> ‘Pricing Rules’ and create one rule for each Geofence area.

Conditions

For each rule, select ‘Distance’ under ‘Conditions’ -> ‘General’ -> ‘Service Types’ and select the vehicle under ‘Conditions’ -> ‘Vehicles’. In ‘Conditions’ -> ‘Locations’ -> ‘Geofence’, specify the corresponding ‘Pickup Geofence’. Leave ‘Drop-off Geofence’ unrestricted.

Prices and Rule Priority

In the ‘Prices’ tab of every rule, set ‘Price Source Type’ to ‘Set directly in the “Prices” tab’ and ‘Booking Sum Type’ to ‘Variable’. For ‘Per Kilometer’, select ‘Set value’ and enter the rate shown below. Leave other price components at ‘- Inherited -‘.

Pricing Rule Pickup Geofence Per Kilometer Order Next Rule Processing
Inner Zone Pricing Inner Zone $5.00 30 ‘Disable’
Middle Zone Pricing Middle Zone $4.00 20 ‘Disable’
Outer Zone Pricing Outer Zone $3.00 10 ‘Disable’

Keep all three rules at the same default ‘Rule Level’. The higher ‘Order’ value makes the smaller area take priority. Setting ‘Next Rule Processing’ to ‘Disable’ prevents other matching rules at the same level from replacing its rate.

For example, a pickup inside the Inner Zone matches all three Geofence areas, but the Inner Zone rule executes first and sets the rate to $5.00/km.

Example Price Calculations

These examples illustrate how the rate changes with the pickup area. The journey distance is calculated separately for each route.

Pickup Location Journey Distance Calculation Final Price
Inner Zone (within 5 km) 34.5 km 34.5 × $5.00 $172.50
Middle Zone (outside Inner) 37.8 km 37.8 × $4.00 $151.20
Outer Zone (outside Middle) 30.9 km 30.9 × $3.00 $92.70
Outside all three zones 23.2 km 23.2 × $2.00 $46.40

Only the pickup location determines which zone rate applies. The drop-off location does not need to be inside the same Geofence. Geofence radii describe the circular coverage areas, not the road distance of the booking.

Summary

Document version: 1.0
Last updated: November 25, 2026
Plugin version: 9.8+

Was This Article Helpful?