Skip to content

Webhook listener for invoice.paid#1220

Open
BrandonCzaja wants to merge 1 commit intopay-rails:mainfrom
BrandonCzaja:issue_1219/add_additional_listeners
Open

Webhook listener for invoice.paid#1220
BrandonCzaja wants to merge 1 commit intopay-rails:mainfrom
BrandonCzaja:issue_1219/add_additional_listeners

Conversation

@BrandonCzaja
Copy link

@BrandonCzaja BrandonCzaja commented Feb 24, 2026

Pull Request

Summary:

Original Discussion Thread

Creating a webhook listener for invoice.paid to sync local invoice records with the API to prevent stale local records.

Related Issue:
Resolving: Issue: 1219

Description:
Adding invoice.paid listener to sync local records.

Testing:
Three tests to ensure the class exits early if the correct conditions are not met. One test check the actual syncing is done correctly.

Screenshots (if applicable):

Checklist:

  • Code follows the project's coding standards
  • Tests have been added or updated to cover the changes
  • Documentation has been updated (if applicable)
  • All existing tests pass
  • Conforms to the contributing guidelines

Additional Notes:

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.

1 participant