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

Filter out cancelled holiday stops #404

Merged
merged 2 commits into from Sep 10, 2019
Merged

Conversation

kelvin-chappell
Copy link
Member

@kelvin-chappell kelvin-chappell commented Sep 4, 2019

This is to ensure the holiday-stop processor ignores cancelled subscriptions.

It depends on guardian/salesforce#40.

@kelvin-chappell kelvin-chappell requested a review from a team September 4, 2019 13:50
@coveralls
Copy link

coveralls commented Sep 4, 2019

Coverage Status

Coverage increased (+0.04%) to 59.005% when pulling 7b4622f on kc-ignore-cancelled into 5ec2f26 on master.

To find cancellation status of subscriptions.
@kelvin-chappell
Copy link
Member Author

Now using cancellation effective date but I'm not sure what should happen when the stop date coincides with the cancellation effective date. So now if cancellation becomes effective before the stop date the subscription will be ignored.

Copy link
Contributor

@twrichards twrichards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM - since the product is 'cancelled' ON the 'cancellation effective date' your > query is the right one

@kelvin-chappell kelvin-chappell merged commit 74e7c95 into master Sep 10, 2019
@kelvin-chappell kelvin-chappell deleted the kc-ignore-cancelled branch September 10, 2019 07:52
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.

None yet

4 participants