How to pass price to the payment field

  • ashutoshjaihind
    Asked on July 17, 2017 at 3:23 AM

    I HAVE TO MAKE A FORM FOR DIFFERENT PRODUCTS.

    THE PRODUCTS LIST WILL BE IN A DROPDOWN MENU.

    example: dropdown list will contain business cards, websites, flyer, poster, pamphlet

    -when the user select the product, the list of another dropdown changes as per to the change in product.

    --My Problem is that how I will set the final price conditions because final price will depend on the selection of 5 to 6 dropdown's menu.

    --thankyou

  • Sven
    Replied on July 17, 2017 at 4:37 AM

    You can use form calculation to calculate your price, and then pass it on to your payment integration. please see the guide below:

    How-to-Pass-a-Calculation-to-a-Payment-Field

    As for the dropdown menu, you can set multiple ones and show/hide them based on the user selection from the previous list. Please let us know if you need any further help.

  • ashutoshjaihind
    Replied on July 17, 2017 at 5:37 AM

    but how to set price value on any product in the dropdown list??

     

  • liyam
    Replied on July 17, 2017 at 7:35 AM

    Unfortunately, it is not possible to assign a value to a dropdown list coming from a calculation field widget. You can only assign a value to a user defined amount field or a donation field as a payment field as provided on the screenshot from the guide provided by Sven.