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

fix(payment): Handling of amount_too_small - stripe webhooks #2985

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

vincent-pochet
Copy link
Collaborator

Description

This pull requests fixes two issues related to the recent refactoring of the payment handling on payment providers:

  • It makes sure that amount_too_small raised by stripe are correctly handled, by failing the Payment record and by setting the invoice.payment_status back to pending
  • I fixes some issues related to missing payment found/created on the fly when receiving Stripe webhooks for payment_intend

@vincent-pochet vincent-pochet changed the title Misc payment cleanup fix(payment): Handling of amount_too_small - stripe webhooks Dec 19, 2024
@vincent-pochet vincent-pochet merged commit 6b96df4 into main Dec 19, 2024
6 checks passed
@vincent-pochet vincent-pochet deleted the misc-payment-cleanup branch December 19, 2024 14:59
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