What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to hide the products & coupon code section of Stripe payment tools?

    Asked by newpanda on June 05, 2017 at 12:43 PM

    ...  including the radio button, all Plan text/price and entire Coupon section should not be visible. I understand that you have a set of fields you get from Stripe and you have all of them contained in the single Payment block, but can I remove those parts via CSS or ?  Thanks!  

    https://www.jotform.com/build/71307423564150

    Page URL:
    https://www.jotform.com/build/71307423564150

  • Profile Image
    JotForm Support

    Answered by ashwin_d on June 05, 2017 at 02:10 PM

    Hello newpanda,

    Yes it is possible to inject custom css code in form to hide the products and coupon code section form payment tool. Please inject the following custom css code in your form to hide the product & coupon code section from payment tool:

    span.form-product-item.hover-product-item {

        display: none;

    }

    div#coupon-container {

        display: none;

    }

    The following guide should help you how to inject custom css code in form:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    I am not sure how hiding the products will solve your problem. Please note that if no products are selected, the payment will not be processed and the customer will not be created in Stripe dashboard.

    I would suggest you to please explain your requirement a bit more in detail and we will surely help you.

    We will wait for your response.

    Thank you!

  • Profile Image

    Answered by Robert on June 05, 2017 at 07:07 PM

    ah, I see. In some other types of field you can set a default value. I now see that there's not a choice like that for a Stripe plan. I'm trying to make a form that already assumes the Stripe plan, because I will only have one plan per form. So our user will have already seen the plan price. They would just be clicking a link on our page that pops up the credit card entry area. So no plan selection and no coupon section.  Since we will only have a single plan, can that be assumed when they get to the form?

  • Profile Image
    JotForm Support

    Answered by ashwin_d on June 05, 2017 at 10:10 PM

    Hello Robert,

    Since you are fetching the subscription list from your Stripe account, that is the reason why you are unable to make any subscription as default selected. I would suggest you to please manually add a subscription product and you should be able to select that product as default. Please check the screenshot below:

     

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!