storj/satellite/payments/stripecoinpayments
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
..
accounts_test.go satellite/console: make paywall optional 2020-07-28 10:57:49 +00:00
accounts.go satellite/payments: Apply Stripe free tier coupon for new customers 2021-05-25 17:39:44 +00:00
clearing.go all: fix error naming 2021-04-29 15:38:21 +03: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/payments: Populate new coupons during invoice generation 2021-04-28 18:07:05 +00:00
coupons.go satellite/payments: Convert coupon duration to be nullable 2021-04-01 16:28:23 +02: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 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/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/payments: Apply Stripe free tier coupon for new customers 2021-05-25 17:39:44 +00:00
service.go satellite/payments: Apply Stripe free tier coupon for new customers 2021-05-25 17:39:44 +00:00
stripemock.go satellite/payments: De-shadow customer page var in stripe mock 2021-03-03 20:51:43 -05: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 all: fix error naming 2021-04-29 15:38:21 +03:00