storj/satellite/payments/stripecoinpayments
Andrew Harding f5e110f2aa satellite/satellitedb: support insert for many billing txs in one db tx
Implementing https://github.com/storj/storj/issues/5702 means adding a
bonus billing transaction for each storjscan transaction being recorded.
To do this idempotently, we need to the ability to for both the
storjscan and bonus transaction to be committed together.

This change updates the billing database to allow multiple billing
transactions to be inserted under the same database transaction.

Change-Id: I941864f47fc64d65aab076eec2e96fd04fcc7aac
2023-03-31 14:48:17 +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/satellitedb: support insert for many billing txs in one db tx 2023-03-31 14:48:17 +00: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