storj/satellite/payments/stripe
Cameron 09ec5f107d satellite/payments: Remove expired package credits
During billing, before invoice creation, check if users are part of a
package plan. If so, and if the package plan is expired, remove unused
credit from the user's balance. If the user has credit in addition to
the package credit, send an analytics event to notify someone to handle
the credit removal manually.

Change-Id: Iad71d791f67c9733f9d9e42f962c64b2780264cc
2023-05-22 11:58:37 +00:00
..
accounts_test.go satellite/payments: Remove expired package credits 2023-05-22 11:58:37 +00:00
accounts.go satellite/payments/stripe: apply egress discount to project charges 2023-04-13 17:34:50 +00:00
balances_test.go satellite/payments: Remove expired package credits 2023-05-22 11:58:37 +00:00
balances.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
client_test.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
client.go satellite/main,stripe/{client,service}: stripe balance invoice item cmd 2023-04-25 21:08:23 +00:00
conversion.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
coupons_test.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
coupons.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
creditcards_test.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
creditcards.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
customers_test.go satellite/payments/stripe: avoid full table scan while listing 2023-04-13 12:36:31 +02:00
customers.go satellite/payments/stripe: avoid full table scan while listing 2023-04-13 12:36:31 +02:00
db.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
invoices_test.go satellite/payments/stripe/service.go: fix payment for multiple invoices 2023-05-08 21:17:14 +00:00
invoices.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
projectrecords_test.go satellite/payments/stripe: avoid full table scan while listing records 2023-05-09 14:16:55 +00:00
projectrecords.go satellite/payments/stripe: avoid full table scan while listing records 2023-05-09 14:16:55 +00:00
service_test.go satellite/payments: Remove expired package credits 2023-05-22 11:58:37 +00:00
service.go satellite/payments: Remove expired package credits 2023-05-22 11:58:37 +00:00
stripemock.go satellite/payments: Remove expired package credits 2023-05-22 11:58:37 +00:00
tokens_test.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
tokens.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
transactions_test.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
transactions.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00