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(credit_notes): Update Segment payload #646

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

vincent-pochet
Copy link
Collaborator

Roadmap Task

👉 getlago/lago#59

Context

The objective of this feature is to introduce a new concept of credit notes.

The main reason behind this need is to handle the following case:

  • If an overdue has been paid because a customer passes from a yearly plan to a monthly plan (in_advance), we charge the customer as if the remainder does not exist.

Description

This PR updates the Segment tracking payload to match the specs

@vincent-pochet vincent-pochet added the Credit Note Related to Credit Note label Dec 5, 2022
@vincent-pochet vincent-pochet self-assigned this Dec 5, 2022
@vincent-pochet vincent-pochet merged commit df318a2 into main Dec 6, 2022
@vincent-pochet vincent-pochet deleted the ftr-credit-notes-segment branch December 6, 2022 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Credit Note Related to Credit Note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants