• Resolved tnchuntic

    (@tnchuntic)


    Just wanted to ask your support specifically “Restrict by Zone (Drawn zone or by Radius)” section. It seems to not working, I have done the following settings:

    Restrict by Zone (Drawn zone or by Radius)
    Delivery ZoneDelivery Zone
    = By Radius

    Maximum radiusMaximum radius
    = 50

    And the shipping method is not working even if the delivery address is in the same street of the store address.

    Hope to hearing from your end.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter tnchuntic

    (@tnchuntic)

    Any updates from the author???

    Also anyone have encounter this issue… kindly message here if you are. Also if you have fixed it kindly share on how you have fixed it.

    Thanks

    Plugin Author arosoft

    (@arosoft)

    Hi, if you in chrome rightclick and chose inspect, look for errors in the console. I belive your issue could be related to the Google Maps API key.

    Thread Starter tnchuntic

    (@tnchuntic)

    Dev Tool console log doesn’t have any error at all. Also code that will render shipping method are php so not sure if its affected by javascript errors if it has one.

    Also where can I find the code that checks the customer address if its within the radius of store address. I would like to check and test at my end that way I can have a better understand of how the plugin code works.

    Thanks

    • This reply was modified 2 years, 5 months ago by tnchuntic.
    Thread Starter tnchuntic

    (@tnchuntic)

    Here’s the error log in the checkout.

    15:31:06 1291445692 SERVER to GOOGLE CALL: URL:https://maps.googleapis.com/maps/api/geocode/json 
    
    REQUEST STRING:address=15+Millennium+Cct+Helensvale+Queensland&components=country%3AAU%7Cpostal_code%3A4212&region=au 
    
    Request: Array ( [address] => 15 Millennium Cct Helensvale Queensland [components] => country:AU|postal_code:4212 [region] => au ) 
    
    Response:{ "error_message" : "API keys with referer restrictions cannot be used with this API.", "results" : [], "status" : "REQUEST_DENIED" }
    • This reply was modified 2 years, 5 months ago by tnchuntic.
    Thread Starter tnchuntic

    (@tnchuntic)

    Found the issue and have fixed.
    I just need to remove the “Set an application restriction” and set it to none.

    Thread Starter tnchuntic

    (@tnchuntic)

    Good afternoon just checking with you if any updates on fixing this issue with Google Map API have website restriction on the application it will not show shipping method for zone within 50km radius.

    Plugin Author arosoft

    (@arosoft)

    DO you have server mode activated?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Shipping method is not shopping if restriction for radius/drawing is enabled.’ is closed to new replies.