• Resolved roshnarasheed

    (@roshnarasheed)


    Hi sir,

    I have enabled the api using google console, but still there is no change in my checkout page

    error log
    Fri Jan 31 11:30:15 UTC 2020: {“destination_addresses”:[],”error_message”:”This API project is not authorized to use this API.”,”origin_addresses”:[],”rows”:[],”status”:”REQUEST_DENIED”}

    This is what i’m getting in checkout page
    [ redundant link removed ]
    Please do check and help me sir
    SHIPPING
    Flat rate

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Gaylord Focker

    (@webdata)

    Hi,

    That error indicates that you have not enabled the correct API. Try to enable the following APIs: Distance Matrix API, Places API for Web, Google Maps Geocoding API.

    Kim

    Thread Starter roshnarasheed

    (@roshnarasheed)

    Hi sir,

    Still there is no change in my checkout page..please help me
    I have enabled all the apis mentioned by you

    Thread Starter roshnarasheed

    (@roshnarasheed)

    My checkout page is showing the fixed delivery charge always,
    SHIPPING Flat rate
    DELIVERY CHARGE 10,00 €

    These are backend settings i have given:
    Divider 1
    Price 0.99
    Minimun distance 3
    Maximum distance 10
    Units kms
    Methods flat rate
    Shipping conditions user fixed fee
    Fixed fee 10

    My requirement is delievry is free for 3 kms.

    After that for every one km – we need to add 0.99 euro .

    If the selected address is 4 kms- rate need to be 0.99 * 4
    Pls can u help me…

    Plugin Author Gaylord Focker

    (@webdata)

    Please follow these steps one more time to make sure everything is setup correctly:

    1) Google has changed their policy, and now you need to have a billing account enabled, in order to use their API. More info: https://console.cloud.google.com/project/_/billing/enable

    2) Check your plugin settings, you need to have enabled atleast one shipping method for the fee.

    3) Check error log for possible errors. You can find the log at the plugin settings page on “Logs” tab.

    4) Choose one of the WooCommerce shipping methods at WooCommerce – Shipping and save any of the shipping methods settings once to clear the cache.

    5) Make sure you have entered your store location correctly on WooCommerce settings, and Google can locate it through Google Maps.

    6) Make sure you have enabled correct API. Try to enable the following APIs: Distance Matrix API, Places API for Web, Google Maps Geocoding API

    7) Try to generate new API key and do NOT choose restricted mode.

    If you still cannot see the fee, please give me an example of the address you are trying to use on the checkout, so I can check what the API responds.

    Kim

    Thread Starter roshnarasheed

    (@roshnarasheed)

    Hi sir,

    its working fine , when i enable all the api mentioned by you.

    But i dont understand how can i make my delivery free for first 3 kilometers and not deliverable after 10 kilometers.

    Please can you help me with the same.

    These are backend settings i have given:
    Divider 1
    Price 0.99
    Minimun distance 3
    Maximum distance 10
    Units kms
    Methods flat rate
    Shipping conditions user fixed fee
    Fixed fee 10

    My requirement is delivery is free for 3 kms.

    After that for every one km – we need to add 0.99 euro .

    If the selected address is 4 kms- rate need to be 0.99 * 4

    Plugin Author Gaylord Focker

    (@webdata)

    Hi,

    Choose on the “Shipping conditions” drop down menu to hide the shipping method if conditions are not met.

    If you don’t want to charge for the shipping, then you need to setup the flat rate shipping methods settings accordingly or use free shipping instead.

    Kim

    Thread Starter roshnarasheed

    (@roshnarasheed)

    sir, how to separate them..
    I mean for first three km –free
    and stop delivery above 10 kilometre.

    Plugin Author Gaylord Focker

    (@webdata)

    It should work if you just enter minimum distance 3km and maximum 10km. After that also remember to save your shipping methods settings – The shipping method hiding function requires that in order to take any effect.

    Please also note that this plugin only adds a custom fee to the checkout, rest is up to the shipping method you have been decided to use.

    There is later coming another plugin which also allows you to create shipping methods with different logic, but that plugin is going to take a little while to get finished.

    Kim

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘No change in shipping price at checkout’ is closed to new replies.