How can I hide the Credit Card option on Paypal Pro?

  • Profile Image
    jstrategy
    Asked on October 23, 2013 at 12:35 AM

    I want to use Paypal pro but I'm getting an error when processing credit cards. I've decided that I want to use Paypal pro so I can stay on the page but I want to hide the credit card option. Can you guys help me with that with CSS?

  • Profile Image
    khrisell
    Answered on October 23, 2013 at 02:09 AM

    Hello,

    May I know what is the error you are having when using Paypal pro? 

    Are you trying to hide this?

    I am afraid that is not possible even we inject CSS code as this will let you choose between paypal or creditcard upon payment and this will let you show the payment details field where they will input the Credit Card information.

    You can choose the option where you can hide some of the option for the credit card on the properties above.

    But Eliminating all of the option from the properties is not quite possible.

     

    Please let us know if you have further questions or inquiry so that we could help you.

    Sending us the error you are having could help us to sort what is causing it.

    Thank you.

  • Profile Image
    khrisell
    Answered on October 23, 2013 at 05:14 AM

    Hello,

    With regards to my response earlier, please disreagard that.

    Here's the CSS code to inject to hide the creditcard option.

    .form-address-table tbody:first-child > tr + tr td:first-child {

    display: none;

     

    }

    Follow this guide on how to inject this codes

    1. Click Setup & Embed

    2. Preference

    A new window will pop-up.

    3. Then click Form Styles

    4. And paste the code under Inject Code CSS box.

    And then close that window and you're done.

    You will now see that the credit card option will be hidden.

    Please let us know if you need further assistance.

    Thank you for using JotForm. :)

  • Profile Image
    CANYC
    Answered on December 04, 2013 at 12:09 PM

    Question: How do you hide the paypal option instead of the credit card option?

    I tried this but its not correct:

    .form-address-table tbody:first-child > tr + tr td:second-child {display: none;}

    Thanks

  • Profile Image
    EliezerN
    Answered on December 04, 2013 at 02:48 PM

    @CAYC

    Kindly open a separated thread to post your inquiry, in that way will be able to give you the proper assistance and will avoid any confusion with previous messages.

    Thanks

  • Profile Image
    pinoytech
    Answered on December 04, 2013 at 02:49 PM

    @CANYC

    Please try to use and inject this custom css in your form in order to hide PayPal option.

    #input_21_paymentType_express.paymentTypeRadios {

    display: none;

    }

    label[for="input_21_paymentType_express"] img {

    display: none;

    }

    Clone: http://www.jotformpro.com/form/33376092557966

    Feel free to contact us again if you need further assistance at anytime an open/create a separate thread.