Reply to topic
Highlighted
Thrane Member
Member
Posts: 2
Kudos: 0
Accepted Solutions: 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
Administrator PayPal_Misty
Administrator
Posts: 2060
Kudos: 92
Accepted Solutions: 26

Re: Drop down amount not changing

[ Edited ]

Hello Thrane, 

 

Welcome to the Community Robot wink.

 

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.

 

Smiley HappyMisty

Thrane Member
Member
Posts: 2
Kudos: 0
Accepted Solutions: 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
Administrator PayPal_Misty
Administrator
Posts: 2060
Kudos: 92
Accepted Solutions: 26

Re: Drop down amount not changing

Hello Thrane,

 

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

 

~Misty

0 Kudos
Announcements
If you are using Internet Explorer 8 take note. We’ll upgrade our communities in July and if you are using IE8 you won’t have a fully functional experience. Please upgrade your browser to Internet Explorer 9, 10 or 11. There will be no changes to your community experience if you are using IE 9, 10, 11, Chrome, Firefox or Safari.
Welcome, guest
Top Kudoed Authors
User Kudos Count
1