storj/satellite/payments/stripecoinpayments
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
..
accounts.go satellite/payments: Implement coupon codes 2021-07-26 17:15:55 +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/stripecoinpayments: version is the wrong name 2021-06-29 15:31:11 +00: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_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: delete credits and credits_spendings db tables 2020-07-30 12:19:57 +03:00
invoices.go satellite/payments: Implement coupon codes 2021-07-26 17:15:55 +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 web/satellite: Allow users to see coupon in billing area 2021-08-14 16:09:54 -05:00
service.go satellite/payments: Add command to ensure free tier coupons 2021-08-18 13:48:44 +00:00
stripemock.go satellite/{payments,console},web/satellite: Adds confirmation step if user already has coupon code applied and wants to replace it 2021-08-11 20:04:23 +00:00
tokens_test.go satellite/payments: Implement coupon codes 2021-07-26 17:15:55 +00:00
tokens.go satellite/payments: Implement coupon codes 2021-07-26 17:15:55 +00:00
transactions_test.go satellite/payments: Implement coupon codes 2021-07-26 17:15:55 +00:00
transactions.go all: fix dots 2020-07-16 14:58:28 +00:00