storj/satellite/payments
Moby von Briesen 02fc87e98b satellite/payments: Apply Stripe free tier coupon for new customers
Rather than applying our internal satellite implementation of coupons
when new accounts are created, use a configured Stripe coupon instead.
If no configuration is set, no coupon will be applied.

This change also removes logic for adding coupons to customers who pay
with crypto - they will already have the free tier coupon applied
anyway.

We will be phasing out our internal coupon implementation.

Change-Id: Ieb87ddb3412acbc74986aa9d18a4cbd93c29861a
2021-05-25 17:39:44 +00:00
..
coinpayments ci: fix lint errors 2021-05-17 13:37:31 +00:00
paymentsconfig satellite/payments: reduce object fee to 0 (#4104) 2021-04-29 22:31:32 +02:00
stripecoinpayments satellite/payments: Apply Stripe free tier coupon for new customers 2021-05-25 17:39:44 +00:00
account.go satellite/{console/payments/satellitedb}: add validation for deletion of account and project 2020-10-13 07:55:26 +00: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 satellite/payments: Convert coupon duration to be nullable 2021-04-01 16:28:23 +02:00
coupons.go satellite/payments: Populate new coupons during invoice generation 2021-04-28 18:07:05 +00: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