How could I have a drop-down list next to my PayPal donation button, where you can select an amount or an "other" option to enter your own amount?

1 Answer 1


Simply set the name of a select to 'amount', and the value of that select will be posted to PayPal. Leave it empty (as can be seen with 'Other' in the example below) and PayPal will ask the buyer to enter an amount instead.

<form method="POST" action="...................">
<!- Generic PayPal form stuff here -->
<select name="amount">
<option value="1">$1</option>
<option value="2">$2</option>
<option value="3">$3</option>
<option value="">Other</option>
<!- Generic PayPal form stuff here -->
<!-- Don't forget to set the currency. E.g. USD, EUR, etc.. -->
<input type="hidden" name="currency_code" value="EUR">

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.