fix(stripe): correcting webhook

This commit is contained in:
2025-08-04 15:29:26 -04:00
parent 8b5343e8f4
commit c0a1eabecb

View File

@@ -38,6 +38,10 @@ public class StripeWebhookEndpoint(
case "checkout.session.completed":
Debug.Assert(stripeSession != null);
logger.LogWarning(stripeSession.ToJson());
logger.LogWarning("stripeSession.PaymentIntentId: {PaymentIntentId}", stripeSession.PaymentIntentId);
logger.LogWarning("stripeSession.PaymentIntent.Status: {PaymentIntentStatus}", stripeSession.PaymentIntent.Status);
logger.LogWarning(stripeSession.ToJson());
logger.LogWarning(stripeSession.ToJson());
switch (stripeSession.Mode)
{
// Check if this is a one-time tip