Hiding the pay by Paypal option in the payments.

  • rughdesign
    Asked on July 10, 2016 at 1:13 PM

    Hi,

    I am trying to require payment before my form is begun.

    I am using PayPal pro. I can set the products field to required no problem.

    If a user selects the credit card option it will require them to fill in their info prior to moving to the next page.

    However, if they select the PayPal option then it allows them to complete the form and pay at the end via Paypal. This will allow them to see the results of the form before paying, and I have no way to stop them from walking away with my product without paying. 

    Is there a way to disable the pay by PayPal option or require/bounce them to a PayPal page when they click the "next" button?

     

    With the below option selected the form works the way I need it to.. 

    Hiding the pay by Paypal option in the payments Screenshot 30

    With the below option a user can skip paying and see the results..

    Hiding the pay by Paypal option in the payments Screenshot 41

  • Jan
    Replied on July 10, 2016 at 4:59 PM

    I cloned your form and checked it. I didn't find any payment fields yet. You probably removed it for the time being.

    We can actually hide the paypal field by using custom CSS. Please add the payment field back and let us know so that we can provide custom CSS.

    We'll wait for your reply. Thank you.

  • rughdesign
    Replied on July 10, 2016 at 11:49 PM

    Ok. I placed it back on my form. Please let me know what the custom CSS is.

    Looking forward to your answer!

  • Chriistian Jotform Support
    Replied on July 11, 2016 at 5:43 AM

    Please inject the custom css below to hide the pay by Paypal option. Here's a guide that may help: How to Inject Custom CSS Codes

    #input_2749_paymentType_express, label[for=input_2749_paymentType_express] {

        display: none;

    }

    Hiding the pay by Paypal option in the payments Screenshot 20

    If you need further assistance, please let us know.

  • rughdesign
    Replied on July 11, 2016 at 6:50 AM

    Thank you, that worked great!

    However I discovered another issue. While I have the field marked as required, the only required portion is to select a product. If a user selects a product and does not select a payment method then they can click "next" and escape without paying.

    How do I make it a requirement that a product is selected and a payment method is also selected?

    Thank you for your help! Below is a screenshot.. 

    Hiding the pay by Paypal option in the payments Screenshot 20

  • Chriistian Jotform Support
    Replied on July 11, 2016 at 9:13 AM

    Hi,

    I am currently checking your form and finding a solution. I will be back as soon as possible as I find a workaround.

  • Chriistian Jotform Support
    Replied on July 11, 2016 at 9:18 AM

    Hi,

    Unfortunately, it is not possible to force the user to pay first before submitting the form when paying via PayPal. The user will have to submit the form first before being redirected to PayPal page.

  • rughdesign
    Replied on July 11, 2016 at 9:56 AM

    Not sure I understand what you looked at. 

    I have solved the PayPal problem by removing the PayPal option per the pervious response.

    My 2nd issue has to do with the remaining Payment Method option. 

    The form currently does not require a user to select a payment method. If the click nothing then they are able to move on to the next page, finish the form, see the results without paying and not receive a notification to pay.

    If they select the payment method button (as seen in the screen shot below) they are unable to move forward until they have filled in the payment information.

    There has got to be a way via HTML or CSS to require the field "payment method" to be selected. Can you please re-look at my issue?

     

    Hiding the pay by Paypal option in the payments Screenshot 20 

  • rughdesign
    Replied on July 11, 2016 at 10:03 AM

    Please disregard my previous response. You are correct, when the form is filled in and submit is clicked it begins the transaction.

    Maybe PayPal is not for me.

    Is there a different payment option that will force users to pay before submitting the form?

  • David JotForm Support Manager
    Replied on July 11, 2016 at 12:09 PM

    You can try with the Stripe or Authorize.net integrations. Let us know if you need more help.