implement optional payment with stripe

  • elespoek
    Asked on June 13, 2019 at 3:06 AM

    Hi,

    I am trying to implement an optional payment with stripe. I have connected stripe and integrated the element into the form. In the properties for the element preventing submisson if this element is empty is turned off. When I test the form it will not allow me to submit unless I fill in credit card details and pay.

    Any ideas what I am doing wrong?

    Cheers


  • Victoria_K
    Replied on June 13, 2019 at 3:55 AM

    Hello,

    Please note that payment information will be required if payment field is shown on form. I would suggest to create a condition to hide the field if users selects not to pay. Here is how: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer