• Resolved ebud

    (@ebud)


    We recently moved to PayPal Payments and have it installed and working, but we are not getting any of the customer details passed to PayPal. These fields are required on the Woocommerce side, but are not getting passed over. With our previous setup the email notifications we received from PayPal had the custom details; email, name, address…etc.

    Is this not possible with this version PayPal Payments:

    WP v5.8.3
    Woocommerce v5.8.0
    PayPal Payments v1.6.5

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @ebud,

    Are you selling virtual products?
    User address details are currently not transmitted to PayPal: https://github.com/woocommerce/woocommerce-paypal-payments/issues/282
    The easiest way to work around this behavior would be to uncheck the virtual checkbox in the product.
    If you are not selling virtual products, then we would be interested in your plugin log files.
    The plugin log files can be accessed from here:
    WooCommerce > Status > Logs > select “woocommerce-paypal-payments-[…]” in the dropdown and click on view.
    You can share it either here in the forums or privately with us from here:
    https://paypal.inpsyde.com/docs/request-support/
    If you send us a message from here, then please include a link to this thread.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter ebud

    (@ebud)

    Thanks for the response – we are not selling virtual goods ( virtual not checked ).

    I don’t see “woocommerce-paypal-payments” in the select box on the log page – Looks like logging was not enabled. I have now checked the box and will cycle back once I get some data.

    This may be related. My client upgraded to this version of the plugin in December 2021, and since then fields have been randomly missing from the data sent to Paypal. Orders do seem to go through OK, though there have been random reports of failures too.

    This is an example from yesterday (x’s replace client identifying info) where the order items (3 of them) and the customer email were not sent to Paypal, though all are present in the WooCommerce email. It means the email the customer receives from Paypal is often devoid of identifying inforation, which is causing some frustration.

    2022-02-10T21:27:04+00:00 DEBUG PATCH https://api.paypal.com/v2/checkout/orders/XXXXXXXXXXXXXXXXXXXX
    Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"USD","value":"26.91"},"description":"","payee":{"merchant_id":"XXXXXXXXX"},"shipping":{"name":{"full_name":"Ann Daaga"},"address":{"country_code":"US","address_line_1":"XXX Ct","address_line_2":"","admin_area_1":"WA","admin_area_2":"Redmond","postal_code":"XXXXX"}},"custom_id":"8953","invoice_id":"WC-8953"},"path":"\/purchase_units\/@reference_id=='default'"}]
    Response Debug ID: b0c0f9773b071
    Response: Array
    (
        [code] => 204
        [message] => No Content
    )

    I am prepared to instrument the plugin code if that would help figure this out.

    Thread Starter ebud

    (@ebud)

    I have some logs now and I can see the shipping address in there along with the order details, I don’t see the email address though? All that shows up paypal is the products details, price…etc.

    I have the same issue. WooCommerce is only passing the customer’s name to PayPal for “Virtual Products”. It should also populate their email address in PayPal. For products that I ship, it is passing the shipping address but again it is not sharing the customer’s email address with PayPal. This is a problem. I cannot use the “Add tracking info” email generation tool in PayPal if the customer does not have an email address that was populated from WooCommerce. This tool sends the user an email confirmation and also confirms to PayPal that the item was shipped. The customer’s email address should be populated for both Virtual and Actual products from WooCommerce to PayPal. The old plugin, WooCommerce PayPal Checkout Gateway 2.1.3., did this flawlessly. What do I need to do? @niklasinpsyde

    WordPress 6.0.1
    WooCommerce PayPal Payments 1.9.1
    WooCommerce 6.7.0

    • This reply was modified 2 years, 3 months ago by autoupkeep.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Name, Email …etc. No getting passed to PayPal’ is closed to new replies.