| | |
PayPal Drop downs with price options
Please support our eCommerce advertiser: Get a Free E-commerce Success Analysis!
Thread Solved |
•
•
Join Date: Jun 2007
Posts: 14
Reputation:
Solved Threads: 0
I have this PayPal button set up . I wanted to have a drop down for amount and a second one for quantity.
I used the PayPal button maker to create the drop downs but the amount and quantity did not carry over-every time I tested it the amount in the cart default to the lowest price-$25 and the quantity doesn't carry over either.
I would like help making a drop down for both amount and quantity where both values carry over to PayPal.
I used the PayPal button maker to create the drop downs but the amount and quantity did not carry over-every time I tested it the amount in the cart default to the lowest price-$25 and the quantity doesn't carry over either.
I would like help making a drop down for both amount and quantity where both values carry over to PayPal.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick" /> <input type="hidden" name="hosted_button_id" value="3665970" />
<table cellspacing="2" cellpadding="2" width="250">
</table>
<table cellspacing="4" cellpadding="4" class="centeredtable">
<tbody>
<tr>
<td><input type="hidden" name="on0" value="Card Value" /><span style="color: rgb(255, 227, 132);"><strong>Card Value</strong></span></td>
</tr>
<tr>
<td><select name="os0">
<option value="Amount">Amount $20.00 </option>
<option value="Amount">Amount $25.00 </option>
<option value="Amount">Amount $50.00 </option>
<option value="Amount">Amount $75.00 </option>
<option value="Amount">Amount $100.00 </option>
<option value="Amount">Amount $150.00 </option>
<option value="Amount">Amount $200.00 </option>
<option value="Amount">Amount $300.00 </option>
<option value="Amount">Amount $400.00 </option>
<option value="Amount">Amount $500.00 </option>
</select></td>
</tr>
<tr>
<td><input type="hidden" name="on1" value="Quantity" /><span style="color: rgb(255, 227, 132);"><strong>Quantity </strong></span></td>
</tr>
<tr>
<td><select name="os1">
<option value="1">1 </option>
<option value="2">2 </option>
<option value="3">3 </option>
<option value="3">3 </option>
<option value="5">5 </option>
<option value="6">6 </option>
<option value="7">7 </option>
<option value="8">8 </option>
<option value="9">9 </option>
<option value="10">10 </option>
</select></td>
</tr>
<tr>
<td><input type="hidden" name="on2" value="Occasion (if any)" /><strong><span style="color: rgb(255, 227, 132);">Occasion (if any)</span></strong></td>
</tr>
<tr>
<td><input type="text" name="os2" maxlength="60" /></td>
</tr>
</tbody>
</table>
<p style="text-align: center;"><input type="hidden" name="currency_code" value="USD" /> <input type="image" border="0" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" class="aligncenter" name="submit" alt="PayPal - The safer, easier way to pay online!" /> <img height="1" border="0" width="1" alt="" /></p>
</form>•
•
Join Date: Jun 2007
Posts: 14
Reputation:
Solved Threads: 0
I solved the problem. The answer was using a non-hosted clear text version of the code, removing the "Remove Code Protection".line. Hosted means that specific variables are stored on the PayPal Servers which in turn makes these variables tamper proof. Then the basic adjustments "took" and the drop downs work perfectly.
•
•
Join Date: Oct 2009
Posts: 1
Reputation:
Solved Threads: 0
It's not clear what you actually removed from the code shown?
I want a similar, though simpler, button to allow different monthly subscription choices & have the same problem that no matter what choice is made the amount in PayPal defaults to the lowest rate, (although the description will be correct).
Can you please clarify what changes you made to the code to make it work?
I want a similar, though simpler, button to allow different monthly subscription choices & have the same problem that no matter what choice is made the amount in PayPal defaults to the lowest rate, (although the description will be correct).
Can you please clarify what changes you made to the code to make it work?
![]() |
Similar Threads
- Javascript and Drop down menu display price (JavaScript / DHTML / AJAX)
- Two drop downs with image (JavaScript / DHTML / AJAX)
- Help with Ajax toolkit drop downs (JavaScript / DHTML / AJAX)
- Help with Drop Downs and Grid View (ASP.NET)
- Drop down menus ala Digg (Upcoming News Stories)
- Drop Down Selected Text (ASP.NET)
Other Threads in the eCommerce Forum
- Previous Thread: Tried SWREG? Ecommerce Provide at 0%
- Next Thread: dash commerce starter kit...anyone?
| Thread Tools | Search this Thread |
.net api apple blackmarket browser business c# commerce consumer creditcrunch crime crm database e-commerce ebay ebusiness ecommerce email engine finance food giftcards google hacking holidays integration internet ipod javascript javascript.cms johndonahoe jquery media memberships monetization money murdoch news online onlineshopping paypal php rails retailstocks safari security shopping skype spending subscription symantec taining uk webservices






