Comments? Can others reproduce? ________________________________________ From: Scott Kostyshak Sent: Monday, December 12, 2011 3:40 AM To: lyx-devel@lists.lyx.org Subject: Patch for lyx.org PayPal donate call
The donate PayPal button, accessed on http://www.lyx.org/Donate gave me a PayPal page in Norwegian. I don't know if others will be able to reproduce this because I think that PayPal tries to find out your language. If it fails to, I guess it defaults to the language of the destination of the payment. I would suggest this patch for all of the languages that lyx.org supports. The list of countries and their codes that should be passed to PayPal are located here: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_country_codes For English, the current html code for the PayPal call is <form method="post" action="https://www.paypal.com/cgi-bin/webscr"> <p> <input type="hidden" value="_xclick" name="cmd"> <input type="hidden" value="donati...@lyx.org" name="business"> <input type="hidden" value="Optional Note" name="cn"> <input type="hidden" value="EUR" name="currency_code"> <input type="image" alt="Make payments with PayPal - it's fast, free and secure!" name="submit" src="https://www.paypal.com/images/x-click-but04.gif"> </p> </form> I propose adding the following line: <input type="hidden" value="US" name="lc"> so that the complete PayPal call would be <form method="post" action="https://www.paypal.com/cgi-bin/webscr"> <p> <input type="hidden" value="_xclick" name="cmd"> <input type="hidden" value="donati...@lyx.org" name="business"> <input type="hidden" value="Optional Note" name="cn"> <input type="hidden" value="EUR" name="currency_code"> <input type="hidden" value="US" name="lc"> <input type="image" alt="Make payments with PayPal - it's fast, free and secure!" name="submit" src="https://www.paypal.com/images/x-click-but04.gif"> </p> </form> Best, Scott Kostyshak