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

Support free plans. #36

Closed
wants to merge 1 commit into from
Closed

Conversation

brentc
Copy link
Contributor

@brentc brentc commented Mar 30, 2014

Fixes #24

Plans without pricings will be plan.is_free(): true. Switching to these
plans causes the userplan have it's expiry field set to None

Since there's no userplan.expiry, the standard plan change process doesn't
make sense, so the plan table is adjusted to present the standard plan
order links rather than plan change links.

Note: I have not implemented the presentation layer/tagging suggestion
from #24, but I think the handling of the free plan in the plan table may be
sufficient for now (for our purposes it is).

Fixes django-getpaid#24

Plans without pricings will be `plan.is_free: true`. Switching to these
plans causes the userplan have it's expiry cleared.

Since there's no expiry set, the standard plan change process doesn't
make sense, so the plan table is adjusted to present the standard plan
order links rather than plan change links.
@zaubererty
Copy link

Are there any plans to merge this?

@Alir3z4 Alir3z4 self-requested a review December 3, 2017 21:35
@Alir3z4 Alir3z4 assigned Alir3z4 and brentc and unassigned Alir3z4 Dec 3, 2017
@Alir3z4
Copy link
Collaborator

Alir3z4 commented Dec 3, 2017

@brentc This is a good idea.
I'll review and get back to you soon.

after ~4 years

Copy link
Collaborator

@Alir3z4 Alir3z4 left a comment

Choose a reason for hiding this comment

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

Need to get fixtures conflicts solved.

@PetrDlouhy
Copy link
Collaborator

@Alir3z4 I hope, that everything here got merged, so you can close this.

Romamo pushed a commit to Romamo/django-plans that referenced this pull request Jul 28, 2021
@Alir3z4 Alir3z4 closed this Oct 11, 2021
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.

Support for a free plan
4 participants