x252618759 / google-checkout-dotnet-sample-code

Automatically exported from code.google.com/p/google-checkout-dotnet-sample-code
0 stars 0 forks source link

When passed 'GBP' as the Currency, the 'Location' variable of the requested button is invalid #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
..Which results in a greyed-out button saying 'Not available for these items', 
although it actually links to the correct URL. Maybe this is due to Checkout 
being branded 'Google Wallet' in the UK?

This is a simple fix - simply change line 237 of GCheckoutButtonBase.cs from:

236      if (_Currency == "GBP")
237        Location = "en_GB";

to

236      if (_Currency == "GBP")
237        Location = "en_UK";

..I hope I've done everything right, this is my first bug submission

Original issue reported on code.google.com by stefanbu...@gmail.com on 14 Jan 2013 at 3:39

GoogleCodeExporter commented 9 years ago
Have you been able to test this fix?

Original comment by joseph.f...@gmail.com on 16 Mar 2013 at 3:47