How to pass the value to PayPal per selection, but if no selection is made, to pass a minimal value instead?

  • Profile Image
    Asked on October 01, 2015 at 12:08 PM

    I have radio buttons with set values and a calculation tool that shows the amount the user has chosen in my PayPal widget, but when I changed "Get amount from" on the Payment Wizard to "suggested amount" instead of "calculation", it stopped working. Is there a way to have a suggested amount/minimum and still have the calculation button work? I want the values they click on the radio buttons to reflect in the PayPal widget. I don't have $10 as an option in the radio buttons but I want it as the minimum amount someone can choose. Is there a work around for this? Perhaps a different widget that the calculation widget or a condition I can use? 

    Here is my form:

  • Profile Image
    Answered on October 01, 2015 at 02:34 PM

    Unfortunately no, there is no way to set the PayPal to both suggest the amount and to have the value passed over from the form calculation.

    What you can do however is to apply a quick workaround that will allow you to achieve the same.

    However, looking at your form, I see that you have the radio buttons set as required, meaning that your users must make their own selection on the form, so either the value that they had selected or entered manually will be used.

    My suggestion here would be to either make the field as non required - meaning that the minimal amount can be 10, or have 10 + what they select/enter in radio buttons (10+25, 10+1,500 etc).

    Hope that this helps you. Please do let us know how you would like to proceed and we would be happy to assist and help you set it all up :)