• Resolved R-Jay Artates

    (@devrjay)


    Hi. I am developing a Woocommerce website and I added paypal and stripe as my payment gateway. So, I wanted to remove or just hide the “Debit or Credit Card” button in the paypal payments. Already tried hiding it using the CSS elements but I’m not successful with it. Here is the code I am trying to work with.

    .paypal-button-row.paypal-button-number-1.paypal-button-layout-vertical.paypal-button-shape-rect.paypal-button-number-multiple.paypal-button-env-sandbox.paypal-button-color-black.paypal-button-text-color-white.paypal-logo-color-white{
    display: none!important;
    }

    Second code I tried but still no luck

    .paypal-button.paypal-button-color-black, .paypal-button-row.paypal-button-color-black .menu-button{
        display: none!important;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @devrjay,

    Custom code is not needed to hide the credit card smart button. Any additional funding source can be disabled through the Disable funding sources setting.
    Alternatively, enabling the PayPal Card Processing will result in the regular black credit card smart button being hidden in favor of a separate gateway without a PayPal branding, exclusively for credit cards: https://woocommerce.com/document/woocommerce-paypal-payments/#section-8 This feature works similarly to how Stripe provides credit card payments in the checkout.

    Kind regards,
    Niklas

    Thread Starter R-Jay Artates

    (@devrjay)

    Hello @niklasinpsyde

    Already saw the Disable funding sources. Thanks for the assist!

    Kind regards,

    R-Jay

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable/Hide Debit or Credit Card Button’ is closed to new replies.