storj/satellite/payments/stripecoinpayments
Kaloyan Raev 4bcf308a04 satellite/payments: fetch old deposit bonuses from Stripe metadata
Jira: https://storjlabs.atlassian.net/browse/USR-822

The balance history in Satellite GUI display the deposit bonuses as
separate rows. These bonuses used to be stored in the satellite DB. We
recently started depositing the bonus directly to the Stripe balance and
migrated old bonuses to Stripe metadata.

This change displays all billing history entirely from Stripe, so we can
remove the `credits` and `credits_spendings` DB tables in a next step.

Change-Id: I14c304c66ec47c6a51f5b8508f11470cf36c4e24
2020-07-23 12:11:17 +00:00
..
accounts.go satellite: account balance divided into Free Credits and Coins 2020-05-18 14:25:26 +00:00
clearing.go satellite/payments: remove unused code 2020-02-20 16:04:19 +02:00
client.go satellite/admin: add user deletion 2020-07-14 11:37:00 +00:00
conversion.go satellite/payments: token deposit accept cents (#3628) 2019-11-21 16:25:37 +02:00
coupons_test.go all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
coupons.go satellite/payments/stripecoinpayments: move Coupons expiration date 2020-06-04 09:47:42 +00:00
creditcards.go satellite/payments/stripecoinpayments: add StripeClient interface to be 2020-05-15 10:52:44 +02:00
credits_test.go satellite/payments: all invoice commands require period 2020-05-14 11:50:19 +00:00
credits.go satellite/payments: all invoice commands require period 2020-05-14 11:50:19 +00:00
customers_test.go satellite/payments/stripecoinpayments: fix test flakyness 2020-04-29 12:06:35 +00:00
customers.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
db.go satellite/payments : deposit bonuses (credits) added 2020-02-11 11:11:42 +00:00
invoices.go satellite/admin: add user deletion 2020-07-14 11:37:00 +00:00
projectrecords_test.go satellite/payments: all invoice commands require period 2020-05-14 11:50:19 +00:00
projectrecords.go satellite/admin: harden project deletion requirements 2020-07-14 11:36:29 +00:00
service_test.go satellite/payments/stripecoinpayments: add test for invoice items 2020-07-13 08:28:46 +00:00
service.go satellite/payments: add STORJ amount and rate to Stripe TX metadata 2020-07-22 11:57:21 +03:00
stripemock.go satellite/payments/stripecoinpayments: prevent data race 2020-07-23 13:41:48 +03:00
tokens_test.go satellite/payments: fetch old deposit bonuses from Stripe metadata 2020-07-23 12:11:17 +00:00
tokens.go satellite/payments: fetch old deposit bonuses from Stripe metadata 2020-07-23 12:11:17 +00:00
transactions_test.go satellite/payments: add STORJ amount and rate to Stripe TX metadata 2020-07-22 11:57:21 +03:00
transactions.go all: fix dots 2020-07-16 14:58:28 +00:00
version.go common: separate repository 2019-12-27 14:11:15 +02:00