Creating HTML Button w/Option Payment Buckets
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to create a Paypal button for my church. We have two locations and I need to be able to have church members select which location they are at AND be able to select between "tithes" and "offering." How do I do this? Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When it comes to creating a Donation button (assuming that's what you have in mind) using the online button creator, you are a bit limited as to the number of options you can include. Per your post, your item button needs to be manually created.
Below is just one example of how you could your button. This one has an input box on the page for an amount, a dropdown for the location selection and radio buttons for the offering selection. Free free to tweak for your needs. Note the example is a complete web page for ease of testing.
<!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> Using Options. <br><br> Widget Fund <br><br> <!-- 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="cpp_header_image" value="https://yourwebsite.com/logo.jpg"> <input type="hidden" name="cmd" value="_donations"> <!-- Replace "business" value with your PayPal Email Address or Account ID --> <input type="hidden" name="business" value="your email address"> <input type="hidden" name="item_name"> <input type="hidden" name="item_number" value="D-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 Location: <select name="item_name"> <option value="West Side Church" selected>West Side Church</option> <option value="Downtown Church">Downtown Church</option> </select> <br><br> <input type="hidden" name="on0" value="Purpose">Purpose <INPUT NAME="os0" type="radio" value="Tithes" checked>Tithes <INPUT NAME="os0" type="radio" value="Offerings">Offerings <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 --> <!-- 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 "business" value variable with your PayPal Email Address or Account ID. </body> </html>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your help! Do I need to anything to my Paypal account to create the location or type of offering (tithes or offering) options? If I use your code here, how do Iink it to my actual paypal account?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Replace "business" value with your PayPal Email Address or Account ID
<input type="hidden" name="business" value="your email address">
You will need either a Premier Account or Business Account. Make sure that you take the steps to verify your account meaning that you have successfully linked and confirmed both a bank account and credit card. Suggest going with a Business Account as it will display a business name or group name on the PayPal Screens. Premier Accounts only display your email address.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Recurring payment using paypal account(not credit card) using Payflow sdk (payflow.jar) in About Payments (Archive)
- I can't do anything with the money from my account in About Payments (Archive)
- How to Open a Paypal Account w/o being a 'seller' in About Payments (Archive)
- How do I send a separate email notification of payments received for individual payment buttons? in About Payments (Archive)
- Adding PayPal to my Youtube videos in About Business (Archive)