b34b5c4177
When a customer has no pending line items, an invoice will not be generated for them and the Stripe client method responsible for creating new invoices returns nil. This change adds a nil check to account for this possibility to ensure that no panics are caused by attempted processing of the invoice. Change-Id: Id184d027d7447f0ef876db58601ab6cf63927fc5 |
||
---|---|---|
.. | ||
billing | ||
coinpayments | ||
paymentsconfig | ||
storjscan | ||
stripecoinpayments | ||
account.go | ||
balance.go | ||
charges.go | ||
coupons.go | ||
creditcards.go | ||
credits.go | ||
invoices.go | ||
projectcharges.go | ||
tokens.go |