Drop down amount not changing

Thrane
Contributor
Contributor

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!

 

 

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

Misty11
Advisor
Advisor

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

View solution in original post

Login to Me Too
3 REPLIES 3
Solved

Misty11
Advisor
Advisor

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

Login to Me Too

Thrane
Contributor
Contributor

Thank you, Misty...!

 

Yes, the button was created in Sandbox.

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

Login to Me Too

Misty11
Advisor
Advisor

Hello Thrane,

 

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

 

~Misty

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.