Title: Disabling address fields
Last modified: September 14, 2021

---

# Disabling address fields

 *  Resolved [tomaskucerik](https://wordpress.org/support/users/tomaskucerik/)
 * (@tomaskucerik)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/disabling-address-fields/)
 * Hi,
 * the link provided is to our staging website.
 * We downloaded this plugin: ‘Checkout Field Editor (Checkout Manager) for WooCommerce’,
   to turn off address fields based on what is in the cart. For some products, we
   need to collect addresses and for some, we don’t.
 * I can either:
 * 1. completely hide billing_address_1 and billing_country (the two fields that
   are mandatory for Woocommerce Stripe Getaway for the payment to go through) and
   replace them with default values for all orders or
 * 2. Leave the fields visible for all orders
 * Neither of those solutions is ideal for us since we need to collect addresses
   for some products and thus we can’t just replace the two fields with default 
   values for all orders.
 * Can you somehow make it so Woocommerce Stripe Getaway does not require billing_address_1
   and billing_country to be filled in when placing an order? This way I would be
   able to show the fields for some orders and hide them for other orders and regardless
   of if it’s populated or not, the order would go through.
 * Alternatively, do you have a different solution for my situation? I’m sure there
   is a solution for this, there must be. Do you maybe recommend using a different
   plugin?
 * Thanks
    Tomas
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdisabling-address-fields%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Stuart Duff – a11n](https://wordpress.org/support/users/stuartduff/)
 * (@stuartduff)
 * Automattic Happiness Engineer
 * [4 years, 8 months ago](https://wordpress.org/support/topic/disabling-address-fields/#post-14901730)
 * Hey [@tomaskucerik](https://wordpress.org/support/users/tomaskucerik/),
 * When using a credit card gateway like Stripe billing address fields are required
   and hiding those or changing the inputted value would most likely cause payments
   to fail or be possibly be highlighted as fraudulent by the card processor.
 * When using a payment gateway that accepts card payments I’d strongly suggest 
   leaving the billing address fields all in place and allowing the customer to 
   input their billing address details.

Viewing 1 replies (of 1 total)

The topic ‘Disabling address fields’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-gateway-stripe/assets/icon-256x256.png?rev=3177277)
 * [WooCommerce Stripe Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/)

## Tags

 * [checkout fields](https://wordpress.org/support/topic-tag/checkout-fields/)

 * 1 reply
 * 2 participants
 * Last reply from: [Stuart Duff – a11n](https://wordpress.org/support/users/stuartduff/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/disabling-address-fields/#post-14901730)
 * Status: resolved