How to collect 2 payments on one form?

  • Profile Image
    Asked on January 13, 2017 at 02:39 PM

    I would like an option to donate or except raffle tix payments on the same form


  • Profile Image
    Answered on January 13, 2017 at 06:31 PM

    It is not possible to have two payment options such as product and donation inside of one payment field on the form. 

    However there is possible workaround. You can set your fields outside of payment field using basic field such as textbox, chackbox, number field, etc. Then you would need to assign values to those fields and to perform calculation inside of the form. Finally you will need to pass calculation to your payment field. This guides can help you to achieve this:

    How to Assign Calculation Value

    How to Perform Form Calculation Using a Widget

    How to Pass a Calculation to a Payment Field

    You can also check this thread where my colleague provided detail explanation how this can be done: 

    Hope this will help. Let us know if you need further assistance.