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

Invoicing of free recurring plans trigger a double billing detection #783

Closed
pierre opened this issue Aug 2, 2017 · 1 comment
Closed
Assignees

Comments

@pierre
Copy link
Member

pierre commented Aug 2, 2017

Because $0 recurring items aren't repaired, after a change plan, we end up with two ADD items on the same interval (see

Preconditions.checkState(addItems.size() <= 1, "Double billing detected: %s", items);
).

@pierre pierre self-assigned this Aug 2, 2017
@pierre
Copy link
Member Author

pierre commented Aug 2, 2017

Depending on the scenario, a repair check of $0 can be triggered too (see

Preconditions.checkState(increment.compareTo(BigDecimal.ZERO) > 0, "Invalid repair increment='%s', item=%s", increment, this);
).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant