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

feat: Send webhooks for invoice events #425

Merged
merged 1 commit into from
Dec 11, 2024
Merged

feat: Send webhooks for invoice events #425

merged 1 commit into from
Dec 11, 2024

Conversation

azhur
Copy link
Contributor

@azhur azhur commented Dec 9, 2024

Description

the invoice info we send:

pub struct Invoice {
    pub id: String,
    pub customer_id: String,
    pub status: InvoiceStatusEnum,
    pub currency: String,
    pub total: i64,      // todo convert to money?
    pub tax_amount: i64, // todo convert to money?
    pub created_at: NaiveDateTime,
}

Checklist

  • The code follows the project's coding conventions and style guidelines.
  • All tests related to the changes have passed successfully.
  • Documentation has been updated to reflect the changes (if applicable).
  • All new and existing unit tests have passed.
  • I have self-reviewed my code and ensured its quality.
  • I have added/updated necessary comments to aid understanding.

@azhur azhur marked this pull request as ready for review December 9, 2024 21:04
@azhur azhur requested a review from gaspb December 9, 2024 21:04
@azhur azhur merged commit bd8990c into main Dec 11, 2024
7 checks passed
@azhur azhur deleted the send-invoice-webhooks branch December 11, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants