Hello @wonderwooman,
Thank you for reaching out and sharing the details of your setup. Based on the provided screenshots, it appears that you’ve configured the plugin correctly. Kindly verify that the Google API Key you obtained is accurately entered into the plugin settings, and please double-check for any potential typos or errors in the API key. Additionally, ensure that the Google Places API in your Google Cloud console is active and not expired. Also, make sure to enable the billing account in your Google Cloud console, as it is essential for activating the API.
Please find the below troubleshooting article for your reference: https://elextensions.com/knowledge-base/troubleshoot-elex-address-validation-google-address-autocomplete-plugin-for-woocommerce/
Concerning address validation, please ensure that the EasyPost API is correctly updated in the plugin settings. Additionally, check for any compatibility issues with other plugins or themes installed on your website, as conflicts between plugins can impact functionality. If the issue persists even after verifying the API and checking compatibility, we may need to analyze API logs. Kindly share the API logs with us so that we can identify any issues with the validation.
Feel free to contact us if you have any further questions or require additional support. We’re here to assist you!
Thank you for your response.
I don’t require autocomplete and map functions; my sole need is to verify shipping addresses entered manually by customers. Can I just use the EasyPost API key only?
Hello @wonderwooman,
Greetings from ELEXtensions!
Certainly, you have the option to disable the “Address autocomplete” feature within our plugin settings. This allows you to use our plugin solely for address validation during the checkout process. The basic version of this plugin supports the EasyPost API integration only for address validation.
https://prnt.sc/Cy2HJSRGLe3k
Feel free to reach out if you have any further questions or need additional clarifications.
Thank you. I need further assistance as I am a beginner. The functionality seems to be working, but not as expected.
For instance, when I entered a real address, the plugin was unable to verify it. https://snipboard.io/ezSpoP.jpg
I changed the country to Canada with an incorrect postcode, and the address was validated successfully, even though it was obviously incorrect. https://snipboard.io/djoRB0.jpg
How can I ensure that it verifies addresses correctly?
Hello @wonderwooman,
We have integrated the ELEX Address Validation & Google Address Autocomplete Plugin with the EasyPost API key to validate and provide suggested addresses during the checkout process. Upon reviewing a US address on our end, we encountered an “Address not found” API response. This is attributed to the address not being present in the EasyPost server for validation.
https://prnt.sc/PmYLdst-tb52
https://prnt.sc/YZEzJ_Z_9ocC
However, when validating the same address with the incorrect country name “Canada” and zip code “WWWW,” the address is successfully validated by the EasyPost API. Therefore, I recommend reaching out to the EasyPost support team for additional clarification on how the API validates incorrect addresses. This discrepancy is within the API-generated response for the mentioned address and is not an issue originating from the plugin.
https://prnt.sc/wxSwL_JTPLev
Additionally, you can activate the “debug log” option within our plugin settings. This allows you to conveniently review the API logs on the WooCommerce status logs page, providing insights into the specific reasons for the validation failure.
Hope it explains! Please feel free to contact us if you have any questions.