Skip to content

[6.6.x] feat: silence webhook token errors #177

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:41
@cyl3x cyl3x self-assigned this Mar 20, 2025
@cyl3x cyl3x merged commit c5f10e8 into 6.6.x Mar 20, 2025
21 checks passed
@cyl3x cyl3x deleted the feat/silence-webhook-token-errors-66 branch March 20, 2025 12:08
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