How to pass price to the payment field

  • Profile Image
    ashutoshjaihind
    Asked on July 17, 2017 at 03: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



    This is a re-post of a comment on Smart Forms Using Conditional Logic

  • Profile Image
    Sven
    Answered on July 17, 2017 at 04: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.

  • Profile Image
    ashutoshjaihind
    Answered on July 17, 2017 at 05:37 AM

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

     

  • Profile Image
    liyam
    Answered on July 17, 2017 at 07: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.