FEATURE: Add support for PLN currency (#258)
Stripe supports the Polish złoty so we can add support for it. https://meta.discourse.org/t/342040
This commit is contained in:
+1
@@ -44,6 +44,7 @@ export default class AdminPluginsDiscourseSubscriptionsProductsShowPlansShowCont
|
||||
{ id: "JPY", name: "JPY" },
|
||||
{ id: "ZAR", name: "ZAR" },
|
||||
{ id: "CHF", name: "CHF" },
|
||||
{ id: "PLN", name: "PLN" },
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -28,6 +28,9 @@ export function formatCurrency([currency, amount]) {
|
||||
case "CHF":
|
||||
currencySign = "CHF";
|
||||
break;
|
||||
case "PLN":
|
||||
currencySign = "zł";
|
||||
break;
|
||||
default:
|
||||
currencySign = "$";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user