You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement strict validation for payment callback webhooks #461
The payment callback endpoints currently process external webhook data without a centralized validation layer. This introduces potential risks related to malformed payloads, inconsistent structures, and unsafe data handling.
This issue proposes implementing strict request validation for all supported payment processor callbacks.
Proposed Solution
Introduce a unified schema-based validation system for incoming webhook requests.
Key tasks:
Create centralized schema definitions for callback payloads
Validate all incoming callback requests before business logic execution
Align callback validation with the project's existing validation patterns
Additional Context
Related TODO: Validate markers in src/controllers/callbacks/
Activity
feat(payments): implement strict validation for payment callbacks
feat: implement strict validation for payment callbacks
feat: implement strict validation for payment callbacks (#426)
feat: implement strict validation for payment callbacks (cameri#426)