Skip to content

P3-5: Implement DB-backed idempotency via idempotency_key #204

@tcheeric

Description

@tcheeric

Description:
Use idempotency_key column to deduplicate webhook processing.

Changes required:

  • Add idempotency store logic in dispatcher.
  • Handle duplicates with WebhookDuplicateException (200).

Acceptance criteria:

  • Duplicate webhook payloads are treated as idempotent success.
  • Idempotency is persisted to the database.

Estimated hours: TBD
Priority: Medium
Branch name: refactor/phase-3-task-5
Dependencies: P3-4

Metadata

Metadata

Assignees

Labels

databaseDatabase schema and migrationsmodule/webhookWebhook framework modulesproject-payment-adapter-refactorPayment adapter refactoring plan trackingrefactorRefactoring and module restructuring

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions