# Selectively remove paypal option from and order form

**URL:** <https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048>\
**Category:** Max Classic\
**Tags:** custom-code\
**Created:** [August 1, 2017, 12:44am UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048 "2017-08-01T00:44:43Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jennifer\_Busick](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@Jennifer\_Busick](https://integration.keap.com/u/Jennifer_Busick)\
**Post date:** [August 1, 2017, 12:44am UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/1 "2017-08-01T00:44:43Z")

</div>

I found code to Selectively remove the paypal option from and order form. It removes it from the first section, but when I click pay with a credit card, it takes me to the page to input billing information and at the bottom presents the option to pay with paypal. Here is the code below. Does anyone know what I can do to remove the pay with pay instead as well.

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [August 1, 2017, 5:31am UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/2 "2017-08-01T05:31:39Z")

</div>

shopping cart or order form…your code is not displaying as well

---

<div class="post-metadata">

**Author:** ![Jennifer\_Busick](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@Jennifer\_Busick](https://integration.keap.com/u/Jennifer_Busick)\
**Post date:** [August 1, 2017, 2:40pm UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/3 "2017-08-01T14:40:13Z")

</div>

This is for the order form. I was told to place the snipper in the Header  
HTML area. It removed the paypal button from the first page of the order  
form, but when you click to pay with Credit Card, the billing info page has  
linked texted that says pay with paypal instead. I was wondering how to  
remove that.

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [August 1, 2017, 9:13pm UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/4 "2017-08-01T21:13:29Z")

</div>

Can you just uncheck the paypal option in payment types?

---

<div class="post-metadata">

**Author:** ![Jennifer\_Busick](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@Jennifer\_Busick](https://integration.keap.com/u/Jennifer_Busick)\
**Post date:** [August 1, 2017, 9:28pm UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/5 "2017-08-01T21:28:01Z")

</div>

Yes, but there are some products I want the option there for and other I do  
not. If I turn it off in the payment options, it goes off all my order  
forms.

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [August 2, 2017, 2:03am UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/6 "2017-08-02T02:03:17Z")

</div>

The pay with cc page for us comes up with a pay with paypal instead link but not a button…looks like this:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/infusionsoft1/original/2X/f/f9eb494a3fe7b0ab97741ee1408865c815bf8cb2.png)

Is this not what you are seeing?

---

<div class="post-metadata">

**Author:** ![Jennifer\_Busick](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@Jennifer\_Busick](https://integration.keap.com/u/Jennifer_Busick)\
**Post date:** [August 2, 2017, 4:56pm UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/7 "2017-08-02T16:56:41Z")

</div>

Yes, I can not get it off that page.

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [August 2, 2017, 5:09pm UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/8 "2017-08-02T17:09:25Z")

</div>

Insert the following into the html footer section:

```
<script>
     document.getElementById("checkoutWithPayPalLink").style.visibility="hidden";
</script>

```

---

<div class="post-metadata">

**Author:** ![Jennifer\_Busick](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@Jennifer\_Busick](https://integration.keap.com/u/Jennifer_Busick)\
**Post date:** [August 2, 2017, 5:37pm UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/9 "2017-08-02T17:37:07Z")

</div>

Thank you for trying to help me out. Unfortunately, that did not work for  
me.

Jen

---

<div class="post-metadata">

**Author:** ![Hugh\_Culver](https://avatars.discourse-cdn.com/v4/letter/h/4491bb/32.png) [@Hugh\_Culver](https://integration.keap.com/u/Hugh_Culver)\
**Post date:** [October 5, 2017, 11:20pm UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/10 "2017-10-05T23:20:41Z")

</div>

Did you end up figuring this out Jennifer? I am in the same boat.  
I ended up calling PayPal and having PayPal Express checkout removed from my account, so they cannot pay this way. Below the credit card info, it still says “check out with PayPal” but it is a dead link. I would still like this text removed.

---

<div class="post-metadata">

**Author:** ![Jody\_Samuels](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/jody_samuels/32/4410_2.png) [@Jody\_Samuels](https://integration.keap.com/u/Jody_Samuels)\
**Post date:** [October 8, 2018, 7:14pm UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/11 "2018-10-08T19:14:26Z")

</div>

Did you finally figure this out? I am having this issue now. Is there anyone in this community who can help?

---

<div class="post-metadata">

**Author:** ![martinc](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/martinc/32/14_2.png) [@martinc](https://integration.keap.com/u/martinc)\
**Post date:** [October 8, 2018, 8:47pm UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/12 "2018-10-08T20:47:44Z")

</div>

Can you link me to your form, @Jody_Samuels

---

<div class="post-metadata">

**Author:** ![Jody\_Samuels](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/jody_samuels/32/4410_2.png) [@Jody\_Samuels](https://integration.keap.com/u/Jody_Samuels)\
**Post date:** [October 8, 2018, 9:19pm UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/13 "2018-10-08T21:19:20Z")

</div>

Not sure how to do that. Here is my form:

[https://bs326.infusionsoft.app/app/orderForms/EWD–premium-monthly?cookieUUID=ffe1fde3-31bc-4acf-8a98-71897819f15d](https://bs326.infusionsoft.app/app/orderForms/EWD--premium-monthly?cookieUUID=ffe1fde3-31bc-4acf-8a98-71897819f15d)

![Jody Sig2](https://us1.discourse-cdn.com/flex019/uploads/infusionsoft1/original/2X/5/5e2333624087c18d33d2b27cf19458f5198bb14a.png)

---

<div class="post-metadata">

**Author:** ![martinc](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/martinc/32/14_2.png) [@martinc](https://integration.keap.com/u/martinc)\
**Post date:** [October 8, 2018, 10:39pm UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/14 "2018-10-08T22:39:31Z")

</div>

Just add this to any of the HTML Areas of the form.

```
<style>.switchPaymentSelectionLink {
    display: none;
  }</style>

```

---

<div class="post-metadata">

**Author:** ![Jody\_Samuels](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/jody_samuels/32/4410_2.png) [@Jody\_Samuels](https://integration.keap.com/u/Jody_Samuels)\
**Post date:** [October 9, 2018, 12:18am UTC](https://integration.keap.com/t/selectively-remove-paypal-option-from-and-order-form/8048/15 "2018-10-09T00:18:29Z")

</div>

Thank you

![Jody Sig2](https://us1.discourse-cdn.com/flex019/uploads/infusionsoft1/original/2X/5/5e2333624087c18d33d2b27cf19458f5198bb14a.png)
