WIP: add ability to specify non-dollar currencies #37
Loading…
Reference in a new issue
No description provided.
Delete branch "asa/capsul-flask:currency"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
adds some settings that let you use different currencies, and replaces hardcoded references to dollars with either values from those settings or a generic "amount" as appropriate. currencies have a name (defaults to "dollar"), a symbol (defaults to "$"), the string that identifies them to stripe and btcpay (defaults to "usd" and "USD" respectively) and a conversion value that stripe needs because it wants to work in the smallest available units (defaults to 100, as in 100 cents to a dollar). details are in docs/configuration.md#currency.
add ability to specify non-dollar currenciesto WIP: add ability to specify non-dollar currenciesoh hang on, when it merges with the changes since i forked there's a conflict between different schema migrations. let me add a commit for that and try again, sorry
Pull request closed