remove temporary logging from auto-topup webhook flow

This commit is contained in:
Owen Greenhalgh
2026-05-01 09:52:41 +01:00
parent bc89c5ca4a
commit 096edfd158
2 changed files with 0 additions and 8 deletions

View File

@@ -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,

View File

@@ -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,
});