Skip to content
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

misc(payment): Avoid error webhooks on small amount failure #2994

Merged

Conversation

vincent-pochet
Copy link
Collaborator

Description

This PR is part of the recent payment handling refactoring.

It makes sure that failed payment attempts with an amount_too_small error does not lead to an error webhook but only keeps the payment with a failed status and pending payable_payment_status. allowing reprocessing of the payment or grouping in a payment request, without spamming the organization owner

@vincent-pochet vincent-pochet force-pushed the misc-avoid-error-webhook-for-small-payment-amount branch from e30f35c to 0604e13 Compare December 23, 2024 09:02
@vincent-pochet vincent-pochet merged commit 1b6e794 into main Dec 23, 2024
6 checks passed
@vincent-pochet vincent-pochet deleted the misc-avoid-error-webhook-for-small-payment-amount branch December 23, 2024 09:26
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