storj/satellite/payments/stripecoinpayments
dlamarmorgan a3a3ffd123 satellite/payments/stripecoinpayments: update invoicing to use credit note
Rather than using Invoice Items to account for storjscan token payments, credit notes will be used and applied to the users finalized invoice. This credit note will reduce the amount due of the users invoice based on the amount of storj token balance the user has on the satellite. Applying credit notes to a finalized invoice also requires that the invoice not be automatically paid when finalized. Therefore, a new command (pay-invoices) was added to initiate payment for users invoices.

Change-Id: Ie539375a10e842e3cb64bf0140834bbab0774f54
2022-09-16 13:40:38 +00:00
..
accounts_test.go satellitedb: add token balance to API endpoint 2022-08-31 22:55:16 +00:00
accounts.go apigen: project delete endpoint 2022-06-07 12:23:24 +03:00
clearing.go satellite/satellitedb: stop using _gob columns 2022-03-30 04:13:13 +00:00
client.go satellite/payments/stripecoinpayments: update invoicing to use credit note 2022-09-16 13:40:38 +00:00
conversion.go satellite/payments/monetary: remove pkg and all its references 2022-09-07 12:58:00 +00:00
coupons.go satellite/payments/stripecoinpayments: fix mock data-race 2022-08-01 14:30:39 +00: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: Implement coupon codes 2021-07-26 17:15:55 +00:00
customers_test.go satellite/payments/stripecoinpayments: fix mock data-race 2022-08-01 14:30:39 +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,satellitedb}: Remove custom coupon implementation 2021-10-11 19:47:00 +00:00
invoices.go satellite/payments: Fix discount when listing invoices. 2021-10-22 10:16:27 -04: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/monetary: remove pkg and all its references 2022-09-07 12:58:00 +00:00
service.go satellite/payments/stripecoinpayments: update invoicing to use credit note 2022-09-16 13:40:38 +00:00
stripemock.go satellite/payments/stripecoinpayments: update invoicing to use credit note 2022-09-16 13:40:38 +00:00
tokens_test.go satellite/{payments/storjscan,satellitedb}: Add wallet implementation 2022-06-03 11:45:47 +00:00
tokens.go satellite/payments/monetary: remove pkg and all its references 2022-09-07 12:58:00 +00:00
transactions_test.go satellite/payments/monetary: remove pkg and all its references 2022-09-07 12:58:00 +00:00
transactions.go satellite/payments/monetary: remove pkg and all its references 2022-09-07 12:58:00 +00:00