Title: ZIP Code ( CEP )
Last modified: January 29, 2023

---

# ZIP Code ( CEP )

 *  Resolved [gauchopbonline](https://wordpress.org/support/users/gauchopbonline/)
 * (@gauchopbonline)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/zip-code-cep/)
 * Hello ! congratulations for the plugin, (Brazilian store)
 *  Test with the plugin enabled and disabled the Autocomplete Address for WooCommerce
   plugin.
 * When typing the CEP for the first time, it fills in correctly., BUT, if by chance,
   the customer enters the zip code wrong, and corrects it and enters another zip
   code again, it does not fill in. WP Rocket disabled in cart and checkout
 * We use payment by PIX and Mercado Pago, it keeps loading forever and does not
   load the payment method. Stay: running and waiting more than 4 minutes
 * TKS !
    -  This topic was modified 3 years, 4 months ago by [gauchopbonline](https://wordpress.org/support/users/gauchopbonline/).

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [alanmarley](https://wordpress.org/support/users/alanmarley/)
 * (@alanmarley)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/zip-code-cep/#post-16445518)
 * Hi [@gauchopbonline](https://wordpress.org/support/users/gauchopbonline/),
    We
   have not yet tested Fluid Checkout with the Autocomplete Address for WooCommerce
   plugin.
 * Please contact us through our official support channel so we can assist you with
   this issue:
   [https://fluidcheckout.com/support/](https://fluidcheckout.com/support/)
 * I’m closing this topic for now.
   Best,Alan.
 *  [victorhugommf](https://wordpress.org/support/users/victorhugommf/)
 * (@victorhugommf)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/zip-code-cep/#post-16501111)
 * Hi,
 * I’m facing the same issue with Autocomplete Address for WooCommerce.
 * My case is worst, when the ZIP Code is typed the city and state are never being
   filled. I have tried a different plugin and I have also tried to create my own
   JS script file with wp_enqueue_script (the script works when I run it on browser
   console), but fore some reason nothing happens when Fluid checkout plugin is 
   active.
 * Please, see jQuery code at the url below:
 * [https://paolagiacomelli.com.br/wp-content/themes/wizestore-child/cepfill/cepfill.js](https://paolagiacomelli.com.br/wp-content/themes/wizestore-child/cepfill/cepfill.js)
 * Did you find any solution for this topic?
 * Thanks
 *  Plugin Author [Diego Versiani](https://wordpress.org/support/users/diegoversiani/)
 * (@diegoversiani)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/zip-code-cep/#post-16502026)
 * Hi [@gauchopbonline](https://wordpress.org/support/users/gauchopbonline/) & [@victorhugommf](https://wordpress.org/support/users/victorhugommf/),
 * It is unlikely that we’ll add compatibility with the plugin Autocomplete Address
   for WooCommerce any time soon.
 * Also, the Autocomplete Address for WooCommerce plugin has not being updated for
   more than 2 years and does not seem to be actively maintained.
 * For now, we suggest you purchase our plugin [Google Address Autocomplete](https://fluidcheckout.com/fc-google-address-autocomplete/)
   which has a similar feature to autocomplete the addresses via Brazilian CEP or
   using the Google Maps API. When completing via CEP, the data source used is the
   same one used by the plugin Autocomplete Address for WooCommerce.
 * Best,
   Diego.
 *  Plugin Author [Diego Versiani](https://wordpress.org/support/users/diegoversiani/)
 * (@diegoversiani)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/zip-code-cep/#post-16502036)
 * Hi [@victorhugommf](https://wordpress.org/support/users/victorhugommf/), if you
   still wish to use a custom script, you’ll need to make some adjustments to it.
 * Fluid Checkout replaces many parts of the checkout page when it gets updated 
   via AJAX calls, that includes the address fields. This behavior is different 
   than the original WooCommerce checkout.
 * By the time the customer enters the CEP field value, the field on the page has
   already been replaced.
 * Your script targets the CEP field that was replaced and is no longer available
   on the page, hence why the scripts is not running.
 * You can try capturing the ‘keyup’ event on the entire page and checking if the
   field that triggered the event matches your criteria. Something along these lines:
 *     ```wp-block-code
       jQuery("body").on( 'keyup', "input [name*='postcode ' ]" function () { / / your code } )
       ```
   
 * I hope this helps.
 * Best,
   Diego.
 *  Plugin Author [Diego Versiani](https://wordpress.org/support/users/diegoversiani/)
 * (@diegoversiani)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/zip-code-cep/#post-16502042)
 * Hi [@gauchopbonline](https://wordpress.org/support/users/gauchopbonline/),
 * > We use payment by PIX and Mercado Pago, it keeps loading forever and does not
   > load the payment method. Stay: running and waiting more than 4 minutes
 * This issue where the payment section keeps loading is probably related to an 
   error while processing requests to update the checkout page parts.
 * Since this is an error that happens on the server we are unable to evaluate it.
   
   You’ll need to check your **PHP error.log or debug.log** file on your hosting
   environment for any error message related to Fluid Checkout.The location for 
   the **PHP error.log or debug.log file** depends on your hosting environment configuration
   and unfortunately, we are unable to send you instructions to locate it. You might
   need to contact your hosting company to help you locate the correct file.
 * Once you have the log file, you can open the file in a text editor such as Notepad
   and search for `fluid-checkout` inside it.
 * I hope this helps.
 * Best,
   Diego.
 *  Thread Starter [gauchopbonline](https://wordpress.org/support/users/gauchopbonline/)
 * (@gauchopbonline)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/zip-code-cep/#post-16507163)
 * [@diegoversiani](https://wordpress.org/support/users/diegoversiani/) ,
 * I stopped using it, since the error that happened!
 * this week, I have a project from a client that has Flid, and the same problem
   continues.
 * I won’t use it until I have a solution to our zip code and payment issues in 
   Brazil.
 * Google Maps plugin is very bad, it is slow, for mobile even worse ..
 *  [victorhugommf](https://wordpress.org/support/users/victorhugommf/)
 * (@victorhugommf)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/zip-code-cep/#post-16522157)
 * [@diegoversiani](https://wordpress.org/support/users/diegoversiani/) thanks for
   your tips and advice.
 * I’ll test it and will come back for a feedback.
 *  Plugin Author [Diego Versiani](https://wordpress.org/support/users/diegoversiani/)
 * (@diegoversiani)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/zip-code-cep/#post-16522433)
 * Hi [@gauchopbonline](https://wordpress.org/support/users/gauchopbonline/),
 * While the Google Maps scripts are quite large, the time it takes to load it does
   not affect the user experience as much as having to type in multiple fields that
   can be autocompleted.
 * With that said, you can choose not to use the Google Maps API and only the autocomplete
   by CEP field for Brazilian Addresses.
 * If you have any further questions regarding our Google Address Autocomplete plugin,
   I kindly ask you to contact us via our [official support page](https://fluidcheckout.com/support/).
 * If you are having issues with payment methods when using Fluid Checkout, please
   create a new topic/ticket. If you have already created a ticket for that issue,
   could you point me it?
 * Best,
   Diego.
 *  Plugin Author [Diego Versiani](https://wordpress.org/support/users/diegoversiani/)
 * (@diegoversiani)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/zip-code-cep/#post-16522457)
 * Hi [@victorhugommf](https://wordpress.org/support/users/victorhugommf/),
 * I just realize now that the code might have a small error. There is an extra 
   spaces around the `postcode` word in the example code I sent previously. You 
   might want to remove those extra spaces, if the original code does not work.
 * Here is the code without the extra space.
 *     ```wp-block-code
       jQuery("body").on( 'keyup', "input[name*='postcode']" function () { / / your code } );
       ```
   
 * Best,
   Diego.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘ZIP Code ( CEP )’ is closed to new replies.

 * ![](https://ps.w.org/fluid-checkout/assets/icon-256x256.png?rev=3492947)
 * [Fluid Checkout for WooCommerce - Lite](https://wordpress.org/plugins/fluid-checkout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluid-checkout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluid-checkout/)
 * [Active Topics](https://wordpress.org/support/plugin/fluid-checkout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluid-checkout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluid-checkout/reviews/)

 * 9 replies
 * 4 participants
 * Last reply from: [Diego Versiani](https://wordpress.org/support/users/diegoversiani/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/zip-code-cep/#post-16522457)
 * Status: resolved