File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Exceptionless.Web/Controllers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -244,15 +244,15 @@ public async Task<ActionResult<Invoice>> GetInvoiceAsync(string id)
244244 Total = stripeInvoice . Total / 100.0m
245245 } ;
246246
247- // In Stripe.net v49, Price information needs to be fetched separately
247+ // In Stripe.net v49+ , Price information needs to be fetched separately
248248 var client2 = new StripeClient ( _options . StripeOptions . StripeApiKey ) ;
249249 var priceService = new PriceService ( client2 ) ;
250250
251251 foreach ( var line in stripeInvoice . Lines . Data )
252252 {
253253 var item = new InvoiceLineItem { Amount = line . Amount / 100.0m , Description = line . Description } ;
254254
255- // In v49, access price ID from Pricing.PriceDetails.Price
255+ // In v49+ , access price ID from Pricing.PriceDetails.Price
256256 var priceId = line . Pricing ? . PriceDetails ? . Price ;
257257 if ( ! String . IsNullOrEmpty ( priceId ) )
258258 {
You can’t perform that action at this time.
0 commit comments