Support » Plugin: WooCommerce PayPal Checkout Payment Gateway » Orders created with incorrect billing address and shipping name

  • Resolved Jacob Peattie



    We’re experiencing an issue with this plugin where orders are being created with incorrect details. Some customers have placed orders where they were shipping to a another person at a different address, however the orders that are created use the shipping address for the billing and shipping address, except for the name, which is set to the billing name for both addresses.

    I can see from the log that the plugin sends the correct SHIPTONAME to PayPal, then fires GetExpressCheckoutDetails, which returns a response from PayPal with the correct SHIPTONAME, but then the plugin creates the order and sends the next request to PayPal with an incorrect PAYMENTREQUEST_0_SHIPTONAME.

    So even though PayPal is using the correct details when first processing the order, the plugin is creating the order with incorrect details which it then sends to PayPal.

    I have not heard any reports of similar issues with the other available gateways (Afterpay and Direct Deposit).

    Any help would be much appreciated, and I can send logs if required.

    Jacob Peattie

Viewing 1 replies (of 1 total)
  • Plugin Support John Coy


    Automattic Happiness Engineer

    Hi @jakept

    Thanks for reaching out! PayPal Checkout uses the form data from the checkout page to create the order. I tested this on my site and it appears to work as expected.

    Typically issues like this are caused by a theme or plugin conflict. If the active theme has template overrides applied to the checkout process this could be a good place to start.

    Assuming everything is up to date, try switching back to a default theme like Twenty Nineteen and disable all plugins except for WooCommerce and PayPal Checkout to see if this resolves the issue. If so, then re-enable each one at a time until you find the one that’s causing the conflict.

    Thanks again,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.