• Resolved shanrocks666

    (@shanrocks666)


    Hi,

    I am having trouble to disable Billing Address validation checkout Page when customer selects Paypal Express checkout.

    I have use below code which I found in documentation page and thought Paypal Express checkout in checkout page will not validate the billing address and will work just like paypal checkout in cart page , but it is still validating.

    add_filter(‘woocommerce_paypal_express_checkout_address_not_required’, ‘__return_true’ );

    Could you please check what is i am doing wrong

    Thanks

    • This topic was modified 3 years, 10 months ago by shanrocks666.
Viewing 3 replies - 1 through 3 (of 3 total)
  • melinda a11n

    (@melindahelt)

    Automattic Happiness Engineer

    Hi there!

    Can you let us know exactly how you added the code?

    Thread Starter shanrocks666

    (@shanrocks666)

    Hi,

    I have added via child theme function.php file.

    Thanks

    Hi there.

    So, there is a very specific set of circumstances that this filter is intended to work under, however, I’m not sure that any of those circumstances actually would show any address fields anyhow. The filter is not intended to be a workaround for addresses that won’t validate. What troubleshooting steps have you taken to determine the actual cause of the validation failures?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Disable Billing Address validation checkout Page with Paypal Express’ is closed to new replies.