Donate Button With Multiple Donate Types

ScottFromPA
Contributor
Contributor

Guys

 

I've been trying real hard to figure out how to create a "Donate Button" that gives the user the ability to designate a money amount to more than one donate type.

 

Now the "Buy Now" button allows for this type of thing but the returned page PP page does not return donate lanugae which I think will turn off the user.


Is there any way a donate button with dropdown could be created?   See my graphic for a visual

 

Thanks in advance for your logic and help.

Login to Me Too
1 REPLY 1

snowshoe
Frequent Advisor
Frequent Advisor

The online button creator has limitations.  Per your post, you would need to manually code your donation button. Here's one example:

 

<!-- Start of Form -->

<form target="paypal"action="https://www.paypal.com/cgi-bin/webscr"method="post">

<input type="hidden"name="cmd"value="_donations">

<!-- Business variable can be either an email address or your Business ID, example: WRDDZE4N3E3M2 -->

<input type="hidden"name="business"value="your email address">

<input type="hidden"name="item_name">

<input type="hidden"name="item_number"value="WF-1001">

<input type="hidden"name="tax"value="0">

<input type="hidden"name="no_shipping"value="1">

<input type="hidden"name="lc"value="US">

<input type="hidden"name="currency_code"value="USD">

<input type="hidden"name="cancel_return"value="https://www.yourwebsite.com/cance.html">

<input type="hidden"name="bn"value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">

<!-- -->

Please enter your donation amount: (Example - 10.00)

<br><br>

<input type="text"name="amount"size="5">

<br><br>

Choose Your Organization:&nbsp;&nbsp;

<select name="item_name">

<option value="Widget Fund Donation - Good Will" selected>Good Will</option>

<option value="Widget Fund Donation - United Way">United Way</option>

<option value="Widget Fund Donation - Boys and Girls Club">Boys and Girls Club</option>

<option value="Widget Fund Donation - West Side Shelter">West Side Shelter</option>

<option value="Widget Fund Donation - Pets and Vets">Pets and Vets</option>

</select>

<br><br>

<input type="hidden"name="on0"value="In Memory Of">In Memory of - Enter Name:&nbsp;&nbsp;

<input type="text"name="os0">

<br><br>

<input type="hidden"name="on1"value="Tax Deductable Receipt Requested">Would you like a Tax Deductable Receipt?&nbsp;&nbsp;&nbsp;

<INPUT NAME="os1"type="radio"value="Yes"checked>Yes

&nbsp;&nbsp;&nbsp;

<INPUT NAME="os1"type="radio"value="No Thanks">No Thanks

<br><br>

<!-- -->

<input type="image"src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif"border="0"name="submit"alt="">

<img alt=""border="0"src="https://www.paypal.com/en_US/i/scr/pixel.gif"width="1"height="1">

</form>

<!-- End of Form -->

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.