storj/satellite/payments/stripecoinpayments
Kaloyan Raev ee7de0424b satellite/payments: use quantities in invoices
Jira issue: https://storjlabs.atlassian.net/browse/USR-719

Invoices now show the amount of used resources and their unit price.

This change also makes proper rounding to the nearest cent in few places
to resolve the "off-by-one-cent" issue observed in few invoices.

Change-Id: I2d70d6916b5cf4a9a9138c99c422f5f4d2deb35b
2020-05-27 09:33:12 +00:00
..
accounts.go satellite: account balance divided into Free Credits and Coins 2020-05-18 14:25:26 +00:00
clearing.go satellite/payments: remove unused code 2020-02-20 16:04:19 +02:00
client.go satellite/payments/stripecoinpayments: add StripeClient interface to be 2020-05-15 10:52:44 +02:00
conversion.go satellite/payments: token deposit accept cents (#3628) 2019-11-21 16:25:37 +02:00
coupons_test.go satellite/admin: add coupon creation and listing (#3891) 2020-05-19 12:36:13 +02:00
coupons.go satellite/admin: add coupon deletion (#3893) 2020-05-19 15:49:44 +03:00
creditcards.go satellite/payments/stripecoinpayments: add StripeClient interface to be 2020-05-15 10:52:44 +02:00
credits_test.go satellite/payments: all invoice commands require period 2020-05-14 11:50:19 +00:00
credits.go satellite/payments: all invoice commands require period 2020-05-14 11:50:19 +00:00
customers_test.go satellite/payments/stripecoinpayments: fix test flakyness 2020-04-29 12:06:35 +00:00
customers.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
db.go satellite/payments : deposit bonuses (credits) added 2020-02-11 11:11:42 +00:00
invoices.go satellite/payments/stripecoinpayments: add StripeClient interface to be 2020-05-15 10:52:44 +02:00
projectrecords_test.go satellite/payments: all invoice commands require period 2020-05-14 11:50:19 +00:00
projectrecords.go satellite/payments: all invoice commands require period 2020-05-14 11:50:19 +00:00
service_test.go satellite/payments/stripecoinpayments: test invoice user with more than 2020-05-27 09:12:23 +00:00
service.go satellite/payments: use quantities in invoices 2020-05-27 09:33:12 +00:00
stripemock.go satellite/payments: remove mockpayments and add Stripe client mock 2020-05-19 09:35:37 +02:00
tokens.go satellite/payments/stripecoinpayments: add StripeClient interface to be 2020-05-15 10:52:44 +02:00
transactions_test.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
transactions.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
version.go common: separate repository 2019-12-27 14:11:15 +02:00