New to the community? Welcome! Please read our Community Rules and Guidelines
Hi - I'm working with a non-profit on using Paypal to accept donations. They currently have a 'Donate' button on their site, but they would like to be able to accept donations for specific uses. How can I set it up so that each donation is flagged for a given 'cause' within this organization's various beneficiaries?
Thanks!
So you can have seperate PayPal accounts per cause/charity which means money moves into seperate accounts. The other alternative is to set the differenciator in the "item_name" variable, or the "custom" variable.
Here's one example your can consider:
<!-- Start of Form --> <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <!-- If using a Business or Company Logo Graphic, include the "cpp_header_image" variable in your View Cart code. --> <input type="hidden" name="cmd" value="_donations"> <!-- Replace "business" value with your PayPal Email Address or Account ID --> <input type="hidden" name="business" value="youremailaddress.com"> <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="2"> <input type="hidden" name="lc" value="US"> <input type="hidden" name="currency_code" value="USD"> <!-- 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="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted"> <input type="hidden" name="button_subtype" value="products"> <input type="hidden" name="no_note" value="0"> <input type="hidden" name="cn" value="Add special instructions to the seller:"> <!-- -->Please enter your donation amount: (Example - 10.00)<br><br> <input type="text" name="amount" size="5"> <br><br>Choose Your Organization: <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: <input type="text" name="os0"> <br><br> <input type="hidden" name="on1" value="Tax Deductable Email Receipt Requested">Would you like a Tax Deductable Email Receipt? <INPUT NAME="os1" type="radio" value="Yes" checked>Yes <INPUT NAME="os1" type="radio" value="No Thanks">No Thanks<br><br> <!-- --> <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 -->
©1999-2022 PayPal, Inc. All rights reserved.