YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Monthly Donations - User Selects Level Options
Guest(old)
#1 Posted : Wednesday, November 27, 2002 11:01:58 AM
Rank: Starting Member

Groups: Registered

Joined: 11/12/2002
Posts: 312
Location: ,
I am looking for a simple way to give my donors 2 choices: 1- One time gift of 10, 20, 30, 40, 50, 75, 100, 250, 500, 1000 OR 2- Monthly Gift of 10, 15, 20, 25, 50, 75, 100, 150, 200, 250 Any help would be great. Email tellray@canada.com on behalf of 100tipis.com if you have more questions. Thank you! Ray Levesque Vancouver, BC, Canada
Sponsor  
 
sshiller
#2 Posted : Saturday, November 30, 2002 7:21:07 PM
Rank: Starting Member

Groups: Registered

Joined: 11/30/2002
Posts: 7
Location: ,
When creating the Donation button, if you leave the "amount" blank this will create a button where the buyer can fill in the amount. The Donation applies to one-time "purchases", however, and will not apply to the recurring (subscription) feature.
DSD_David
#3 Posted : Saturday, November 30, 2002 7:38:47 PM
Rank: Starting Member

Groups: Registered

Joined: 11/30/2002
Posts: 125
Location: ,
Javascript to the rescue!

For the first half anyway.

Create a drop down menu. Each field is a value that you listed.

<select value="25">$25.00
<select value="50">$50.00
<select value="75">$75.00

Then use a small script to have it change the value of the donate button's "value" field to the desired value.

This will only work for single donations though.
I don't think there is yet a subscription system for donations.

If you need help writing the script, it is very simple (if you know Javascript), and I'd be glad to help out.

-David
webmaster_removethis_@deadseabeauty.net
PayPal_Mustang
#4 Posted : Monday, December 02, 2002 10:28:09 AM
Rank: Starting Member

Groups: Registered

Joined: 11/14/2002
Posts: 4
Location: ,
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by Guest
[br]I am looking for a simple way to give my donors 2 choices:
1- One time gift of 10, 20, 30, 40, 50, 75, 100, 250, 500, 1000 OR
2- Monthly Gift of 10, 15, 20, 25, 50, 75, 100, 150, 200, 250

Any help would be great. Email tellray@canada.com on behalf of 100tipis.com if you have more questions. Thank you!
Ray Levesque
Vancouver, BC, Canada
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

The first button you are referring to is a simple donation button. The second button would be of subscription type.

Heth Baskin
PayPal
paypal_pb
#5 Posted : Monday, December 02, 2002 3:01:58 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
Use a drop down for the amount.

One-time:

&lt;form method="post" action="https://www.paypal.com/cgi-bin/webscr"&gt;
&lt;input type="hidden" name="cmd" value="_xclick"&gt;
&lt;input type="hidden" name="business" value="payment@mysite.com"&gt;
&lt;input type="hidden" name="item_name" value="Donation"&gt;
&lt;select name="amount"&gt;
&lt;option value="50"&gt;50
&lt;option value="100"&gt;100
&lt;option value="250"&gt;250
&lt;option value="500"&gt;500
&lt;/select&gt;
&lt;input type=submit value=Contribute&gt;
&lt;/form&gt;

Recurring:

&lt;form method="post" action="https://www.paypal.com/cgi-bin/webscr"&gt;
&lt;select name="amount"&gt;
&lt;input type="hidden" name="cmd" value="_xclick-subscriptions"&gt;
&lt;input type="hidden" name="business" value="payment@mysite.com"&gt;
&lt;input type="hidden" name="item_name" value="Donation"&gt;
&lt;input type="hidden" name="p3" value="1"&gt;
&lt;input type="hidden" name="t3" value="M"&gt;
&lt;select name="a3"&gt;
&lt;option value="50"&gt;50
&lt;option value="100"&gt;100
&lt;option value="250"&gt;250
&lt;option value="500"&gt;500
&lt;/select&gt;
&lt;input type=submit value=Contribute&gt;
&lt;/form&gt;

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
NagiWKI
#6 Posted : Saturday, November 22, 2003 7:03:30 PM
Rank: Starting Member

Groups: Registered

Joined: 11/22/2003
Posts: 3
Location: ,
Patrick, when I tried your form, I got what I wanted with one exception:

I got a blank drop down menu with no values in it on the left, then the drop down menu with the amounts in the ranges, I specified, and then the contribute button.

I clicked on Contribute it and set up a page for the amount I'd chosen for just 1 month. I'm sure I need to put some values in that first (blank) drop down menu, but I'm not understanding where I need to do so.

I'm not a developer, so please forgive my need for "explanations for dummies!"

Thanks!

Valerie Brestel-Ohle
Chairman, Founder - WKI
www.wisdomkeepers.org
PP-Patricia
#7 Posted : Thursday, November 27, 2003 3:28:19 AM
Rank: Starting Member

Groups: Registered

Joined: 9/4/2003
Posts: 29
Location: ,
Oops!!! looks like there was a stray line in there, and maybe one or two missing :) Try this for the recurring button:

&lt;form method="post" action="https://www.paypal.com/cgi-bin/webscr"&gt;
&lt;input type="hidden" name="t3" value="M"&gt;
&lt;input type="hidden" name="p3" value="1"&gt;
&lt;input type="hidden" name="item_name" value="Donation"&gt;
&lt;input type="hidden" name="business" value="payment@mysite.com"&gt;
&lt;input type="hidden" name="cmd" value="_xclick-subscriptions"&gt; Select
your contribution: &lt;select name="a3"&gt;
&lt;option value="50"&gt;$50
&lt;option value="100"&gt;$100
&lt;option value="250"&gt;$250
&lt;option value="500"&gt;$500
&lt;/select&gt;
&lt;input type="hidden" name="src" value="1"&gt;
&lt;input type="hidden" name="sra" value="1"&gt;
&lt;input type="submit" value="Contribute"&gt;
&lt;/form&gt;


Using this button is


Patricia
PayPal Technical Support Agent
PayPal, an eBay company
NagiWKI
#8 Posted : Friday, November 28, 2003 2:39:14 AM
Rank: Starting Member

Groups: Registered

Joined: 11/22/2003
Posts: 3
Location: ,
That worked. Thanks, Patricia. :)

Now on to the next step. Is there a way to give a donor an option to set the amount themselves, then pick from a range of choices for reoccurrence?

Example: Donor fills in dollar amount, then picks from monthly, quarterly, or annually.

Thanks again!
Valerie

Valerie Brestel-Ohle
Chairman, Founder - WKI
www.wisdomkeepers.org
Terri
#9 Posted : Monday, May 17, 2004 11:57:17 PM
Rank: Starting Member

Groups: Registered

Joined: 5/17/2004
Posts: 2
Location: ,
Patricia - when I used the coding you supplied for payment options, I tried to change the wording "Contribute" to "Pay Now" and added some extra payment options. However, when I copied and pasted to the website, it drops the "Pay Now" text and the Submit text reverts to "Submit Query". Do you know why this is happening?
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.610 seconds.