fix(stripe): correcting webhook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user