storj/satellite/payments
Kaloyan Raev 12fa505692 satellite/payments: fix invoice amount in billing history
The billing history currently shows the Total amount from the Stripe
invoice. In fact, this value is just the amount deducted from the Stripe
balance. It does not reflect any deduction from promotional coupon or
bonus credits.

This patch adds the deducted amount form the promotional coupons and
bonus credits to the displayed amount in billing history. This way
customers have better understading of the total amount deducted from
their account balance on the satellite.

Change-Id: Ibd7f611a6cea0143a3059f39dd1d9ef21c264d8c
2020-05-08 11:43:41 +00:00
..
coinpayments satellite/payments: coinpayments add completed status, treat received status as pending, add balance for completed transactions only 2020-01-17 17:26:34 +00:00
mockpayments all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
paymentsconfig satellite/nodestats: add pricing model to endpoint 2020-04-08 14:29:51 +00:00
stripecoinpayments satellite/payments: fix invoice amount in billing history 2020-05-08 11:43:41 +00:00
account.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
charges.go satellite/console: add credit card charges to billing history 2020-01-03 17:34:59 +02:00
coupons_test.go satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
coupons.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
creditcards.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
credits.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
invoices.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
projectcharges.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
tokens.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00