Skip to content

fix(core): webhook dedup log names the provider - #93

Open
moset15 wants to merge 1 commit into
emdashCommerce:mainfrom
FIKANOVA:fix/provider-neutral-dedup-log
Open

moset15 wants to merge 1 commit into
emdashCommerce:mainfrom
FIKANOVA:fix/provider-neutral-dedup-log

Conversation

@moset15

@moset15 moset15 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Found while testing #85. Independent of #85 and of the other follow-ups; merge in any order.

Problem

A skipped duplicate webhook logs Stripe webhook deduped, whichever provider sent it. A Paystack shop's log shows Stripe webhook deduped { stripeEventId: 'charge.success:dc-…' }.

Change

The log reads Webhook deduped { providerId, eventId, type }. If anyone filters logs on the old stripeEventId field, it is now eventId. The storage collection and its stripeEventId field are unchanged, since renaming them would need a migration.

Tested

The existing "skips an exact repeat" test now also checks the log line and provider. It fails without the change.

🤖 Generated with Claude Code

"Webhook deduped { providerId, eventId, type }" replaces "Stripe webhook
deduped" for every provider. Storage is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant