• Resolved hellogerowsky

    (@hellogerowsky)


    Hey there,

    I’ve got a problem with PayPal Express checkout via Braintree and hope you can help me with that:
    I noticed that customers that checkout with the PayPal Express button can complete the checkout (and get charged) but we don’t have any address information logged – not even the name.

    Fortunately we’ve got the E-Mail address and can ask the customer. However, it’s far from ideal.

    Any idea why this happens and how I can solve this?

    Another strange thing (maybe a hint?): On the cart page the PPE button works, but not on checkout.

    • This topic was modified 3 years, 2 months ago by hellogerowsky.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @hellogerowsky,

    When the order doesn’t contain any address info was it processed via the cart page or checkout page?

    WooCommerce should stop any order from processing if address info is missing because it’s required by default. That makes me suspect something is removing the address data after.

    If you checkout the PayPal transaction in the Braintree console, is there address data associated with the transaction? You can find a direct link to the transaction via the Order Details page in the WordPress Admin.

    Kind Regards,

    Thread Starter hellogerowsky

    (@hellogerowsky)

    I guess it was processed in the cart, as the link didn’t work in the checkout.

    In the PayPal transation in Braintree there’s also no address data, not even a name. It just says “Street Address not applicable (A). Postal Code not applicable (A).”

    Any ideas what could be going on?

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @hellogerowsky

    It sounds like you were looking at the transaction verification section. If you scroll down toward the bottom of the transaction page within Braintree it should show the billing address if I’m not mistaken.

    I’ll provide a screenshot as an example here shortly.

    Kind regards

    Thread Starter hellogerowsky

    (@hellogerowsky)

    You’re correct – I was looking at the wrong area. Further down the page I can find the name, but still: no address. In the other orders (that were not processed with express checkout) is an additional address section.

    • This reply was modified 3 years, 2 months ago by hellogerowsky.
    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @hellogerowsky,

    WooCommerce has code in place that prevents an order from processing if the billing fields (and shipping fields if applicable) are not populated. So, the order should never have been created based on those validations, but it was.

    That tells me the address info was there when the checkout process was initiated but somehow between when the WC validations occur and the Braintree plugin processes the payment the order’s address info was wiped.

    If you go to the Order details page for one of these orders is there no address info there? I’d take a look at the plugins you have installed and see if one of them could be removing this address data.

    Thread Starter hellogerowsky

    (@hellogerowsky)

    You were right! A plugin was the culprit:
    “Checkout Field Editor and Manager for WooCommerce”

    I’ll write it into their support and use another plugin in the meantime.
    Thank you very much for helping me fixing this!

    However, there’s still a problem remaining:
    The PP Express button on the checkout page doesn’t work. It appears, but nothing happens if I click it. Any idea?

    Plugin Author Payment Plugins

    (@mrclayton)

    However, there’s still a problem remaining:
    The PP Express button on the checkout page doesn’t work. It appears, but nothing happens if I click it. Any idea?

    That’s very odd, the click event for the Express button is not being triggered which I have not seen before. Is there anything special about your checkout page? For example, is it built using a templating solution? If not what theme are you using?

    Kind Regards,

    Plugin Author Payment Plugins

    (@mrclayton)

    After reviewing further the cause of the Express button issue has been identified. You have the following CSS on your site:

    li.wc-braintree-banner-gateway div {
        margin: 5px 5px;
        min-width: 240px;
        max-width: 240px !important;
        padding: 0;
        height: 40px;
        cursor: pointer;
        overflow: hidden;
    }

    Which is targeting the following element and make it overlap the button:

    <div id="smart-menu" class="smart-menu"></div>.

    I would add the following CSS to your site or make your CSS selector li.wc-braintree-banner-gateway div more specific.

    .wc-braintree-paypal-top-container .smart-menu {
       display: none;
    }

    That should resolve it.

    Kind Regards,

    Thread Starter hellogerowsky

    (@hellogerowsky)

    Hey,

    thanks for your help!
    It was indeed a CSS bug, though not the one you pointed out:

    The PayPal button apparently doesn’t like to have a height.

    I removed the height-attribute in “li.wc-braintree-banner-gateway div” and now it works like a charm. Don’t know why, though ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PayPal Express Checkout > empty name and address?’ is closed to new replies.