Skip to content

[6.5.x] feat: silence webhook token errors #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

cyl3x
Copy link
Contributor

@cyl3x cyl3x commented Mar 20, 2025

Actual behaviour

Stale webhook registered at PayPal are still fired and causing unnecessary logging overhead.

Solution

Since logging is already in place, there is no need to throw exceptions again. Instead, we'll gracefully return a bad request status code. We're also giving advice to check the registered webhooks, otherwise it's not clear what to do.

@cyl3x cyl3x requested review from Bird87ZA and mstegmeyer March 20, 2025 11:42
@cyl3x cyl3x self-assigned this Mar 20, 2025
@cyl3x cyl3x changed the title feat: silence webhook token errors [6.5.x] feat: silence webhook token errors Mar 20, 2025
@cyl3x cyl3x merged commit 7ccf5a9 into 6.5.x Mar 20, 2025
29 checks passed
@cyl3x cyl3x deleted the feat/silence-webhook-token-errors-65 branch March 20, 2025 14:43
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.

2 participants