• Resolved opidigital

    (@opidigital)


    I’ve activated the plugin, enabled billing, and saved the API key as instructed in the installation page. However, it never prompted me for my address. How can the plugin know where it should calculate the distance from if I’ve never provided an origin location?

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

    (@webdata)

    Hi,

    Add your shop location to the WooCommerce settings and make sure it can be discovered by Google Maps. Plugin reads your location then from the settings.

    Kim

    Thread Starter opidigital

    (@opidigital)

    Thanks, How can I test if it is working?

    Plugin Author Gaylord Focker

    (@webdata)

    If you have already set up the fee at the plugin’s settings page, the plugin will display your fee at the WooCommerce’s checkout page, after the user has entered the shipping details.

    If you are experiencing any problems, please see the FAQ section: https://www.ads-software.com/plugins/woo-distance-based-fee/

    Kim

    Thread Starter opidigital

    (@opidigital)

    Hello Kim,

    I’ve went through the link you gave me and I have checked my “log” as instructed.
    These are the messages I’m seeing. My API key is not restricted.

    Sun Jan 5 13:17:14 UTC 2020: This API project is not authorized to use this API.
    Sun Jan 5 13:17:14 UTC 2020: {“destination_addresses”:[],”error_message”:”This API project is not authorized to use this API.”,”origin_addresses”:[],”rows”:[],”status”:”REQUEST_DENIED”}
    Sun Jan 5 13:17:14 UTC 2020: {“destination_addresses”:[],”error_message”:”This API project is not authorized to use this API.”,”origin_addresses”:[],”rows”:[],”status”:”REQUEST_DENIED”}
    Sun Jan 5 13:17:14 UTC 2020: This API project is not authorized to use this API.

    Plugin Author Gaylord Focker

    (@webdata)

    You have not enabled the correct API. Try to enable following APIs:

    Distance Matrix API
    Places API for Web
    Google Maps Geocoding API

    Kim

    Thread Starter opidigital

    (@opidigital)

    Thank you,

    It is working now. I do have a question however, how does the API pricing work? Will I ever have to start paying fees for it in the future?

    Roger

    Plugin Author Gaylord Focker

    (@webdata)

    Great to hear you got it working!

    No, you don’t need to pay for the API usage, unless you make a huge amount of daily requests. And I mean really huge amount ??

    Kim

    Thread Starter opidigital

    (@opidigital)

    Hi, I’m facing an issue where it is charging shipping for even virtual products. How can I avoid this?

    Thread Starter opidigital

    (@opidigital)

    I think what’s happening is because the shipping condition is not met, which is why it is charging the fixed fee instead.

    I’m trying to charge a fixed fee when someone ships more than 10km away from my store as this is a local business. What settings should I use?

    Plugin Author Gaylord Focker

    (@webdata)

    You can disable the fixed fee at the settings. Choose if the condition is not met, the shipping method will be disabled.

    Kim

    Thread Starter opidigital

    (@opidigital)

    But I am trying to charge a fixed fee once consumers are further than 10km. If I remove the fixed fee, wouldn’t I charge no shipping at all?

    Plugin Author Gaylord Focker

    (@webdata)

    So you need a feature, that disables the fee if the product is virtual, is that right? I can add this feature to the next version.

    Kim

    Thread Starter opidigital

    (@opidigital)

    Yes, that’s absolutely correct! When will you be having the next update?

    Plugin Author Gaylord Focker

    (@webdata)

    Ok, I’ll try to bring the next update on Friday.

    Kim

    Thread Starter opidigital

    (@opidigital)

    Thanks alot Kim. You’re a life saver.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘How does it know where my location is?’ is closed to new replies.