• Resolved reelscene

    (@reelscene)


    Hi Guys

    I am trying to configure the PayPal button using the “Variable Amount” option to use the value from a select field in the form, but no fields under showing when I try and select a form field from the list. What field types will the PayPal button accept? I’d like the user to choose from a dropdown (deposit or full price) and for that value to be passed to the PayPal button. I’ve created a select field where the values are just numeric but it’s still not showing up as an option for the PayPal button. How can I get this to work?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @reelscene

    I hope you’re well today!

    The “select” type field can’t be used as payment amount source but there’s a simple workaround:

    – set your select field the way you want it (let’s say it’ll be “{select-1}” field)
    – in field settings go to “Calculations” tab and enable calculations
    – then below assign values to your options below it (it will be your payment amounts)
    – apply changes
    – add a “Calculations” type field to the form and edit it
    – in “Settings” tab optionally set “Field type” to “hidden” if you don’t want to show it
    – in “Calculations” tab put just {select-1} as formula

    – then in PayPal field settings choose that “Calculations” field as payment amount source.

    This will do the trick ??

    Best regards,
    Adam

    Thread Starter reelscene

    (@reelscene)

    Aha, genius, thank you so much ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PayPal Variable Amount – cant choose select ffield’ is closed to new replies.