Reputation: 41
When I make my add to cart-button, the price (in dollars) is displayed 18,00, and not 18.00, which makes some customers think that the price is eighteen hundred dollars instead of eighteen dollars. This is the code I use:
<form target="paypal" 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="PXUZGKZW3BP6Q">
<input type="image" src="http://www.mdna-games.com/cart.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
I've put "lc=EN" under advanced properties to make sure that the page is always displayed in English, but still the price is not displayed according to English/American standards.
Thanks in advance for any help!
Upvotes: 4
Views: 4758
Reputation: 30412
The button is paying an account that happens to be in a locale that uses a comma rather than a period to indicate decimals.
The solution is to pass a locale code that uses a period as desired. For instance:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="hosted_button_id" value="PXUZGKZW3BP6Q">
<input type="image" src="http://www.mdna-games.com/cart.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
You can also put "lc=US" in the "Advanced Variables" section when you edit the hosted button on PayPal.com
For more details, see the locale list under HTML Variables for PayPal Payments Standard
Upvotes: 1