How do I prefield paypal payment depending on a category?

  • Profile Image
    Asked on November 14, 2013 at 06:26 PM



    On my current form i have a field for membership category. Each category has a different cost. Is there a way to prefield the amount for paypal to build depending on the category they select? I also need to keep the option to pay in person.




  • Profile Image
    Answered on November 14, 2013 at 06:49 PM

    Unfortunately, there is no direct way to add the product selection based on some conditional logic.

    As a workaround, we can write a custom javascript code for selection, and that code can be used together with the form source code.

    The downside of this method is that you will need to use form source code instead of short form embed code. Also, it does not come with the autoupdate, each time you update the form, you will need to update the source code on your web page.

    If you are interested in this workaround, we can try to help with the javascript.