Missing details
-
We have just received an order with no email or billing address added to woocommerce orders.
Customer has paid with paypal using your plugin.Why do you think this may have happened?
-
Hello @shahican,
Thank you for reaching out.This behavior occurs because PayPal does not return the billing address in the API response during checkout. As a result, WooCommerce cannot automatically populate the billing fields for the order.
To resolve this, you can add a small snippet to your theme’s
functions.phpfile, which will copy the shipping address to the billing address if it’s missing:
👉 View the code snippetFeel free to reach out if you need help implementing this or have any further questions.
Best regards,
Hi, thanks for getting back.
The reason why I was concerned is that I have been using paypal plugins for many years and this has never happened with the other paypal plugin.
So how to resolve the email address? There is also no email address showing from customer. This would mean that non of the automated order emails will go to customer.
Hello @shahican,
Thank you for your follow-up, and I appreciate you pointing this out.
You’re absolutely right — the customer’s email address should be returned by PayPal and automatically populated in the billing details of the order. This is essential for ensuring order confirmation emails are sent correctly.
This is the first report we’ve received regarding the email address not being added to the billing details, so I’d like to investigate the issue further. I will troubleshoot this in detail and, if I find that the issue originates from our plugin, I’ll correct it as soon as possible and provide an update.
Thank you for your patience, and I’ll keep you informed of any findings.
Best regards
Hi, that would be great if you can kindly keep me updated.
Hi @shahican,
Absolutely — I’ll make sure to keep you updated as I continue investigating the issue. I’ve already started reviewing the flow, and I’ll let you know as soon as I have any findings or a confirmed fix.
Thank you again for your cooperation and patience!
Best regards
Same problem here, nothing in the billing adresse,
customer information only in shiping adresse
My temporary fix
add_action('woocommerce_checkout_create_order', function($order, $data) {
if (empty($order->get_billing_email())) {
$order->set_billing_email($order->get_shipping_email());
$order->set_billing_first_name($order->get_shipping_first_name());
$order->set_billing_last_name($order->get_shipping_last_name());
$order->set_billing_address_1($order->get_shipping_address_1());
$order->set_billing_address_2($order->get_shipping_address_2());
$order->set_billing_city($order->get_shipping_city());
$order->set_billing_postcode($order->get_shipping_postcode());
$order->set_billing_country($order->get_shipping_country());
$order->set_billing_state($order->get_shipping_state());
$order->set_billing_phone($order->get_shipping_phone());
}
}, 10, 2);Hello @shahican and @chemist75
We’ve resolved the issue.Until the next official release is available, you can download the fixed version from the following link: Download Link.
Thank you for your patience and understanding.Best regards
Hi, thanks for getting back.
currently using: Version 9.0.29
The issue with missing billing details still exist. (although customer email has captured).
Hello @shahican,
Thank you for sharing the additional information. It’s working fine for me, so I’m checking different use cases to identify the issue. I’m actively working on it and will keep you updated as soon as I have more insights or a potential solution.
I really appreciate your patience.
Best regardsHello @shahican @chemist75,
We’ve resolved the issue.
Until the next official release is available, you can download the fixed version from the following link: Download Link.
Thank you for your patience and understanding.
Best regards
-
This reply was modified 1 year ago by
Jignesh.
Hello @shahican,
We’ve released the new version (9.0.30), and it includes the fix.
Thank you for your patience.
Best regardsHello @shahican,
Have you had a chance to update to the latest version? We’d love to know if everything is now working as expected.
If you’re still experiencing any issues or need further assistance, please don’t hesitate to reach out — we’re here to help.
Looking forward to hearing from you.
Best RegardsHello @shahican,
Since we haven’t received a response recently, we’ll assume your issue has been resolved and will close this ticket for now.
If you still need assistance or run into any other issues, please don’t hesitate to open a new support ticket — we’re always here and happy to help!
Best Regards -
This reply was modified 1 year ago by
The topic ‘Missing details’ is closed to new replies.