eldarion/django-stripe-payments — pull request #19 by huxley (2013-01-21 01:32:12+00:00)
Title: Add support for changing currency in Settings

Stripe is now available in Canada so vendors are now able to choose to process in either American ("usd") and Canadian ("cad") currency.

At the moment, "usd" is hard-coded as the currency variable which causes errors if your account is set to "cad". I've added currency as one of the variables in PAYMENT_PLANS allowing customers processing in Canadian dollars to specify "cad".

Stripe only allows one currency per account (this might change in the long term), so an alternative way to achieve this might be to set a single setting for PAYMENTS_CURRENCY, but I opted to minimize the number of SETTINGS and instead removed the hard-coding.