Non-profit needs a donation form to include "In honor of" or "In memory of"

lgmaxg
New Community Member

Non-profit needs a donation form to include "In honor of" or "In memory of" before payment is made.

Is this a possibility?

Login to Me Too
1 REPLY 1

Snow-Cat
Advisor
Advisor

Yes, but, there's a catch, the Donation item button code is very basic - you cannot use the option variables which in turn would allow you to add a text input box.  The work around is to use a Buy Now item button instead.  Doing so allows you to collect any additional info you need.   Note, Because this method does not use the actual command for Donations, it works similar to Buy Now item button code.   Your donors won't see the "Purpose" or "Donation Amount" headers on the PayPal Screens.  It's also suggested that you setup your form to allow the donor to enter the amount on the web page, else they may not know what to do on the PayPal Checkout screen.  In order to do this, you need to manually create the item button code.  Below is just one example of how this can be done.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
  <title>Donation Example</title>
</head>
<body>


<!-- Start of Form -->
Widget Donations
<br><br>
<form target="_self" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<!-- Replace "business" value with your PayPal Email Address or your Merchant Account ID -->
<input type="hidden" name="business" value="your email address or merchant account ID">
<input type="hidden" name="item_name" value="Widget Donations">
<input type="hidden" name="item_number" value="WD-001">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="tax" value="0">
Please enter your donation amount - Example: 5.00&nbsp;&nbsp;
<input type="text" name="amount" value="">
<br><br>
<!-- Start Optional Text Input -->
<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="bn" value="PP-DonationsBF"> -->
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<!-- End of Form -->



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