1. Home
  2. Docs
  3. Local Delivery Drivers for WooCommerce Premium
  4. Troubleshooting
  5. Commission by distance not working

Commission by distance not working

If the commission by distance doesn’t work please check the following:

  1. Go to the plugin settings on the admin panel.
  2. Check if you set up the Google API keys.
  3. Click on the drivers’ tabs and check if the commission option is set by distance.
  4. Go to the edit order page on the admin panel.
  5. Check the order notes you will see an error from the google distance API service.
  6. Read the error and follow the instruction, you probably will need to add an IP address to the google API key.
  7. Add the IP address on the google API setting page.

How to check the if the commission by distance works

  1. Go to the edit order page on the admin panel.
  2. Assign a driver to order.
  3. Make sure the commission text field is empty, if not delete it and update the order.
  4. Change the order status to any status except the complete status and click update order.
  5. Change the order status to complete status and click update order.
  6. Check if the commission has a price.