Billing Address is empty on checkout page
-
Hello!
I am having problems with the review/checkout page when using Paypal Express Checkout. After returning from the Paypal interface, the billing address on the checkout page is empty and if I open the optional shipping address (hidden by the woocommerce optional shipping checkbox), the address which was entered in paypal, has been copied there.Is there a way of entering the address from paypal in the billing fields and not the shipping fields? I have successfully copied the content to the billing fields manually, but was not able to delete the shipping address content. At the moment, if the customer changes the address for billing and has the optional shipping address disabled, the shipping address is still saved in the order, which would lead to packages being sent to the wrong address. This is a serious problem.
I hope you can help me. Thank you in advance!
Kind regards,
Antonia
-
Hey there @antonials,
I am having problems with the review/checkout page when using Paypal Express Checkout. After returning from the Paypal interface, the billing address on the checkout page is empty and if I open the optional shipping address (hidden by the woocommerce optional shipping checkbox), the address which was entered in paypal, has been copied there.
This issue seems like a conflict. Could you check if there a conflict coming from another plugin or theme on your site? Instructions on how to test for conflicts is here.
If the issue persists even after a conflict test, 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.
Hope that helps.
Hello!
I was able to find the Plugin that prevents the billing address from being filled on the checkout / review page: German Market from Marketpress
Do you know of this incompatibility?Regardless, the shipping address is still being filled and saved in the order, even if the optional checkbox is not checked. Therefore, if I change the billing address and don’t look at the hidden shipping address, both are saved in the order and packages would be sent to the wrong address.
My theory, without looking through the code in detail, is that since the order is already saved in woocommerce (with status waiting for payment), on returning from paypal, the shipping address from paypal is already saved in the order. After placing the order, the shipping address doesn’t get overwritten by the billing address, even though the optional shipping address checkbox is not checked. Therefore, even if the billing address is changed in the checkout, the shipping address doesn’t get updated again, although it should.
I have tested this behaviour with other payment methods, to see if it is a woocommerce problem, but if the optional shipping address checkbox is not checked, woocommerce saves the billing address as the shipping address, as expected.
Here is the System Status Report:
### WordPress Environment ### WordPress address (URL): https://staging.fraeuleinhuebsch.com Site address (URL): https://staging.fraeuleinhuebsch.com WC Version: 5.4.1 REST API Version: ? 5.4.1 WC Blocks Version: ? 5.1.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 2.3.1 Log Directory Writable: ? WP Version: 5.7.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: de_DE External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.18 PHP Post Max Size: 50 MB PHP Time Limit: 600 PHP Max Input Vars: 5000 cURL Version: 7.52.1 OpenSSL/1.0.2t SUHOSIN Installed: – MySQL Version: 5.5.5-10.1.41-MariaDB-0+deb9u1 Max Upload Size: 50 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: wp_ Datenbank-Gesamtgr??e: 326.43MB Datenbank-Datengr??e: 265.89MB Datenbank-Indexgr??e: 60.54MB wp_woocommerce_sessions: Daten: 0.09MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Daten: 0.48MB + Index: 0.28MB + Engine InnoDB wp_woocommerce_order_itemmeta: Daten: 9.52MB + Index: 5.03MB + Engine InnoDB wp_woocommerce_tax_rates: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Daten: 0.22MB + Index: 0.22MB + Engine InnoDB wp_actionscheduler_claims: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Daten: 0.20MB + Index: 0.14MB + Engine InnoDB wp_adtribes_my_conversions: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_borlabs_cookie_consent_log: Daten: 20.55MB + Index: 5.52MB + Engine InnoDB wp_borlabs_cookie_content_blocker: Daten: 0.06MB + Index: 0.02MB + Engine InnoDB wp_borlabs_cookie_cookies: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_borlabs_cookie_groups: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_borlabs_cookie_script_blocker: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Daten: 2.52MB + Index: 1.25MB + Engine InnoDB wp_gla_budget_recommendations: Daten: 0.22MB + Index: 0.14MB + Engine InnoDB wp_gla_shipping_rates: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gla_shipping_times: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_content_status: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_core_status: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_flags: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_languages: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_icl_languages_translations: Daten: 0.20MB + Index: 0.17MB + Engine InnoDB wp_icl_locale_map: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_message_status: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_icl_mo_files_domains: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_node: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_reminders: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_strings: Daten: 2.52MB + Index: 6.61MB + Engine InnoDB wp_icl_string_batches: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_string_packages: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_string_pages: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_icl_string_positions: Daten: 0.23MB + Index: 0.08MB + Engine InnoDB wp_icl_string_status: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_string_translations: Daten: 1.52MB + Index: 0.42MB + Engine InnoDB wp_icl_string_urls: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_translate: Daten: 11.52MB + Index: 0.45MB + Engine InnoDB wp_icl_translate_job: Daten: 0.09MB + Index: 0.05MB + Engine InnoDB wp_icl_translations: Daten: 0.31MB + Index: 0.81MB + Engine InnoDB wp_icl_translation_batches: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_translation_downloads: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_translation_status: Daten: 17.52MB + Index: 0.08MB + Engine InnoDB wp_links: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Daten: 4.28MB + Index: 0.19MB + Engine InnoDB wp_pimwick_gift_card: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_pimwick_gift_card_activity: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_postmeta: Daten: 90.56MB + Index: 29.11MB + Engine InnoDB wp_posts: Daten: 5.41MB + Index: 1.17MB + Engine InnoDB wp_termmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Daten: 0.42MB + Index: 0.34MB + Engine InnoDB wp_term_taxonomy: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_taskmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Daten: 1.50MB + Index: 3.03MB + Engine InnoDB wp_users: Daten: 0.08MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Daten: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Daten: 0.17MB + Index: 0.14MB + Engine InnoDB wp_wc_download_log: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Daten: 0.38MB + Index: 0.39MB + Engine InnoDB wp_wc_order_stats: Daten: 0.22MB + Index: 0.25MB + Engine InnoDB wp_wc_order_tax_lookup: Daten: 0.14MB + Index: 0.19MB + Engine InnoDB wp_wc_product_meta_lookup: Daten: 0.16MB + Index: 0.34MB + Engine InnoDB wp_wc_reserved_stock: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wdr_order_discounts: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wdr_order_item_discounts: Daten: 0.11MB + Index: 0.00MB + Engine InnoDB wp_wdr_rules: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblockediplog: Daten: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Daten: 0.48MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Daten: 7.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Daten: 1.52MB + Index: 0.25MB + Engine InnoDB wp_wfhoover: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Daten: 3.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Daten: 0.41MB + Index: 0.14MB + Engine InnoDB wp_wfls_2fa_secrets: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Daten: 0.13MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Daten: 74.52MB + Index: 0.00MB + Engine InnoDB wp_wt_abandonment_coupon: Daten: 0.06MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Daten: 4.52MB + Index: 1.69MB + Engine InnoDB wp_yoast_indexable_hierarchy: Daten: 0.19MB + Index: 0.31MB + Engine InnoDB wp_yoast_migrations: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Daten: 0.09MB + Index: 0.09MB + Engine InnoDB wp_yoast_seo_links: Daten: 0.20MB + Index: 0.14MB + Engine InnoDB wp_yoast_seo_meta: Daten: 0.06MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 2303 customer_groups: 3 customize_changeset: 5 gift_card: 5 mc4wp-form: 2 nav_menu_item: 82 oembed_cache: 2 page: 47 post: 1 product: 1150 product_variation: 20 revision: 29 shop_coupon: 46 shop_order: 1771 shop_order_refund: 91 was: 56 woo_discount: 4 woo_discount_cart: 1 wpcf7_contact_form: 2 wpsl_stores: 138 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (30) ### WPML Multilingual CMS: von OnTheGoSystems – 4.4.10 B2B Market: von MarketPress – 1.0.7 Borlabs Cookie - Cookie Opt-in: von Benjamin A. Bornschein Borlabs – 2.2.25 Contact Form 7: von Takayuki Miyoshi – 5.4.1 Enable jQuery Migrate Helper: von Das Team von WordPress – 1.3.0 PayPal Express Checkout Payment Gateway for WooCommerce ( Basic ): von WebToffee – 1.5.8 LS Main: von LimeSoda – 0.3.4 MC4WP: Mailchimp for WordPress: von ibericode – 4.8.5 SVG Support: von Benbodhi – 2.3.18 Ultimate Blocks: von Ultimate Blocks – 2.4.7 UpdraftPlus – Sichern/Wiederherstellen: von UpdraftPlus.Com DavidAnderson – 1.16.56 User Role Editor Pro: von Vladimir Garagulia – 4.59.4 User Switching: von John Blackbourn und Mitwirkende – 1.5.7 Woo Discount Rules PRO 2.0: von Flycart – 2.3.7 Woo Discount Rules: von Flycart – 2.3.7 Product Feed PRO for WooCommerce: von AdTribes.io – 10.2.8 WooCommerce Advanced Shipping: von Jeroen Sormani – 1.0.14 WooCommerce Stripe-Gateway: von WooCommerce – 5.2.3 German Market: von MarketPress – 3.12 Product Image Zoom for WooCommerce: von wpbean – 1.04.6 WooCommerce Multilingual: von OnTheGoSystems – 4.11.5 WooCommerce: von Automattic – 5.4.1 Wordfence Security: von Wordfence – 7.5.4 Yoast SEO: von Team Yoast – 16.5 WP Mail Logging: von MailPoet – 1.9.7 WP Store Locator: von Tijmen Smit – 2.2.234 MailChimp for WordPress Multilingual: von OnTheGoSystems – 0.0.3 WPML Media: von OnTheGoSystems – 2.6.4 WPML String Translation: von OnTheGoSystems – 3.1.8 WPML Translation Management: von OnTheGoSystems – 2.10.6 ### Inactive Plugins (1) ### Google Listings and Ads: von WooCommerce – 1.0.0 ### Settings ### API Enabled: – Force SSL: ? Currency: EUR (€) Currency Position: right Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) gift-card (gift-card) grouped (grouped) pw gift card (pw-gift-card) 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-Basis: #10 - /shop/ Warenkorb: #1368 - /warenkorb/ Kasse: #12 - /checkout/ Mein Konto: #13 - /mein-konto/ Allgemeine Gesch?ftsbedingungen: #257 - /allgemeine_geschaeftsbedingungen/ ### Theme ### Name: www-fraeuleinhuebsch-com Version: 1.0.0 Author URL: https://www.limesoda.com Child Theme: ? Parent Theme Name: WordPress Theme Atomion Parent Theme Version: 1.3.3 Parent Theme Author URL: https://marketpress.de/ WooCommerce Support: ? ### Templates ### Overrides: atomion/woocommerce/archive-product.php atomion/woocommerce/cart/cart-shipping.php atomion/woocommerce/cart/cart.php atomion/woocommerce/cart/cross-sells.php atomion/woocommerce/cart/mini-cart.php atomion/woocommerce/checkout/review-order.php atomion/woocommerce/checkout/thankyou.php atomion/woocommerce/content-product.php atomion-child/woocommerce/emails/customer-completed-order.php atomion-child/woocommerce/emails/customer-new-account.php atomion-child/woocommerce/emails/customer-on-hold-order.php atomion-child/woocommerce/emails/customer-processing-order.php atomion-child/woocommerce/emails/customer-refunded-order.php atomion/woocommerce/global/breadcrumb.php atomion/woocommerce/global/wrapper-end.php atomion/woocommerce/global/wrapper-start.php atomion/woocommerce/loop/loop-start.php atomion-child/woocommerce/myaccount/dashboard.php Version 2.6.0 ist veraltet. Die Hauptversion ist 4.4.0 atomion/woocommerce/myaccount/form-edit-account.php atomion/woocommerce/myaccount/form-login.php atomion/woocommerce/myaccount/my-address.php atomion/woocommerce/myaccount/navigation.php atomion/woocommerce/myaccount/orders.php atomion/woocommerce/myaccount/view-order.php atomion/woocommerce/product-searchform.php atomion/woocommerce/single-product/meta.php atomion/woocommerce/single-product/product-attributes.php atomion/woocommerce/single-product/related.php atomion/woocommerce/single-product/review-meta.php atomion/woocommerce/single-product/review.php atomion/woocommerce/single-product/tabs/additional-information.php atomion/woocommerce/single-product/tabs/description.php atomion/woocommerce/single-product/tabs/tabs.php atomion/woocommerce/single-product/up-sells.php atomion/woocommerce/single-product-reviews.php Outdated Templates: ? Erfahre wie du aktualisieren kannst ### Action Scheduler ### Abgeschlossen: 746 Oldest: 2021-05-25 14:19:31 +0200 Newest: 2021-06-25 14:06:18 +0200 ### Status report information ### Generated at: 2021-06-25 14:18:35 +02:00
Hello @antonials,
I was able to find the Plugin that prevents the billing address from being filled on the checkout / review page: German Market from Marketpress
Since we didn’t develop this plugin we are unaware of any compatibility or incompatibility issue. I recommend reaching out to the plugin developer for further assistance regarding this.
f the optional shipping address checkbox is not checked, woocommerce saves the billing address as the shipping address, as expected.
This is indeed the default behavior of WooCommerce and customizing that would require a bit of additional coding.
If you do require help with the actual coding, we’d recommend hiring a developer or one of the customization experts listed at?https://woocommerce.com/customizations/.
Thanks!
Hello!
I am aware that this should be default behavior of WooCommerce. However when using your plugin and paypal express checkout this is not working. The shipping address gets saved even if the optional shipping address checkbox is deactivated. I have tried to explain this in detail in my previous message:
the shipping address is still being filled and saved in the order, even if the optional checkbox is not checked. Therefore, if I change the billing address and don’t look at the hidden shipping address, both are saved in the order and packages would be sent to the wrong address.
Could you please take another look at this. Thank you!
Hey again!
Is this the case while you have a default theme (like Storefront or TwentyTwentyOne ) and *no* other plugins other than WooCommerce and WooCommerce PayPal Checkout active?
Hello!
Yes I have just tested it again, with all plugins deactivated and Twenty Twenty Theme.Hi @antonials,
It looks like there’s some confusion in the thread. WooCommerce will always use the billing as the shipping address when a shipping address isn’t entered. So when a customer orders, leaving the Shipping Address unchecked, the address in PayPal will populate the Shipping Details fields in the order.
It’s best to always assume the 2 addresses are different, as they are different pieces of data. The real problem here seems to be this:
but was not able to delete the shipping address content
The address data in orders, both Billing and Shipping, can be edited independently by clicking the pencil icon:
Screenshot
https://d.pr/i/GLNqgOUpdate the order after editing these details and the data will be saved.
I hope this helps ??
Hello!
This does not explain the behavior on the review/checkout page after using the paypal express checkout. This is not default behavior, since when ordering without paypal, this does not happen. I will try to explain it again.When a user pays with express paypal and is returned to the review / checkout page, the user can edit both the billing and shipping address. By default the shipping address is not visible and if the optional shipping address checkbox is unchecked, woocommerce copies the billing address into the shipping address when the order is placed.
However, when using paypal express checkout, the shipping address is already saved in the order when being redirect to the checkout page. Therefore even if the optional shipping address checkbox is disabled and the billing address was edited in the checkout page, the shipping address, as forwarded from paypal, stays saved in the order. This behavior could lead to packages being sent to the wrong address, which is a serious problem.I hope I was able to explain the issue more clearly. Please look into this.
Kind regards,
AntoniaHi there,
According to the System Status Report you provided, you’re using
PayPal Express Checkout Payment Gateway for WooCommerce ( Basic ): by WebToffee – 1.5
Could you confirm that you’re using this payment method? The extension by WebToffee is actually supported here
Generally speaking though, what you describe is the correct behaviour for PayPal Checkout.
The workflow for this is described here: https://docs.woocommerce.com/document/paypal-express-checkout/#section-11
The customer can review the order, edit the shipping address, and make a shipping selection.
The best option is not to disable the shipping address, since this is often different from the billing address, and some customers may adjust this on reviewing the shipping charges.
Thanks for the reply! I have checked my site again and am really ?orry, as I seem to have installed the plugin by webtoffee. I am very sorry for the confusion!
Kind regards,
AntoniaHi, @antonials,
Thanks for keeping us informed and marking the thread resolved. Hope you get to the bottom of the issue soon.
- The topic ‘Billing Address is empty on checkout page’ is closed to new replies.