Help creating a recurring donation button

teenwent11
Contributor
Contributor

I'm trying to create a recurring monthly donation button with preset amounts of $10, $25, $50, $100, $200. I've embedded this button into a squarespace site, but clicking produces an error. I followed this guide to create it:

 

https://www.paypal.com/webapps/mpp/get-started/create-recurring-donation-button#step-18

 

I want it to be monthly (user can't change or see)

It shouldn't end (user can't change or see)

It should only have the previous dollar amounts to choose from.

 

I'm not a coder and I'm not sure how to modify this code to display what I want it to. Any help would be much appreciated!

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<!--You will need to set the email to your PayPal email or Secure Merchant ID -->
<input type="hidden" name="business" value="MyPayPalID">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Donate to My Organization">
<input type="hidden" name="item_number" value="1234">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="src" value="1">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-SubscriptionsBF:btn_subscribeCC_LG.gif:NonHosted">
<table>
<tr><td>When would you like this to Recur?</td></tr><tr><td><select name="t3">
<option value="D">Daily</option>
<option value="M">Monthly</option>
<option value="Y">Yearly</option>
</select> </td></tr>
<tr><td>How many times would you like this to recur? (including this payment)</td></tr><tr><td><select name="srt">
<option value="0">Never End</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select> </td></tr>
<tr><td>Enter Your Donation Amount</td></tr>
<tr><td><input type="text" name="a3" maxlength="60"></td></tr>
</table>
<input type="image" src="https://www.paypal.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.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Login to Me Too
1 REPLY 1

MTS_Ciaran
Moderator
Moderator

Here you go, give this one a try. You will need to put in your PayPal account email address in the business variable value, marked "<TODO>" below. 

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="<TODO>">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Donate to My Organization">
<input type="hidden" name="item_number" value="1234">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="src" value="1">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="t3" value="M">
<input type="hidden" name="srt" value="0">
<table>
<tr><td>Enter Your Donation Amount?</td></tr><tr><td><select name="a3">
<option value="10.00">$10</option>
<option value="25.00">$25</option>
<option value="50.00">$50</option>
<option value="100.00">$100</option>
<option value="200.00">$200</option>
</select> </td></tr>
</table>
<input type="image" src="https://www.paypal.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.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</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.