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

Fixes coupon resolving when switching subscription plans #489

Merged
merged 1 commit into from
Oct 31, 2018

Conversation

chrissrogers
Copy link
Member

@chrissrogers chrissrogers requested a review from csmb October 30, 2018 22:24
- When switching plans on a SubscriptionCheckout instance,
  the constituent discounts must be checked for compatibility and
  removed accordingly
- Fixes #488
@chrissrogers chrissrogers force-pushed the fix-coupon-plan-resolution branch from c67d9a2 to e9597fa Compare October 31, 2018 06:31
@@ -1,7 +1,7 @@
language: node_js
sudo: false
node_js:
- 'node'
- 10
Copy link
Member Author

@chrissrogers chrissrogers Oct 31, 2018

Choose a reason for hiding this comment

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

I had to pin this at node v10 to alleviate issues in CI -- cause as yet is undetermined. Only PhantomJS runs were affected by the bump to node v11, perhaps due to the wide impact of its upgrade of v8 internals.

@chrissrogers chrissrogers mentioned this pull request Oct 31, 2018
@csmb csmb merged commit b82938c into master Oct 31, 2018
@csmb csmb deleted the fix-coupon-plan-resolution branch October 31, 2018 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plan-restricted coupon works for another plan too
2 participants