storj/satellite/payments/stripecoinpayments
Stefan Benten 06944f062d satellite/{admin,payments,satellitedb}: add checks for deletion of free tier accounts
This change adds some more checks to the deletion process for projects and
users, since we ran into a race condition during invoicing, where projects
have been deleted before the invoicing was finished, leading to missing
references.
This PR changes the logic to block user deletion if we are in exactly that period,
while also allowing the deletion of projects/users on free tier during the month.

Change-Id: Ic0735205e6633762fb7e3c2fa13e744cdfa5ec32
2022-02-08 10:11:31 +00:00
..
accounts_test.go satellite/{console,payments},web/satellite: save signup promo code to newly registered users 2022-01-21 15:02:22 +00:00
accounts.go satellite/{console,payments},web/satellite: save signup promo code to newly registered users 2022-01-21 15:02:22 +00:00
clearing.go all: fix error naming 2021-04-29 15:38:21 +03:00
client.go satellite/payments: Implement coupon codes 2021-07-26 17:15:55 +00:00
conversion.go satellite/payments: specialized type for monetary amounts 2021-09-28 23:27:44 +00:00
coupons.go satellite/{payments,satellitedb}: Remove custom coupon implementation 2021-10-11 19:47:00 +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: Implement coupon codes 2021-07-26 17:15:55 +00:00
customers_test.go satellite/payments/stripecoinpayments: fix test flakyness 2020-04-29 12:06:35 +00:00
customers.go satellite/billing: make stripe invoice generation work with multiregion satellites 2021-05-06 11:51:03 -06:00
db.go satellite/{payments,satellitedb}: Remove custom coupon implementation 2021-10-11 19:47:00 +00:00
invoices.go satellite/payments: Fix discount when listing invoices. 2021-10-22 10:16:27 -04:00
projectrecords_test.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
projectrecords.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
service_test.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
service.go satellite/{admin,payments,satellitedb}: add checks for deletion of free tier accounts 2022-02-08 10:11:31 +00:00
stripemock.go satellite/{console,payments},web/satellite: save signup promo code to newly registered users 2022-01-21 15:02:22 +00:00
tokens_test.go satellite/payments: Implement coupon codes 2021-07-26 17:15:55 +00:00
tokens.go satellite/payments/stripecoinpayments: fix nil panic during storj token 2021-10-05 12:13:14 -04:00
transactions_test.go satellite/satellitedb: prepare to remove big.Float from db 2021-09-29 00:23:44 +00:00
transactions.go satellite/satellitedb: prepare to remove big.Float from db 2021-09-29 00:23:44 +00:00