Sofyan Sitorus
Forum Replies Created
-
Forum: Plugins
In reply to: [WooReer] Charge per deliveryHi,
Thanks for reaching out. At the moment, the thread only says “i can not get this to charge a delivery per item” and doesn’t include the setup details needed to verify whether this is a configuration issue or something else.
To help further, please send us the following:
- WooReer version
- WordPress version
- WooCommerce version
- Which API provider you are using
- Your expected result
Example: “If 1 item = USD 10 shipping, then 3 items should = USD 30” - Your actual result
Example: “3 items still only charge USD 10” - A screenshot of:
- the WooReer shipping method settings
- the table rates
- the cart/checkout result
- The exact steps to reproduce
- If possible, a short screen recording showing the setup and checkout test
If logging is available in your installed version, please also enable WooReer logging and share the log from one checkout attempt via WooCommerce → Status → Logs. That will help confirm whether the plugin is calculating the rate once per cart or per item.
Without the full setup details, we can’t reliably confirm whether this is a bug or just a rule configuration mismatch. If you share the screenshots and a complete test scenario, we can help you narrow it down much faster.
Once you send the configuration screenshots and expected vs actual behavior, I’ll help you check the correct setup.
Hi @robertmurdock153
Thank you for reporting this bug, we’ve confirmed that it is valid. A fix has been implemented and shipped in version 3.1.5, which is now available.Please update to v3.1.5 at your earliest convenience and let us know if the issue persists or if you encounter any further problems. We appreciate you taking the time to bring this to our attention.
Thanks again for helping us improve the product.
Forum: Plugins
In reply to: [WooReer] Doesn’t refresh when different address added in checkout fieldsHi @avneeeesh,
Thanks for reaching out, and for the detailed description. I can see exactly what’s happening here!
You’ve correctly identified the root cause: when you change the address using your autocomplete plugin, WooCommerce’s checkout update mechanism isn’t being triggered, so WooReer never gets a chance to recalculate the shipping distance. This is a third-party address autocomplete plugin integration issue, not a bug in WooReer itself.
What’s Happening Under the HoodWooReer (like all WooCommerce shipping plugins) relies on WooCommerce dispatches a request to the WooCommerce REST API endpoint whenever address fields change. Under normal circumstances, WooCommerce listens for
changeorblurevents on its native checkout input fields and then dispatches a request to the WooCommerce REST API endpoint to recalculate rates.When an autocomplete plugin populates the address fields programmatically (rather than the customer typing directly), it often fills the inputs using JavaScript without triggering the native browser
changeevent that WooCommerce is listening for. As a result:- The fields appear filled in visually ✅
- But WooCommerce never detects a change ❌
- So no REST API request is dispatched ❌
- And WooReer never recalculates the distance or shipping rate ❌
This matches precisely what you — and our developer notes — have observed: no request is being dispatched to the WooCommerce REST API endpoint when the address is updated.
- This reply was modified 2 months ago by Sofyan Sitorus.
Forum: Plugins
In reply to: [WooReer] API Key Seems to fail silently with settings not savedHi Deirdra,
Thank you for the additional details, that is very helpful.
Your latest test does suggest this may not be a Google API key issue after all. Since the API key works correctly in a direct request to the Google Routes API, and the database only reflects the manually inserted value, this points more toward a settings save issue in the shipping method instance UI rather than API validation itself.
To help narrow that down, could you please check the following:
1. When you click Save, do you see the WooCommerce admin notice:
“Your settings have been saved.”- If yes, that would suggest the save request is completing, but the WooReer settings may not actually be persisting to the database.
- If no, that would point more toward the save flow itself not completing properly.
2. Are you able to create a brand new WooReer shipping method instance in the shipping zone and save it using the same API key?
- If yes, that would suggest the problem may be specific to the existing instance/settings record.
- If no, and the new instance also fails to save, that would point more strongly to a general UI/settings save bug.
If possible, it would also help to know whether there are any JavaScript console errors in the browser when clicking Save, or any relevant messages in the Network tab for the save request. If the request completes but the option is not updated, that would help isolate whether the issue is happening in the form submission, sanitization, or settings update stage.
Since sharing site access or the actual API key is not appropriate on the public forum, I can’t directly inspect the environment from here, but your findings are enough to justify treating this as a potential save/persistence bug.
If you can confirm whether a new instance behaves the same way, that would be the most useful next data point.
Thanks again for the detailed testing.
- This reply was modified 2 months, 4 weeks ago by Sofyan Sitorus.
Forum: Plugins
In reply to: [WooReer] API Key Seems to fail silently with settings not savedHi Deirdra,
Thanks for reporting this, and sorry for the frustration here.
Based on what you described, the most likely cause is that the Google API key passes in another plugin but does not meet WooReer’s specific requirement for the Google Routes API. In other words, a key can still work elsewhere for Maps/Geocoding/Places, but WooReer needs the Routes API enabled and billing active for validation to succeed.
I have tried several common validation cases below:
- Routes API is not enabled
- Billing is not enabled on the Google Cloud project
- The API key is invalid
- The API key field is empty
- The API key has an IP address restriction
- The API key has an application restriction
All of them are outputting the following error messages:
- Routes API not enabled
Distance Calculator API » Routes API has not been used in project ... before or it is disabled ... Check the log for more details. - Billing not enabled
Distance Calculator API » This API method requires billing to be enabled ... Check the log for more details. - Invalid key
Distance Calculator API » API key not valid. Please pass a valid API key » Check the log for more details. - Empty key
Distance Calculator API » API Key field is required - IP address restriction
Distance Calculator API » The provided API key has an IP address restriction. The originating IP address of the call (xxx.xxx.xxx.xxx) violates this restriction » Check the log for more details. - Application restriction
Distance Calculator API » Requests to this API routes.googleapis.com method google.maps.routing.v2.Routes.ComputeRoutes are blocked » Check the log for more details.
Please try the following
1. Confirm the API provider
- Make sure the provider used in WooReer is Google Maps Routes API.
2. Verify the Google Cloud setup
- In the client’s Google Cloud project, confirm:
- Routes API is enabled
- Billing is enabled
- The key is from the same project
- If Routes API or billing was just enabled, wait a few minutes and test again.
3. Check API key restrictions
- If the key has restrictions, please verify they are not blocking the request.
- In particular, check:
- Application restrictions
- API restrictions
- A key that works in another plugin may still be restricted in a way that prevents WooReer’s request from succeeding.
4. Enable WooReer logging and check the log output
- Please enable logging in WooReer, then try saving the key again.
- The log should usually contain the exact Google response, which will tell us whether this is:
- missing Routes API
- missing billing
- invalid key
- restriction-related
5. Test with a fresh API key if possible
- If the client can create another key in the same project with Routes API enabled and billing active, that would be a very useful comparison test.
Important note
Unfortunately, I can’t ask you to share the actual API key or site access in the public forum. So if the issue is specific to that one key/project, my ability to fully verify it here is limited.
If you can’t generate a new key yourself, the best next step would be to ask the client to verify the Google Cloud configuration above, especially:
- Routes API enabled
- Billing enabled
- Key restrictions
- Project consistency
For now, my best assessment is that this is most likely a Google Cloud/API configuration issue rather than a random save failure, though if you’re not seeing any admin notice at all, there may also be a UI/feedback bug worth investigating further.
Best Regards,
SofyanForum: Plugins
In reply to: [WooReer] There are no shipping options available.Hi Anil,
At the moment, there is no separate documentation page specifically for the Min/Max Total Cost settings. The guidance currently available is through the hints/tooltips inside the plugin settings, and the fields themselves are visible once you open Advanced Settings in the WooReer shipping method.
How Min/Max Total Cost worksThese two options are used to set a lower limit and upper limit for the final shipping cost calculated by WooReer.
- Min Total Cost = the minimum shipping amount that can be charged
- Max Total Cost = the maximum shipping amount that can be charged
So after WooReer calculates the shipping cost based on your distance rules, it will then apply these limits:
- If the calculated shipping cost is lower than Min Total Cost, WooReer will use the Min Total Cost
- If the calculated shipping cost is higher than Max Total Cost, WooReer will use the Max Total Cost
- If the calculated cost is between them, WooReer will use the calculated amount normally
Example
Let’s say your distance-based setup calculates shipping like this:
- Min Total Cost = 50
- Max Total Cost = 300
In that case:
- If result by distance is 40, customer will be charged 50
- If result by distance is 120, customer will be charged 120
- If result by distance is 350, customer will be charged 300
In your case, I think you need to set the same value for Min and Max Total Cost as you have fixed prices within specific ranges.
Where to set itSee the screenshot below:
https://monosnap.ai/file/oZQsM2pXXPOYgqNlmJqLtxSuP2suRt
https://monosnap.ai/file/R5QoS2tc8tnItT3nQZS5A1nGQqfm8PHope this answer your question.
Best regards,
SofyanForum: Plugins
In reply to: [WooReer] There are no shipping options available.Is it possible to count shipping rate as per kM delivery….
Yes, you can achieve the shipping cost structure described in the table by utilizing the Min/Max Total Cost together with a Custom Shipping Class for products with specific dimensions.Forum: Plugins
In reply to: [WooReer] There are no shipping options available.Hi Anil,
Thanks for sharing the workaround. Actually, no code modification is needed. You can simply set the “Post Code” field to not required in the WooReer “Checkout Fields” settings, as shown in the image below:
https://monosnap.ai/file/OokZwxMRgEHlkEjWeGUe5iB65xTPIZForum: Plugins
In reply to: [WooReer] There are no shipping options available.Hi Anil,
That’s wonderful news. So glad to hear you got it sorted out! 🎉
While you’ve resolved it, it would be really helpful for the community if you could briefly share what specifically fixed the issue in this thread. Other users in similar regions or with the same setup might run into the exact same problem, and your experience could save them a lot of time! 😊
If you ever run into any other questions or issues with WooReer down the road, don’t hesitate to reach out, we’re always happy to help.
Thanks for your patience throughout the process, and wishing you and your store all the best!
Best regards,
SofyanForum: Plugins
In reply to: [WooReer] There are no shipping options available.Hi Anil,
Great news — we’ve been able to identify the exact cause of your issue from the log! 🎉
🔍 Root CauseThe log shows this error clearly:
ERROR: Required destination address fields "postcode" are missing for distance calculationWooReer is attempting to calculate the shipping distance, but the customer’s postcode field is empty at checkout. Since WooReer requires postcode to be filled in by default, the calculation fails silently and no shipping options are displayed as a result.
✅ Two Ways to Fix ThisYou have two options depending on what works best for your store and customers:
Option 1: Require Customers to Fill in the Postcode (Recommended)The simplest and most reliable fix is to ensure your customers fill in the Postcode / ZIP field during checkout. This is the recommended approach because it ensures accurate distance calculations for every order.
Option 2: Make Postcode Non-Required in WooReer (Flexible)If postcode isn’t reliably available for your customers’ region — which can be the case in some areas of Uganda (your customer’s country in the log) — you can configure WooReer to not require it:
- Go to WooCommerce → Settings → Shipping
- Open your WooReer shipping method settings
- Look for the Checkout Fields setting (available since v3.1.1)
- Uncheck or deselect “Postcode” from the list of required fields
- Save your settings
- Test the checkout again with an address that has no postcode
With this option, WooReer will still attempt to calculate the distance using the available address fields (country, state, city, and street address).
Please give one of these a try and let us know how it goes! We’re confident this will resolve the “no shipping options available” message. 😊
Best regards,
Sofyan- This reply was modified 3 months, 1 week ago by Sofyan Sitorus.
- This reply was modified 3 months, 1 week ago by Sofyan Sitorus.
Forum: Plugins
In reply to: [WooReer] There are no shipping options available.Hi Anil,
Thank you for following up, and I’m sorry to hear the issue is still persisting after the update! 😊 Let’s work through this together and get your shipping options showing correctly.
I noticed the screenshot you shared, but to properly diagnose what’s happening on your end, the most important next step is to enable WooReer’s built-in logging so we can see exactly what’s happening during the distance calculation process.
- Go to WooCommerce → Settings → Shipping
- Click on your WooReer shipping zone
- Open the WooReer method settings
- Scroll down and Enable Log option and enable it.
- Save your settings
- Perform a test checkout (add a product to cart and proceed to checkout with a full shipping address)
- Go to WooCommerce → Status → Logs (https://yourdomain.com/wp-admin/admin.php?page=wc-status&tab=logs), select the WooReer log file (prefixed by wcsdm), and copy/paste the log content here
The log file will be the fastest way for us to pinpoint the root cause. Once you share it, we can identify whether it’s an API communication issue, an address resolution problem, or a configuration mismatch.
Looking forward to getting this sorted out for you! 🙌
Best regards,
SofyanForum: Plugins
In reply to: [WooReer] Does this plugin support cart weight condition?Hi @sambath1605 ,
Thank you for reaching out, and glad you’re enjoying WooReer! 🙂
To clarify, the plugin does not currently support cart-weight conditional setup. I apologize for any confusion caused by the description; I can see how that might have been misleading. We’ll review the wording to make it clearer going forward.
If you have any other questions about the plugin’s features or need help with anything else, feel free to ask!
Thanks again for the kind words.
Cheers
Forum: Reviews
In reply to: [WooReer] Not sure why this is freeThank you for the wonderful review! So glad the plugin is working great for you. 🙏
We keep it free because we believe everyone deserves quality tools. If you’d like to support future development, you can always buy me a coffee—no pressure at all!
Thanks again for taking the time to leave feedback. Cheers!Forum: Plugins
In reply to: [WooReer] There are no shipping options available.Hi Anil,
Thank you for reaching out and providing the details about the issue you’re experiencing with shipping options not appearing during checkout.
We wanted to let you know that version 3.1.1 was just released today, and it includes fixes that may resolve the issue you’re encountering with the Google API integration and shipping calculations.
Here’s what we recommend:
1. Update to version 3.1.1 at your earliest convenience
2. Test the checkout process again to see if shipping options now display correctly
If the issue persists after updating, we have a built-in logging feature that can help us diagnose the problem. You can enable logging for any errors that occur during distance calculation—this will help us pinpoint exactly what’s happening with your Google API requests and shipping calculations.
Please let us know if you’d like instructions on how to enable this, or feel free to share the logs with us and we’ll be happy to investigate further.
Best regards,
Sofyan
Forum: Plugins
In reply to: [WooReer] Not sure what I am doing wrong@kuzcotopia From the log you attached, I can see you put OO (double zero) for the max order amount field in the table rates configuration. Please give a try to update it as empty string or single zero.
Hope this helps.
Sofyan