Remove Billing Fields on Checkout
-
Hi,
Anyone here that can help? I need one of my site to ignore or to make the billing fields (OPTIONAL) on checkout, because, we only want the shipping fields to be prioritized so that we can have fewer fields on checkout. Will there be any repercussions if the billing fields are left empty? Especially for payment gateways? Thanks in advance!
-
Hi @ryanothelo
we only want the shipping fields to be prioritized so that we can have fewer fields on checkout
This can be achieved programmatically but may depend on the payment gateways in use. May I know which payment gateway are you using? In order for us to get a better idea of your setup, Could you please share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
In the meantime, you can try out the snippets shared in these tutorials for making fields required or optional on the Checkout page:
* We recommend using a plugin like Code Snippets to add the snippet to your site.
### WordPress Environment ### WordPress address (URL): https://selleys.com.sg Site address (URL): https://selleys.com.sg WC Version: 5.3.3 REST API Version: ✔ 5.3.3 WC Blocks Version: ✔ 4.9.1 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 2.2.7 Log Directory Writable: ✔ WP Version: ❌ 5.7.6 - There is a newer version of WordPress available (5.9.3) WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: ✔ ### Server Environment ### Server Info: Apache PHP Version: 7.3.33 PHP Post Max Size: 8 MB PHP Time Limit: 600 PHP Max Input Vars: 1000 cURL Version: 7.81.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.37-log Max Upload Size: 2 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 5.4.1 WC Database Prefix: aut_ Total Database Size: 84.04MB Database Data Size: 62.30MB Database Index Size: 21.74MB aut_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB aut_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB aut_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB aut_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB aut_woocommerce_order_itemmeta: Data: 0.31MB + Index: 0.23MB + Engine InnoDB aut_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB aut_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB aut_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB aut_actionscheduler_actions: Data: 1.02MB + Index: 0.41MB + Engine InnoDB aut_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB aut_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB aut_actionscheduler_logs: Data: 1.52MB + Index: 0.73MB + Engine InnoDB aut_ac_segments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM aut_admin_columns: Data: 0.01MB + Index: 0.00MB + Engine MyISAM aut_brizy_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_comments: Data: 0.11MB + Index: 0.09MB + Engine InnoDB aut_ee_products_sync_list: Data: 0.00MB + Index: 0.00MB + Engine MyISAM aut_ee_product_sync_call: Data: 0.00MB + Index: 0.00MB + Engine MyISAM aut_ee_product_sync_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM aut_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB aut_newsletter: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_newsletter_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_newsletter_sent: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_newsletter_stats: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_newsletter_user_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB aut_nextend2_section_storage: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_nextend2_smartslider3_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_nextend2_smartslider3_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_options: Data: 31.53MB + Index: 15.13MB + Engine InnoDB aut_postmeta: Data: 16.52MB + Index: 3.03MB + Engine InnoDB aut_posts: Data: 7.52MB + Index: 0.47MB + Engine InnoDB aut_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB aut_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_revslider_sliders: Data: 0.06MB + Index: 0.00MB + Engine InnoDB aut_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_revslider_slides: Data: 0.14MB + Index: 0.00MB + Engine InnoDB aut_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_slp_extendo_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB aut_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM aut_store_locator: Data: 0.02MB + Index: 0.05MB + Engine InnoDB aut_termmeta: Data: 0.14MB + Index: 0.09MB + Engine InnoDB aut_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB aut_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB aut_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB aut_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB aut_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB aut_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB aut_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB aut_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM aut_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB aut_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB aut_wpgmza: Data: 0.00MB + Index: 0.00MB + Engine MyISAM aut_wpgmza_circles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_wpgmza_maps: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_wpgmza_nominatim_geocode_cache: Data: 0.14MB + Index: 0.00MB + Engine InnoDB aut_wpgmza_polygon: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_wpgmza_polylines: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_wpgmza_rectangles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB aut_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB aut_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB aut_yoast_indexable: Data: 0.57MB + Index: 0.16MB + Engine MyISAM aut_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.06MB + Engine MyISAM aut_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM aut_yoast_primary_term: Data: 0.00MB + Index: 0.01MB + Engine MyISAM aut_yoast_seo_links: Data: 0.05MB + Index: 0.03MB + Engine InnoDB aut_yoast_seo_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf-field: 38 acf-field-group: 7 attachment: 727 brizy-project: 1 custom_css: 1 diy_guide: 21 elementor_font: 2 elementor_icons: 1 elementor_library: 27 faq: 105 ml-slider: 1 nav_menu_item: 16 oembed_cache: 7 page: 18 post: 1 product: 72 product_variation: 85 revision: 1137 sa_slider: 1 shop_coupon: 2 shop_order: 301 shop_order_refund: 7 slick_slider: 1 vc_grid_item: 1 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (27) ### Admin Columns Pro - WooCommerce: by AdminColumns.com – 3.5.10 Admin Columns Pro: by AdminColumns.com – 5.5.3 Advanced Custom Fields PRO: by Elliot Condon – 5.8.7 Advanced noCaptcha & invisible Captcha: by Shamim Hasan – 6.1.5 Contact Form 7: by Takayuki Miyoshi – 5.4.2 Custom Post Type UI: by WebDevStudios – 1.9.2 Custom Post Type Widgets: by thingsym – 1.4.0 Google Tag Manager for WordPress: by Thomas Geiger – 1.13.1 Enhanced E-commerce for Woocommerce store: by Tatvic – 4.1.3 Facebook for WooCommerce: by Facebook – 2.6.5 Flexible Shipping: by WP Desk – 4.0.7 Insert Headers and Footers: by WPBeginner – 1.6.0 WPBakery Page Builder: by Michael M - WPBakery.com – 6.2.0 JWS Plugins: by jwsthemes – 1.0.0 Staff Admin Order Mail: by Myke Solidum – 1.0 Really Simple SSL: by Really Simple Plugins – 5.1.0 Slider Revolution: by ThemePunch – 6.2.10 W3 Total Cache: by BoldGrid – 2.2.1 WebP Converter for Media: by Mateusz Gbiorczyk – 4.2.4 WooCommerce Stripe Gateway: by WooCommerce – 5.2.3 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.3 WooCommerce: by Automattic – 5.3.3 (update to version 6.4.1 is available) Yoast SEO: by Team Yoast – 17.1 Spam Protect for Contact Form 7: by New York Software Lab – 1.0.5 WP Google Maps: by WP Google Maps – 8.1.15 Smush: by WPMU DEV – 3.9.0 YITH WooCommerce Zoom Magnifier: by YITH – 1.3.30 ### Inactive Plugins (7) ### Brizy: by Brizy.io – 2.3.16 Newsletter: by Stefano Lissa & The Newsletter Team – 7.2.7 Unyson: by ThemeFuse – 2.7.24 WOOCS - WooCommerce Currency Switcher: by realmag777 – 2.3.1 YITH WooCommerce Compare: by YITH – 2.6.0 YITH WooCommerce Quick View: by YITH – 1.7.0 YITH WooCommerce Wishlist: by YITH – 3.1.0 ### Dropin Plugins (4) ### advanced-cache.php: advanced-cache.php db.php: db.php maintenance.php: maintenance.php object-cache.php: object-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: SGD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #1888 - /shop/ Cart: #1843 - /cart/ Checkout: #1844 - /checkout/ My account: #1845 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Cayto Child Version: 3.0.5 Author URL: http://themeforest.net/user/jwsthemes Child Theme: ✔ Parent Theme Name: Cayto Parent Theme Version: 3.0.5 Parent Theme Author URL: http://themeforest.net/user/jwsthemes WooCommerce Support: ✔ ### Templates ### Archive Template: Your theme has a woocommerce.php file you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: cayto-child/woocommerce/archive-product.php cayto-child/woocommerce/cart/cart-shipping.php cayto-child/woocommerce/cart/cart-totals.php cayto-child/woocommerce/cart/cart.php version - is out of date. The core version is 3.8.0 cayto-child/woocommerce/cart/mini-cart.php version - is out of date. The core version is 5.2.0 cayto-child/woocommerce/cart/proceed-to-checkout-button.php cayto-child/woocommerce/cart/shipping-calculator.php cayto-child/woocommerce/checkout/form-billing.php version - is out of date. The core version is 3.6.0 cayto-child/woocommerce/checkout/form-checkout.php version - is out of date. The core version is 3.5.0 cayto-child/woocommerce/checkout/form-shipping.php version - is out of date. The core version is 3.6.0 cayto-child/woocommerce/checkout/review-order.php version 3.3.0 is out of date. The core version is 5.2.0 cayto-child/woocommerce/checkout/thankyou.php version 3.3.0 is out of date. The core version is 3.7.0 cayto-child/woocommerce/content-product.php version - is out of date. The core version is 3.6.0 cayto-child/woocommerce/content-single-product.php version - is out of date. The core version is 3.6.0 cayto-child/woocommerce/emails/admin-new-order.php cayto-child/woocommerce/emails/customer-processing-order.php cayto-child/woocommerce/emails/email-addresses.php cayto-child/woocommerce/emails/email-header.php cayto-child/woocommerce/emails/email-order-details.php cayto-child/woocommerce/emails/email-order-items.php cayto-child/woocommerce/emails/email-styles.php cayto-child/woocommerce/global/breadcrumb.php cayto-child/woocommerce/global/quantity-input.php version - is out of date. The core version is 4.0.0 cayto-child/woocommerce/loop/add-to-cart.php cayto-child/woocommerce/loop/loop-end.php cayto-child/woocommerce/loop/loop-start.php cayto-child/woocommerce/loop/orderby.php version - is out of date. The core version is 3.6.0 cayto-child/woocommerce/loop/pagination.php cayto-child/woocommerce/loop/price.php cayto-child/woocommerce/loop/rating.php version - is out of date. The core version is 3.6.0 cayto-child/woocommerce/loop/sale-flash.php cayto-child/woocommerce/order/order-details.php version 3.7.0 is out of date. The core version is 4.6.0 cayto-child/woocommerce/single-product/add-to-cart/external.php cayto-child/woocommerce/single-product/add-to-cart/grouped.php version 3.4.0 is out of date. The core version is 4.8.0 cayto-child/woocommerce/single-product/add-to-cart/simple.php cayto-child/woocommerce/single-product/add-to-cart/variable.php version - is out of date. The core version is 3.5.5 cayto-child/woocommerce/single-product/add-to-cart/variation.php cayto-child/woocommerce/single-product/meta.php cayto-child/woocommerce/single-product/price.php cayto-child/woocommerce/single-product/product-thumbnails.php version - is out of date. The core version is 3.5.1 cayto-child/woocommerce/single-product/rating.php version - is out of date. The core version is 3.6.0 cayto-child/woocommerce/single-product/related.php version 3.0.0 is out of date. The core version is 3.9.0 cayto-child/woocommerce/single-product/review.php cayto-child/woocommerce/single-product/share.php version - is out of date. The core version is 3.5.0 cayto-child/woocommerce/single-product/tabs/additional-information.php cayto-child/woocommerce/single-product/tabs/description.php cayto-child/woocommerce/single-product/tabs/tabs.php version 2.4.0 is out of date. The core version is 3.8.0 cayto-child/woocommerce/single-product/title.php cayto-child/woocommerce/single-product/up-sells.php cayto-child/woocommerce/single-product.php cayto-child/woocommerce/content-product_cat.php version 2.6.1 is out of date. The core version is 4.7.0 cayto-child/taxonomy-product_cat.php version - is out of date. The core version is 4.7.0 Outdated Templates: ❌ Learn how to update ### Action Scheduler ### Complete: 870 Oldest: 2022-03-26 09:34:26 +0000 Newest: 2022-04-26 08:34:08 +0000 Failed: 24 Oldest: 2020-09-25 09:51:13 +0000 Newest: 2021-12-27 05:28:11 +0000 Pending: 1 Oldest: 2022-04-26 20:44:48 +0000 Newest: 2022-04-26 20:44:48 +0000 ### Status report information ### Generated at: 2022-04-26 08:55:14 +00:00We’re using stripe. So it could really affect the payment gateways? I’ll check on the snippets.
Hello,
Billing address is used for verification check, which reduces fraud rates. For more information, you can check out Stripe’s documentation on card verification checks here: https://stripe.com/docs/disputes/prevention/verification
hi @maykato
Thank you for this. It’s very helpful.
You’re welcome!
I’m marking this thread as resolved.
Feel free to create another topic if you have any other questions.
The topic ‘Remove Billing Fields on Checkout’ is closed to new replies.