cancel
Showing results for 
Search instead for 
Did you mean: 

Paypal button - Added drop-down menu - on order it doesn't show the selected option?

Options
Whalebone
Contributor
Posted on

Hi, I have created a Paypal button for our website. It is for different combinations of CDs, there are 10 options. I have logged in with a different Paypal address to check the button is ok and clicked to buy my selection. When I do this, the order page doesn't show which option I have selected from the drop down menu, it only says 'Bundle offers'. So if someone orders an option, as far as I can tell without actually clicking 'Buy' and completing the sale, I won't know which CDs they have selected from the drop down menu. This is the generated code of the button:

 

<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="ARZ6Z62X5K78W">
<table>
<tr><td><input type="hidden" name="on0" value="CD Bundle Options:">CD Bundle Options:</td></tr><tr><td><select name="os0">
<option value="Mirabilia / Three Fires">Mirabilia / Three Fires </option>
<option value="Mirabilia / As turn the Seasons">Mirabilia / As turn the Seasons </option>
<option value="Mirabilia / Runes">Mirabilia / Runes </option>
<option value="Three Fires / As Turn the Seasons">Three Fires / As Turn the Seasons </option>
<option value="Three Fires / Runes">Three Fires / Runes </option>
<option value="Runes / There to Here">Runes / There to Here </option>
<option value="Runes / As Turn the Seasons">Runes / As Turn the Seasons </option>
<option value="There to Here / Mirabilia">There to Here / Mirabilia </option>
<option value="There to Here / Three Fires">There to Here / Three Fires </option>
<option value="Bespoke (tell us in text field)">Bespoke (tell us in text field) </option>
</select> </td></tr>
<tr><td><input type="hidden" name="on1" value="Bespoke combo:">Bespoke combo:</td></tr><tr><td><input type="text" name="os1" maxlength="200"></td></tr>
</table>
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_buynowCC_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_GB/i/scr/pixel.gif" width="1" height="1">
</form>

 

2 REPLIES 2

Paypal button - Added drop-down menu - on order it doesn't show the selected option?

Options
angelleye
Advisor
You are using a hosted button, so these options will need to be configured during that button creation. If you want to set options directly in the button code like this you'll need to disable the "Save Button at PayPal" option when creating the button, and also disable the secure button option when it shows you the code so that you can see the full code for all parameters and values. Then you can add your own parameters and values to that accordingly.
Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!

Paypal button - Added drop-down menu - on order it doesn't show the selected option?

Options
Whalebone
Contributor

Thank you Smiley Wink

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.