Different Pricing on Buy Now Button

mminten
Contributor
Contributor

I created various buttons on this page: http://www.solacetree.org/ways-to-donate/. Some of them use donation buttons, subscription buttons and buy now buttons depending on what we wanted to do. The only problem I have is the one that says: 

Donate $150 – $1,500 in Honor of someone who has died

I am using dropdown with pricing, there is no number in the initial price box and I have the text that says "Honor Donation for" on all of them and the amount in the amount other box. When I generate the code I get this:

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input name="cmd" type="hidden" value="_s-xclick">
<input name="hosted_button_id" type="hidden" value="###"> <table class="center" style="width: 100%; max-width: 300px;"> <tbody> <tr> <td><input name="on0" type="hidden" value="Donation Amount">Donation Amount</td> </tr> <tr> <td>
<select style="width: 100%;" name="os0">
<option value="Honor Donation of">Honor Donation of $150.00 USD</option>
<option value="Honor Donation of">Honor Donation of $250.00 USD</option>
<option value="Honor Donation of">Honor Donation of $500.00 USD</option>
<option value="Honor Donation of">Honor Donation of $750.00 USD</option>
<option value="Honor Donation of">Honor Donation of $1,000.00 USD</option>
<option value="Honor Donation of">Honor Donation of $1,250.00 USD</option>
<option value="Honor Donation of">Honor Donation of $1,500.00 USD</option>
</select>
</td> </tr> <tr> <td><input name="on1" type="hidden" value="Name of Honoree">Name of Honoree</td> </tr> <tr> <td><input maxlength="200" name="os1" type="text"></td> </tr> </tbody> </table> <p><input name="currency_code" type="hidden" value="USD"><br> <input alt="PayPal - The safer, easier way to pay online!" name="submit" src="http://www.solacetree.org/wp-content/uploads/donate-btn.jpg" type="image"><img src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" alt="" width="1" height="1" border="0"></p> </form>

The problem is that it doesn't matter what I select in the dropdown, when I get to PayPal it always just shows $150. How do I set it to accept all the different amounts selected

Login to Me Too
1 REPLY 1

MTS_Adam
Moderator
Moderator

Hello mminten,

 

This is caused by non-unique selection names.  Since each option selection name is identical, "Honor Donation of", the first value for that selection name will be taken, which is $150.  You will need to edit the button within your PayPal account, and give each drop down selection a unique name.  Some popular choices I have seen include "Bronze, Silver, Gold, Platinum", or "Tier I, Tier II, Tier III, Tier IV", but you can use whichever description you would like.  

 

The option selections should look something like the following:

 

<option value="Honor Donation Tier I">Honor Donation Tier I $150.00 USD</option>
<option value="Honor Donation Tier II">Honor Donation Tier II $250.00 USD</option>
<option value="Honor Donation Tier III">Honor Donation Tier III $500.00 USD</option>

 

Keep in mind, this will need to be done within your PayPal account since the button is saved on PayPal - you can't just modify the button's HTML code on your website.   

 

Regards,

Adam

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.