WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Correios
[resolved] Plugin accepts invalid Zipcode/CEP and give shipping quote. (2 posts)

  1. PILOTUSA123
    Member
    Posted 1 year ago #

    Hello there,
    Thanks for the plugin by the way.
    I have got a little problem with a zipcode been invalid at the correios.com.br but on my site it accepts and give a shipping quote.

    Here is the scenario: I was trying to setup and test the shipping extention for a product.
    The correios website tell me that the zip 2072094 is invalid, but the woocommerce extention still accept the zip and display a shipping price.
    The right zipcode is actually 20720294 instead 2072094
    Is there a way to fix this validation script?

    Thanks
    Davys

    http://wordpress.org/extend/plugins/woocommerce-correios/

  2. Claudio Sanches
    Member
    Plugin Author

    Posted 1 year ago #

    Need to fill the zip correctly to send to the plugin.

    It uses the postal service WebServices ... And use the zip codes valid there.

    Validation of CEP beyond the scope of this plugin.
    It should be done by using your theme or another plugin.
    Example: http://wordpress.org/extend/plugins/woocommerce-extra-checkout-fields-for-brazil/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.