How to create a credit system pt.2

  • Voltron_Support
    Asked on November 25, 2021 at 2:01 PM

    This question was asked in 2012 And maybe I asked a question incorrectly. 


    Maybe the question was answered properly and I just need to figure out a way to implement it. 


    See the question from 2012 by clicking here 


    My question is very similar but it would Implement stripe. Could I get one more answer concerning this



  • Martin_A
    Replied on November 25, 2021 at 2:10 PM

    Hi there,

    Please allow us some time to review your request.
    As soon as we come up with a workaround and a solution for your request, we will kindly inform you.

    Thank you for your patience.

  • Martin_A
    Replied on November 25, 2021 at 3:42 PM

    Hi there,

    As I can see in this thread→https://www.jotform.com/answers/3541954-how-to-create-a-credit-system, you are already working on an API for creating a solution for your request.

    Because the root of your request is based and pointed on this question made back in 2012 →https://www.jotform.com/answers/119213-how-to-create-a-credit-system, we can offer u a workaround in creating a form, and see if you can implement that into your API and try some of the Stripe integrations that would work with that form.

    "How about this,
    Forget the members, just a single form that has a hidden box with a number in it (put there by me), Every time the form is submitted the number in that box is deducted by 1 and if the box reaches 0 then the submit button disappears and a warning message appears.
    Actually, if the box was a non-editable box that displayed the number and had a title it would be even better.
    Basically, a way to make a form expire after X amount of submissions and display the amount of submissions left"

    So let's say you have a box where you input the Unique ID of the member or the name of the member, and that is connected to a Gift Registry Widget that controls how many credits that member has. If the Credits correspond to the amount you are requesting, the user can Submit the form, otherwise, he will not be able to Submit the form.
    In this example form, which you can clone and modify, every member has a Gift Registry Widget with credits, and if one of them match the correct amount of credits will be able to submit the form, and the one who has not enough credits will not be able to submit the form.
    It shows a different widget depending on "uid", and it would have to be manually updated if someone adds up credits.
    Form: https://form.jotform.com/213285486023859
    Members example:
    https://form.jotform.com/213285486023859?uid=Martin_A
    https://form.jotform.com/213285486023859?uid=Lars_L

    You can use this form and connect it with the Stripe Integrations we offer on our platform and see if you can find a workaround that works for you.

    Related guides:

    Stripe Payment Forms
    How to Integrate Stripe with your Form
    Create Stripe Checkout Forms with Jotform

    These guides will help if you want to pass the value from the Gift Registry Widget to a Form Calculation, that you will use in your Payment Integration:
    How to Pass a Calculation to a Payment Field
    How to Create a Basic Multiple Payment Form

    Hope this information helps you in the process of finding a solution

    Thank you.