Skip to content

Commit ef43907

Browse files
Copilotniemyjski
andcommitted
Update comments to reference v49+ for Stripe.net changes
Co-authored-by: niemyjski <[email protected]>
1 parent 6a1e972 commit ef43907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Exceptionless.Web/Controllers/OrganizationController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)