diff --git a/server/src/internal/balances/autoTopUp/autoTopup.ts b/server/src/internal/balances/autoTopUp/autoTopup.ts index 664928167..d9f6c4289 100644 --- a/server/src/internal/balances/autoTopUp/autoTopup.ts +++ b/server/src/internal/balances/autoTopUp/autoTopup.ts @@ -91,10 +91,6 @@ export const autoTopup = async ({ const isInvoiceMode = Boolean(autoTopupContext.invoiceMode); const invoiceStatus = billingResult.stripe?.stripeInvoice?.status; - logger.info( - `[autoTopup] post-execute gate: isInvoiceMode=${isInvoiceMode}, invoiceStatus=${invoiceStatus}, customer=${customerId}`, - ); - if (!isInvoiceMode && invoiceStatus !== "paid") { await voidStripeInvoiceIfOpen({ ctx, diff --git a/server/src/internal/balances/autoTopUp/webhooks/sendAutoTopupSucceededWebhook.ts b/server/src/internal/balances/autoTopUp/webhooks/sendAutoTopupSucceededWebhook.ts index d57934fcf..30d7d1d61 100644 --- a/server/src/internal/balances/autoTopUp/webhooks/sendAutoTopupSucceededWebhook.ts +++ b/server/src/internal/balances/autoTopUp/webhooks/sendAutoTopupSucceededWebhook.ts @@ -71,10 +71,6 @@ const sendAutoTopupSucceededWebhookUnsafe = async ({ autoTopupContext: AutoTopupContext; billingResult: BillingResult; }) => { - ctx.logger.info( - `[sendAutoTopupSucceededWebhook] entry for customer ${autoTopupContext.fullCustomer.id ?? autoTopupContext.fullCustomer.internal_id}, feature ${autoTopupContext.autoTopupConfig.feature_id}`, - ); - const invoice = getInvoicePayload({ billingResult, });