User Defined Amount: get sum from selected items on the payment integration.

  • gosca9
    2023년 9월 5일 오전 2:44에 질문함

    안녕하세요

    양식을 만드는 과정에 질문이 있어 문의드립니다.

    1) 양식 내에서 payment field는 하나만 만들어지던데, 혹시 여러개의 항목에서 선택을 받은 뒤 최종적으로 합산해서 보여주는 방법이 있을까요 ?

    예시.

    1. 상부 구성을 선택해주세요
    2. A - 100,000 ✓
    3. B - 200,000
    4. C - 300,000
    5. 중단 구성을 선택해주세요
    6. a - 10,000
    7. b - 20,000 ✓
    8. c- 30,000
    9. 하부 구성을 선택해주세요
    10. ㄱ - 1,000
    11. ㄴ - 2,000
    12. ㄷ 0 3,000 ✓
    13. 선택 옵션과 금액을 확인해보세요 -> 이 항목을 구성하고 싶습니다.
    • A, b, ㄷ
    • 최종금액 - 123,000


    감사합니다!



  • Ross_J
    2023년 9월 5일 오전 6:43에 응답함

    Hi gosca9,

    Thanks for reaching out to Jform Support. Unfortunately, our Korean Support agents are busy helping other Jform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Korean, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, let me help you with your question. I understood your correctly, you want users to be able to select options that can show the total amount and be passed to the payment integration. If so, I'll walk you through setting that up:

    1. In the Form Builder page, add Single Choice fields.
    2. Select the Single Choice and click on the Wheel icon to open the Single Choice Properties.
    3. In the Single Choice Properties, click on Options tab.
    4. In the Options tab, turn ON the Calculation Values option.
    5. Add the values of each option.

    User Defined Amount: get sum from selected items on the payment integration Screenshot 90

    6. Now add the Form Calculation widget and set it as hidden.

    User Defined Amount: get sum from selected items on the payment integration Screenshot 101

    7. Add the fields you want to calculate.

    User Defined Amount: get sum from selected items on the payment integration Screenshot 112

    User Defined Amount: get sum from selected items on the payment integration Screenshot 123

    8. Add the mathematical symbol Addition in between the fields. Make sure that the fields are set as Number (0-9 color black).

    User Defined Amount: get sum from selected items on the payment integration Screenshot 134

    9. Click on the Save button.

    User Defined Amount: get sum from selected items on the payment integration Screenshot 145

    10. Add a payment integration.
    11. Click on the Wand icon to open the Payment Settings.
    12. In the Payment Settings, set the Payment Type option to User Defined Amount.
    13. In the option Get Price From, select the hidden Form Calculation widget.

    User Defined Amount: get sum from selected items on the payment integration Screenshot 156

    Check out the result in the screencast below:

    User Defined Amount: get sum from selected items on the payment integration Screenshot 167

    You may also check out the demo form here. You may also clone the demo form to further check it, this guide will show you how to clone a form. If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better?

    Keep us updated and let us know if you need any more help.

  • gosca9
    2023년 9월 5일 오후 8:35에 응답함

    Hi ross


    I follow your step but I can't find  payment integration in step 10.


    Thank you for your kind.

  • Israel
    2023년 9월 6일 오전 4:47에 응답함

    Hi gosca9,

    Thanks for getting back to us. Coudl you, please share the link to your form so that I can check it out your form? You can easily add one of our Payment Gateways that you prefer to your forms, let me show you how to do it:

    • In the Form Builder, click on Add Form Element and go to the Payments tab.
    • Choose the Payment Gateway you prefer and click on it to add it to your form.
    • Make sure to click on Connect to allow the integration, the integration status should be in Connected status in Green.
    • You can add your products or subscriptions that you will sell.


  • Annaliza_O Jform Support
    2023년 9월 6일 오전 8:11에 응답함

    Hi gosca9,

    Unfortunately, we did not receive your response. Can you resend it?

    Let us know if there’s anything else we can help you with.