Stripe Integration - Max Price

  • Profile Image
    Lou_Page
    Asked on January 14, 2022 at 04:16 PM

    We are charging for an event, the cost is $5 per person.

    However, there is a maximum amount that we will charge which is $20. In other words, if a family has seven people, they will only be charged $20, not $35.

    We will get the name of each person attending on the form.

    What is the best way to accomplish this using the stripe checkout integration for payment?

  • Profile Image
    gerardw
    Answered on January 15, 2022 at 01:12 AM

    You can set up options outside the payment field using Single or multiple choice fields - assign calculation values to each option.

    Then use the form calculation widget to calculate the total and pass on the total to the Stripe payment field: https://www.jotform.com/help/275-how-to-pass-a-calculation-to-a-payment-field/.

    However, please let us know what will be the total price if there are 2, 3, 4, 5, 6 people.