1
0
mirror of https://github.com/bitwarden/server synced 2025-12-22 03:03:33 +00:00

[AC-1980] Upgrade Stripe.net (#3596)

* Upgrade Stripe.net

* Don't process mismatched version webhooks

* Manually handle API mismatch in Stripe webhook

* Pivot webhook secret off webhook version
This commit is contained in:
Alex Morask
2024-01-31 08:19:29 -05:00
committed by GitHub
parent 02b10abaf8
commit 2ad4bb8a79
11 changed files with 61 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
using System.Text.Json.Serialization;
namespace Bit.Billing.Models;
public class StripeWebhookVersionContainer
{
[JsonPropertyName("api_version")]
public string ApiVersion { get; set; }
}