Buttons Multiple on same form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am with a community organization. We have annual subscribers and we also solicit donations. I created a membership button and have the code. I would like for the Sponsor and Patron to be changeable. Example: Sponsor fee $100.00 + or more. I can't figure how to write the or more, if that is even possible. What I am really wondering is if there is a way to put a donation line that people can add any dollar amount they wish on this same form? I am also wondering if the option values are written correctly. Thanks for any help.
Here is my subscription code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="blanked out">
<table>
<tr><td><input type="hidden" name="on0" value="Select Membership Type">Select Membership Type</td></tr><tr><td><select name="os0">
<option value="Senior (65 and older)">Senior (65 and older) : $10.00 USD - yearly</option>
<option value="Student (with copy of ID)">Student (with copy of ID) : $10.00 USD - yearly</option>
<option value="Individual">Individual : $15.00 USD - yearly</option>
<option value="Family / Dual">Family / Dual : $25.00 USD - yearly</option>
<option value="Sustaining">Sustaining : $40.00 USD - yearly</option>
<option value="Sponsor">Sponsor : $100.00 USD - yearly</option>
<option value="Patron/Corporate Sponsor">Patron/Corporate Sponsor : $250.00 USD - yearly</option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I answered a similar question here:
/t5/Recurring-Payments-Billing/Custom-Recurring-amounts/m-p/1185881#M45
In summary, if you want to use both a drop down menu with predefined amounts and a text input for users to input a different amount you will need to use scripting in your site (ie: JavaScript).
Alternatively, your own website's programming logic can handle the amount of the subscriber earlier on the checkout process and only involve PayPal code once the amount of the buyer has been decided.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Add Others data in SDKs
- Shipping options are not appearing in my cart through link or button. in PayPal Payments Standard
- Seller "Buy now" button - unable to edit a button in PayPal Payments Standard
- Hosted Buttons have changed. How can I now edit the item ID and stock? in PayPal Payments Standard
- What happened to PayPal Buttons?! in PayPal Payments Standard