Skip to content

Conversation

groyoh
Copy link
Contributor

@groyoh groyoh commented Jun 6, 2025

Context

We didn't send the invoice.payment_status_updated webhook if a manual payment is recorded on an invoice and the payment status is updated.

Steps to reproduce:

  1. Find an overdue invoice.
  2. Select the "record a payment" option.
  3. Record a payment for the amount of the overdue invoice (this changes the payment status to "succeeded").
  4. No webhook is triggered.

Description

This PR fixes sending of invoice.payment_status_updated webhook on manual payment recording.

Copy link
Contributor

@julienbourdeau julienbourdeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@groyoh
Copy link
Contributor Author

groyoh commented Jun 6, 2025

Thanks @rsempe @julienbourdeau 🙏

…k on manual payment recording

We didn't send the `invoice.payment_status_updated` webhook if a manual payment is recorded on an invoice and the payment status is updated.

Steps to reproduce:

1. Find an overdue invoice.
2. Select the "record a payment" option.
3. Record a payment for the amount of the overdue invoice (this changes the payment status to "succeeded").
4. No webhook is triggered.
@groyoh groyoh force-pushed the fix/invoice-payment-webhook branch from a487578 to c9cc664 Compare June 12, 2025 06:56
@groyoh groyoh merged commit 5bd2249 into main Jun 12, 2025
14 checks passed
@groyoh groyoh deleted the fix/invoice-payment-webhook branch June 12, 2025 07:09
diegocharles pushed a commit that referenced this pull request Jul 11, 2025
…k on manual payment (#3795)

## Context

We didn't send the `invoice.payment_status_updated` webhook if a manual payment is recorded on an invoice and the payment status is updated.

Steps to reproduce:

1. Find an overdue invoice.
2. Select the "record a payment" option.
3. Record a payment for the amount of the overdue invoice (this changes the payment status to "succeeded").
4. No webhook is triggered.

## Description

This commit fixes sending of `invoice.payment_status_updated` webhook on manual payment recording.
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.

3 participants