Proper handling of unequal payments

- Cryptocurrencies are enabled dynamically
- Invoice handler handles now more
- Better status change handling
This commit is contained in:
2021-01-01 19:39:38 +01:00
parent aa2147d509
commit b356f3ee70
12 changed files with 305 additions and 120 deletions

View File

@@ -21,13 +21,9 @@ export const config: IConfig = {
acceptMargin: 0.00000001
},
payment: {
// This is a list of cryptocurrencies that you want to accpet.
methods: [
CryptoUnits.BITCOIN,
CryptoUnits.DOGECOIN,
CryptoUnits.ETHEREUM,
CryptoUnits.MONERO
]
// This has to stay empty since it will be filled automatically in runtime.
// If you want to accept a specifc cryptocurrency, add a provider in src/helper/providers
methods: []
}
}
/**