Gaylord Focker
Forum Replies Created
-
I believe your best option is to disable all the limiting settings and then save your shipping methods settings once. This way you should be able to narrow down the cause of the issue.
Also remember to add full address; street address, zip code and city.
Kim
I tried with 2 x pumpkin pie, total of 800,000 and I got delivery fee of 10,000.
Is there still something right now that does not work as expected?
Kim
There are other ways to contact, however I cannot encourage you to make an off-forum contact, that is because of the forum rules.
I tried with the following addresses to get the API response:
Origin: 184 Hẻm 180 Nguyễn Hữu Cảnh, Phường 22, Bình Thạnh, 70000, Hồ Chí Minh
Destination: Phường 25, 70000, Hồ Chí MinhAnd API response was ok:
{“distance”:{“text”:”2.3 km”,”value”:2333},”duration”:{“text”:”7 mins”,”value”:396},”status”:”OK”}So the issue should not be the address format. Make sure you have selected at least one shipping method from the settings and also check the “Shipping conditions” drop down menu. If you change the shipping method hiding options, you also need to save once the shipping method’s settings: WooCommerce – Settings – Shipping – Select your zone – Select shipping method and save settings once.
You can also try to enable one of the APIs: Distance Matrix API, Places API for Web, Google Maps Geocoding API
Kim
Hi,
Google Distance Matrix API should recognize the address same way as the Google Maps does.
I tried on your website, and I got the error message saying “There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.”
You can check the log page at the settings, if the Google API has left any error messages for you. Otherwise, check your WooCommerce delivery settings.
Kim
Forum: Plugins
In reply to: [WebData Distance Based Fee for WooCommerce] The origin of the distanceHi,
You can either use hooks to create your own logic: https://web-data.online/docs/woocommerce-distance-based-fee/
Or you can try this plugin instead: https://ww.wp.xz.cn/plugins/webdata-custom-shipping-methods-for-woocommerce/
Kim
Forum: Plugins
In reply to: [WebData Distance Based Fee for WooCommerce] Can’t see the option on checkoutHi,
Installation instructions can be found here: https://web-data.online/docs/woocommerce-distance-based-fee/
If you are having any issues, please follow these steps:
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 at least 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.
Kim
Hi,
Just use the shipping address in case you don’t have any specific reason to use billing address.
Thank you for the feedback, glad to hear you have found the plugin useful. There are more plugins to come later.
Kim
Forum: Plugins
In reply to: [WebData Distance Based Fee for WooCommerce] Need Multi Vendor supportYou can change the starting point at the settings, yes. If you need multiple locations, you need to create some logic for that.
Kim
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
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
Forum: Plugins
In reply to: [WebData Distance Based Fee for WooCommerce] Need Multi Vendor supportHi,
I can add feature to the settings, so you can add different starting point address in plugin settings, but if you use multiple starting points, you are going to need some custom logic for that.
See plugin documentation on our website to see the hook, which you can use to create custom logic, or you can also use our customization service if you like.
Kim
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
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
Hi,
This feature request has been noted. Please visit our website if you require any plugin customizations.
Kim
Forum: Plugins
In reply to: [WebData Distance Based Fee for WooCommerce] The origin of the distanceHi,
Your feature request has been noted.
Kim