storj/satellite/payments
Moby von Briesen ef9a5210a4 satellite/payments: Add command to ensure free tier coupons
This command is intended to be run as part of invoice generation - it
iterates over Stripe customers, and applies the free tier coupon to any
customer who doesn't already have a coupon.

This way, we can ensure that all customers have at least the free tier
coupon before and after invoice generation, in case a different coupon
has expired.

Change-Id: I33a4aff9174049f9e051de53ef65298ca65ed688
2021-08-18 13:48:44 +00:00
..
coinpayments ci: fix lint errors 2021-05-17 13:37:31 +00:00
paymentsconfig web,satellite: Remove paywall-related functionality 2021-06-29 02:47:48 +02:00
stripecoinpayments satellite/payments: Add command to ensure free tier coupons 2021-08-18 13:48:44 +00:00
account.go web,satellite: Remove paywall-related functionality 2021-06-29 02:47:48 +02:00
balance.go satellite: account balance divided into Free Credits and Coins 2020-05-18 14:25:26 +00:00
charges.go satellite/console: add credit card charges to billing history 2020-01-03 17:34:59 +02:00
coupons_test.go web/satellite: Allow users to see coupon in billing area 2021-08-14 16:09:54 -05:00
coupons.go web/satellite: Allow users to see coupon in billing area 2021-08-14 16:09:54 -05:00
creditcards.go satellite/{payments,admin}: add deletion of user creditcards on account deletion 2020-08-27 10:18:19 +00:00
credits.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
invoices.go satellite/admin: add user deletion 2020-07-14 11:37:00 +00:00
projectcharges.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
tokens.go satellite/payments: add deposit bonus to stripe balance 2020-06-01 17:41:10 +00:00