Donate Button - Creating a list of different funds with a chance to type in a description

sduttonusa
Contributor
Contributor

In using the Subscription Button, I have a drop-down menu that has several different "funds" list.  Underneath, there is a place to type in a short description, and finally, an area to type in the dollar amount.  It looks like this:

 

Building Fund (drop down menu)

landscaping costs (donor can type in a description)

$100

 

The Donate button is just that . . . a button that says donate.  It takes the donor to a page where the donor types in a dollar amount, chooses how to fund the donation, and then can add a description (with no promptings).  Is there a way to have the one-time donate button behave like the subscription button?

Login to Me Too
1 REPLY 1

Quandary
Advisor
Advisor

Short answer is no, the actual Donation command is programmed to work differently - sometime back, you had the option to donate like a subscription however, things have changed.  If you want to setup a donation process to act like a subscription process, then you must use the subscription button code.  You can use the code generated by the online button creator if you don't have any special requirements, else, if you do then the code must be manually created to get the results you have in mind.

 

Below is a basic example in clear text meaning the code is not stored on the PayPal servers however, as this is something basic (no custome scripts, etc.), you can use the online button creator to do the same thing and have the code stored on the PayPal servers.  The example is a complete html web page, you can copy and test it yourself.   Just replace the "business" variable value with your PayPal email address.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>Button Example Code</title>

<!-- START META TAG SECTION -->
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="Content-Language" content="en">
<!-- END META TAG SECTION -->



</head>

<body>

<!-- START SAMPLE CODE SECTION -->


<!-- PARAGRAPH 1 -->
Donation Examples

<br><br>

Donation Subscription.

<br><br>

$5 Monthly Donation for 12 Months

<br><br>

<!-- Start of Form -->
<form target="_self" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<!-- Replace "business" value with your PayPal Email Address or Account ID -->
<input type="hidden" name="business" value="your email address">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Widget Fund Monthly Donation">
<input type="hidden" name="item_number" value="WFMD-2002">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="1">
<!-- Replace value with the web page you want the customer to return to after a successful transaction -->
<input type="hidden" name="return" value="http://www.yourwebsite.com/ThankYou.html">
<!-- Replace value with the web page you want the customer to return to after item cancellation -->
<input type="hidden" name="cancel_return" value="http://www.yourwebsite.com/Cancel.html">
<input type="hidden" name="a3" value="5.00">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="src" value="1">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">
<input type="hidden" name="srt" value="12">
<input type="hidden" name="sra" value="1">
<input type="hidden" name="bn" value="PP-SubscriptionsBF:btn_subscribeCC_LG.gif:NonHosted">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<!-- End of Form -->



<!-- END BUTTON EXAMPLES -->



<!-- END SAMPLE CODE SECTION -->

<br><br>


<br><br><br><br>
<hr align="left" width="50%" noshade>
<br><br>
NOTES:
<br>
In order to test the code, you must replace the &quot;business&quot; value variable with your PayPal Email Address or Account ID.


</body>
</html>
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.