From: Michael Tremer Date: Mon, 23 Jul 2018 17:45:25 +0000 (+0100) Subject: donation: Use USD as default currency for the US X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1261d8114421266a4c120168855ac38f9fdefc10;p=ipfire.org.git donation: Use USD as default currency for the US Signed-off-by: Michael Tremer --- diff --git a/src/web/handlers.py b/src/web/handlers.py index b7805ba1..27ba7494 100644 --- a/src/web/handlers.py +++ b/src/web/handlers.py @@ -71,6 +71,10 @@ class DonateHandler(BaseHandler): if not currency in ("EUR", "USD"): currency = "EUR" + # Default to USD for the US only + if country == "US": + currency = "USD" + # Set default frequency if not frequency in ("one-time", "monthly"): frequency = "one-time"