• Selah

    (@tubescreamer)


    Hi,

    I’ve installed your plugin, and i’m using it together with this other plugin to enable custom shipping methods for WooCommerce. I used that plugin specifically to set up a ‘Local Delivery’ shipping method for customers in the same country as the shop and in the “Distance Based Fee for WooCommerce” plugin settings page, I chose that ‘Local Delivery’ shipping method that I created, to have the fee added for (https://imgur.com/Y8LzKN8). I’ve also created the API key, enabled billing, and enabled the following APIs for the project:
    1. Distance Matrix API
    2. Geocoding API
    3. Places API

    I’ve also restricted the API key to only those three APIs as well as my website using the format “mywebsite.com/*”.

    However, after doing all this, I can’t get the shipping cost to show up when i’ve entered my shipping address.

    Can you provide any assistance? I don’t see any errors in the console either.

    • This topic was modified 4 years ago by Selah.
    • This topic was modified 4 years ago by Selah.
    • This topic was modified 4 years ago by Selah.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Selah

    (@tubescreamer)

    This is what I see in the log file:

    Sat Feb 6 0:25:09 UTC 2021: This API project is not authorized to use this API.
    Sat Feb 6 0:25:09 UTC 2021: {"destination_addresses":[],"error_message":"This API project is not authorized to use this API.","origin_addresses":[],"rows":[],"status":"REQUEST_DENIED"}
    Thread Starter Selah

    (@tubescreamer)

    So I unrestricted the key and it seemed to have worked now. The shipping cost updates based on the address I enter in the Shipping Address fields.

    However, for some reason, the shipping cost doesn’t get added to the “Total Cost”

    View post on imgur.com

    Plugin Author Gaylord Focker

    (@webdata)

    Hi,

    Yes, indeed you need to use unrestricted API keys, I’m glad you got it solved. Please make sure no other plugin is causing any conflict for the total costs behavior on checkout.

    Kim

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No Fee showing after entering shipping address’ is closed to new replies.