Get rid of PayPal on update credit card link

How can I remove the PayPal option of of our update your credit card form? Please help?

I know on order forms that if you put the below into the footer HTML then it will hide the button:

< script> jQuery('.checkoutWithPayPalLink').hide(); < / script >

ignore the spaces i needed to get this to show

1 Like

<script>jQuery('.checkoutWithPayPalLink').hide();</script >

image

lol well there ya go :stuck_out_tongue_winking_eye: Thanks @martinc!

:grinning:

To suppress the (misleading) PayPal buttons in the Shopping Cart form, make this change to your Layout CSS:

.checkoutPaypalSmartPaymentButtons {
/* Container for the PayPal smart payment buttons */
margin: 0 30px 10px;
float: right;
clear: both;
display: none;      // make it disappear
}

This is important because my credit card customers may not want their card processed by PayPal.

Or you could:

as noted above ;)

Do you mean ā€œ<script>jQuery(ā€˜.checkoutWithPayPalLinkā€™).hide();</script >ā€? Does not work for me. Iā€™m using a basic, off-the-shelf Form, I didnā€™t develop it myself. I donā€™t have access to the HTML, the only thing they let me customize is the CSS.

When I copy the ā€œ<script>ā€¦ā€ in the Footer, it appears verbatim in the form, where the customer can see the raw command. And the PayPal buttons are still there.

My fault folks. I didnā€™t realize that this was hijacked to a completely unrelated topic. Itā€™s too confusing for someone to search for answers when a new topic is introduced into a thread (especially three years later), so Iā€™m turning of commenting for this thread.