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(customers): Apply currency to customers #478

Merged
merged 12 commits into from
Sep 26, 2022

Conversation

vincent-pochet
Copy link
Collaborator

Context

Currently, we cannot apply a coupon, an add-on or even prepaid-credits if a customer has no active subscription. This problem happen because customer object does not hold the currency directly, but via the currency of the plan of it’s first active subscription.

It’s a problem when a plan is invoiced in-advance because it can then take up to 1 year to apply the mentioned objects on the first generated invoice.

Description

This PR is the final branch for this feature, it's the merge in a single branch of pre-reviewed feature branch, in order to QA and merge the feature in a single branch.

Previous closed PR:

Related Task

@vincent-pochet vincent-pochet force-pushed the feature/customer-currency branch from 92ac24f to d5439a2 Compare September 23, 2022 09:31
@vincent-pochet vincent-pochet force-pushed the feature/customer-currency branch from bc7c003 to 94cd54f Compare September 26, 2022 07:56
@vincent-pochet vincent-pochet merged commit 9e0c19a into main Sep 26, 2022
@vincent-pochet vincent-pochet deleted the feature/customer-currency branch September 26, 2022 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Customer management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants