storj/satellite/payments/stripecoinpayments
Stefan Benten 1d3b728766 satellite/{console/payments/satellitedb}: add validation for deletion of account and project
The same was that our Admin API handles project and account deletions currently, we would like
to have the same checks on the user-facing API. This PR adds the same checks to the console service.
General more applicable checks have been moved directly into the payments service.

In addition it adds the BucketsDB to the console DB, to have easier access and avoiding import cycles with
the metainfo package.

A small cleanup around our unnecessary monkit imports made it in as well.

Change-Id: I8769b01c2271c1687fbd2269a738a41764216e51
2020-10-13 07:55:26 +00:00
..
accounts_test.go satellite/console: make paywall optional 2020-07-28 10:57:49 +00:00
accounts.go satellite/{console/payments/satellitedb}: add validation for deletion of account and project 2020-10-13 07:55: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 satellite/satellitedb: makes limits nullable change backwards compatible 2020-09-23 17:54:42 +02:00
coupons.go satellite/payments/stripecoinpayments: move Coupons expiration date 2020-06-04 09:47:42 +00:00
creditcards_test.go satellite/{payments,admin}: add deletion of user creditcards on account deletion 2020-08-27 10:18:19 +00:00
creditcards.go satellite/{payments,admin}: add deletion of user creditcards on account deletion 2020-08-27 10:18: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: delete credits and credits_spendings db tables 2020-07-30 12:19:57 +03:00
invoices.go satellite/admin: add user deletion 2020-07-14 11:37:00 +00:00
projectrecords_test.go satellite/payments: delete credits and credits_spendings db tables 2020-07-30 12:19:57 +03:00
projectrecords.go satellite/payments: delete credits and credits_spendings db tables 2020-07-30 12:19:57 +03:00
service_test.go satellite/metainfo: use metabase in loop 2020-09-01 10:06:16 +00:00
service.go satellite/payments: delete credits and credits_spendings db tables 2020-07-30 12:19:57 +03:00
stripemock.go satellite/{payments,admin}: add deletion of user creditcards on account deletion 2020-08-27 10:18:19 +00: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