Skip to content

Commit

Permalink
Ende Gelände
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiboutas committed Jan 6, 2024
1 parent 6a47cae commit fd36435
Show file tree
Hide file tree
Showing 2 changed files with 178 additions and 174 deletions.
165 changes: 165 additions & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,170 @@
STRIPE_PUBLIC_KEY = STRIPE_TEST_PUBLIC_KEY
STRIPE_SECRET_KEY = STRIPE_TEST_SECRET_KEY

# currencies

# https://stripe.com/docs/currencies?presentment-currency=DE#presentment-currencies
# Currencies marked with * are not supported by American Express
STANDARD_CURRENCIES = (
"USD",
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BWP",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HTG",
"HUF",
"IDR",
"ILS",
"INR",
"ISK",
"JMD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KRW",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SEK",
"SGD",
"SHP",
"SLE",
"SOS",
"SRD",
"STD",
"SZL",
"THB",
"TJS",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"UYU",
"UZS",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW",
)
# https://stripe.com/docs/currencies?presentment-currency=DE#zero-decimal
ZERO_DECIMAL_CURRENCIES = (
"BIF",
"CLP",
"DJF",
"GNF",
"JPY",
"KMF",
"KRW",
"MGA",
"PYG",
"RWF",
"UGX",
"VND",
"VUV",
"XAF",
"XOF",
"XPF",
)

# https://stripe.com/docs/currencies?presentment-currency=DE#three-decimal

THREE_DECIMAL_CURRENCIES = ("BHD", "JOD", "KWD", "OMR", "TND")


# Wagtail
WAGTAIL_SITE_NAME = "Nice CV"
Expand Down Expand Up @@ -475,6 +639,7 @@

CURRENCIES = ("USD", "EUR")


# geoip2

GEOIP_PATH = BASE_DIR / "geoip2dbs"
Expand Down
Loading

0 comments on commit fd36435

Please sign in to comment.