storj/satellite/payments/stripecoinpayments
Wilfred Asomani ed70a03844 satellite/{console,db,analytics}: better warning handling
This handles cases where a user is warned and triggers payment for their
account. Previously, only a frozen account will trigger this payment,
and will be unfrozen on successful payment. Now, accounts in warning
state trigger payments and are removed from that state on successful payment.

Issue: https://github.com/storj/storj/issues/5691

Change-Id: Icc2107f5d256657d176d8b0dd0a43a470eb01277
2023-03-28 14:30:38 +00:00
..
accounts_test.go satellite/payments/stripecoinpayments: avoid mock cross-talk in tests 2023-03-03 20:20:48 +02:00
accounts.go satellite/payments/stripecoinpayments: add ctx to Stripe method calls 2023-03-14 17:52:17 +00:00
client_test.go satellite/payments/stripecoinpayments: retry API calls with exp backoff 2023-03-22 07:20:27 -05:00
client.go satellite/payments/stripecoinpayments: retry API calls with exp backoff 2023-03-22 07:20:27 -05:00
conversion.go satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00
coupons_test.go satellite/console: ApplyCoupon and ApplyFreeTierCoupon 2023-02-16 10:00:20 -05:00
coupons.go satellite/payments/stripecoinpayments: add ctx to Stripe method calls 2023-03-14 17:52:17 +00:00
creditcards_test.go satellite/console: return card from AddCreditCard 2023-02-21 20:48:15 +00:00
creditcards.go satellite/payments/stripecoinpayments: add ctx to Stripe method calls 2023-03-14 17:52:17 +00:00
customers_test.go satellite/payments/stripecoinpayments: fix mock data-race 2022-08-01 14:30:39 +00:00
customers.go satellite/{db,analytics,payments}: add chore for auto account freeze 2023-03-01 09:31:27 +00:00
db.go satellite/{payments,satellitedb}: Remove custom coupon implementation 2021-10-11 19:47:00 +00:00
invoices_test.go satellite/console: add Purchase method to console.Payments 2023-02-21 20:10:42 +00:00
invoices.go satellite/{console,db,analytics}: better warning handling 2023-03-28 14:30:38 +00:00
projectrecords_test.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
projectrecords.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
service_test.go satellite/payments/stripecoinpayments: add ctx to Stripe method calls 2023-03-14 17:52:17 +00:00
service.go satellite/payments/stripecoinpayments: retry API calls with exp backoff 2023-03-22 07:20:27 -05:00
stripemock.go satellite/payments/stripecoinpayments: avoid mock cross-talk in tests 2023-03-03 20:20:48 +02:00
tokens_test.go satellite/payments/stripecoinpayments: add ctx to Stripe method calls 2023-03-14 17:52:17 +00:00
tokens.go satellite/payments/stripecoinpayments: add ctx to Stripe method calls 2023-03-14 17:52:17 +00:00
transactions_test.go satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00
transactions.go satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00