Reply
Thrane
Thrane Member
Member
Posts: 2
Kudos: 0
Accepted Solution

Drop down amount not changing

Hi

 

I have made a really simple test page for a Buy Now button with drop down for 3 different prices, but no matter what I select, I only get the first price in the checkout?

 

Any ideas?

 

Please see http://cafenoisette.dk/test/paypal/ for the code...

 

Thanks!

 

 

0 Kudos
PayPal_Misty
PayPal_Misty Administrator
Administrator
Posts: 1915
Kudos: 83

Re: Drop down amount not changing

[ Edited ]

Hello Thrane, 

 

Welcome to the Community :robotwink:.

 

I was able to view your code from the button you created. It appears all three of the option values in the dropdown are the same. It sounds like you created the button from sandbox, is that correct?  

This is how the code looks within the table tags:

 

<table>
<tr><td><input type="hidden" name="on0" value="Værdi">Værdi</td></tr><tr><td><select name="os0">
 <option value="Beløb">Beløb 100.00 DKK</option>
 <option value="Beløb">Beløb 250.00 DKK</option>
 <option value="Beløb">Beløb 500.00 DKK</option>
</select> </td></tr>
</table>

 

This is how the code should look within the table tags:


<table>
<tr><td><input type="hidden" name="on0" value="Værdi">Værdi</td></tr><tr><td><select name="os0">
 <option value="Beløb0">Beløb 100.00 DKK</option>
 <option value="Beløb1">Beløb 250.00 DKK</option>
 <option value="Beløb2">Beløb 500.00 DKK</option>
</select> </td></tr>
</table>

 

Once you fix these options the button should funtion properly.  

 

Let me know if this helps.

 

:smileyhappy:Misty

Thrane
Thrane Member
Member
Posts: 2
Kudos: 0

Re: Drop down amount not changing

Thank you, Misty...!

 

Yes, the button was created in Sandbox.

And toy are right, the naming was the issue here - now it works...!!

0 Kudos
PayPal_Misty
PayPal_Misty Administrator
Administrator
Posts: 1915
Kudos: 83

Re: Drop down amount not changing

Hello Thrane,

 

You are very welcome! I am so glad your button is now working.

 

~Misty

0 Kudos