satellite/payments: Change customer pricing (#4085)
Co-authored-by: littleskunk <jens.heimbuerge@googlemail.com> Co-authored-by: JT Olio <hello@jtolio.com> Co-authored-by: Igor <38665104+ihaid@users.noreply.github.com>
This commit is contained in:
parent
e710524257
commit
32d76652c3
@ -14,8 +14,8 @@ import (
|
||||
type Config struct {
|
||||
Provider string `help:"payments provider to use" default:""`
|
||||
StripeCoinPayments stripecoinpayments.Config
|
||||
StorageTBPrice string `help:"price user should pay for storing TB per month" default:"10"`
|
||||
EgressTBPrice string `help:"price user should pay for each TB of egress" default:"45"`
|
||||
StorageTBPrice string `help:"price user should pay for storing TB per month" default:"4"`
|
||||
EgressTBPrice string `help:"price user should pay for each TB of egress" default:"7"`
|
||||
ObjectPrice string `help:"price user should pay for each object stored in network per month" default:"0.0000022"`
|
||||
BonusRate int64 `help:"amount of percents that user will earn as bonus credits by depositing in STORJ tokens" default:"10"`
|
||||
CouponValue int64 `help:"coupon value in cents" default:"1000"`
|
||||
|
4
scripts/testdata/satellite-config.yaml.lock
vendored
4
scripts/testdata/satellite-config.yaml.lock
vendored
@ -527,7 +527,7 @@ identity.key-path: /root/.local/share/storj/identity/satellite/identity.key
|
||||
# payments.coupon-value: 1000
|
||||
|
||||
# price user should pay for each TB of egress
|
||||
# payments.egress-tb-price: "45"
|
||||
# payments.egress-tb-price: "7"
|
||||
|
||||
# minimum value of coin payments in cents before coupon is applied
|
||||
# payments.min-coin-payment: 1000
|
||||
@ -554,7 +554,7 @@ identity.key-path: /root/.local/share/storj/identity/satellite/identity.key
|
||||
# payments.provider: ""
|
||||
|
||||
# price user should pay for storing TB per month
|
||||
# payments.storage-tb-price: "10"
|
||||
# payments.storage-tb-price: "4"
|
||||
|
||||
# amount of time we wait before running next account balance update loop
|
||||
# payments.stripe-coin-payments.account-balance-update-interval: 2m0s
|
||||
|
Loading…
Reference in New Issue
Block a user