storj/satellite/payments/stripecoinpayments
Ethan d5dfeca84d satellite/payments: Return empty iterator instead of nil from StripeMock List methods
Some satellites do not have payment configured (ex. Salt Lake, Europe North). In this case the StripeMock is used, which returns nil on invoice and charges List methods. This causes a panic.

https://storjlabs.atlassian.net/browse/SM-978

Change-Id: Iec1b0bfd9b383e6f793d03dd63a3dec60e0fd9f3
2020-05-27 16:20:18 +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: Return empty iterator instead of nil from StripeMock List methods 2020-05-27 16:20:18 +00: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