problem with zip code
-
Hello, since this morning I have a problem with my Japanese ecommerce; when a customer try to chekout the zip code inserted is not validated and it continue to show an error message for invalid post code.
Please help
The page I need help with: [log in to see the link]
-
Hi @atai ,
Thanks for reaching out!
I understand that you are experiencing issues with an “Invalid Post code” error when a customer tries to checkout on your site, is this correct?
Please could you clarify which Payment Gateway you are using on your site that is experiencing this issue? Also, if possible, please share a screenshot of the exact error message that is being displayed.
Snipboard.io can be used for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.
Additionally, in order to get a better understanding of your site setup, could you please share a copy of the following:
- System Status – which you can find via WooCommerce → Status. Select Get system report and then Copy for support.
- Fatal Error log: Share a copy of any fatal error log found under WooCommerce → Status → Logs.
Once you have these, please share them in your response here.
Hello Roxy,
thanks for your reply.
Yes I confirmed that I receive the error “Invalid Post code” error when a customer tries to checkout on my site.
I receveive this error for any payment type selected. At the moment I use pay on delivery and credit card using the Stripe plugin
This is the fatal error log fatal-errors-2023-01-25-505d1ce073a2eaa38e7a8843736f393f.log
and below you can see the print screen of the error
2023-01-25T11:08:02+00:00 CRITICAL Uncaught Error: Class ‘CharlesRumley\PoToJson’ not found in /home/customer/www/inomon.net/public_html/shop-ja/wp-content/plugins/siteground-migrator/vendor/siteground/siteground-i18n/src/i18n_Service.php:90
- Stack trace:
- #0 /home/customer/www/inomon.net/public_html/shop-ja/wp-includes/class-wp-hook.php(308): SiteGround_i18n\i18n_Service->update_json_translations(Object(Language_Pack_Upgrader), Array)
- #1 /home/customer/www/inomon.net/public_html/shop-ja/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
- #2 /home/customer/www/inomon.net/public_html/shop-ja/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
- #3 /home/customer/www/inomon.net/public_html/shop-ja/wp-admin/includes/class-language-pack-upgrader.php(287): do_action(‘upgrader_proces…’, Object(Language_Pack_Upgrader), Array)
- #4 /home/customer/www/inomon.net/public_html/shop-ja/wp-admin/includes/class-language-pack-upgrader.php(104): Language_Pack_Upgrader->bulk_upgrade(Array)
- #5 /home/customer/www/inomon.net/public_html/shop-ja/wp in /home/customer/www/inomon.net/public_html/shop-ja/wp-content/plugins/siteground-migrator/vendor/siteground/siteground-i18n/src/i18n_Service.php on line 90

regarding this point
– System Status – which you can find via *WooCommerce* → *Status*. Select Get system report and then Copy for support.
I have followed your instructions and I believe you should have received the file, otherwise please let me know.
This issue is very urgent because since yesterday my ecommerce web site is down
Many thanks
Hi,
The file is not received, so far 🙁
You can upload the system status report by using https://pastebin.com/ then you can provide us with the link, keep the file alive for some days while we check into the issue.
Looking forward to hearing from you.
Hi,
Thanks for the info.
WC Database Version: 7.2.0Can you please navigate under WooCommerce > status > tools > update database, and after a while check again to see if the issue persists?
Please keep us informed.
I have updated the database and now everything works.
Thank you very much for your support
Hi,
As a work-around, you can disable postcode validation using custom code, in this thread you can find an example, you can add the code directly in your functions.php file or using a plugin like the code snippets.
Hope this helps.
The topic ‘problem with zip code’ is closed to new replies.