You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
@diracdeltas - in the ledger-client package, i have the setBraveryProperties method. what i don't know is how to be told when the setting changes. what do i need to do in ledger.js? thanks!
@mrose17 you can get the user pref for monthly contribution amount in app/ledger.js via getSetting(settings.PAYMENTS_MONTLY_AMOUNT). this is a number that represents the amount in USD, defaults to 5.
to listen for the actual change event, you can probably do
@diracdeltas - that's very helpful... i'm adding this now. a couple of suggestions:
a better name is PAYMENTS_CONTRIBUTION_AMOUNT: the contribution doesn't occur monthly, but every 30 days (the #-days is configurable on the ledger)
i suggest we add PAYMENTS_CONTRIBUTION_CURRENCY: contributions are always in BTC, but users may feel more comfortable using their local fiat currency (e.g, 4.50EUR, 3.75GBP, etc).
re: suggestion 1, will do right now
re: suggestion 2, we can eventually add a select box for user to pick their currency, but for now I will just set the monthly contrib currency default to whatever the currency property of ledgerInfo is
this is required by the specs for the Payments tab in #2497
The text was updated successfully, but these errors were encountered: