Billing and Shipping Addresses Not Correctly Added to WooCommerce Order
-
Hello! I added PayPal Smart Buttons to the mini-cart to allow users to place orders directly from the mini-cart. Unfortunately, after an order is created, I’m experiencing several issues:
- Missing Billing Address:
https://monosnap.com/file/qAAGdyZu9E7tIdiCVdEX8kQ7dFZjxO
https://monosnap.com/file/ok0wNFfdEq4vKMJiB4T7JdYqT2GJGb
The billing address is missing from the order details. The shipping address contains the billing information I added during PayPal checkout.
I logged data from theconfigure_addresses
function inwp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Helper/WooCommerceOrderCreator.php
after order creation. The$billing_address
data is mostly empty, and the billing information entered is appearing in$shipping_address
. This issue occurs even when users enter different billing and shipping addresses. If the same address is used for both, the billing address remains empty. - Missing Phone Number:
https://monosnap.com/file/yzm4FjXmKOP5OUghQBsIIQVzRGdbb0
The phone number provided during checkout is not captured or stored with the order. - Shipping Methods and Tax Issue:
https://monosnap.com/file/OSSu6D8QZik3hXsGOZMcGS4SrX5bf5
https://monosnap.com/file/LbRfR421fThoeU79r7URx9etBmwxSb
There’s a problem with the shipping methods within PayPal checkout—the shipping price is displayed without taxes.
- Missing Billing Address:
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.