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

Feature: Extend membership if existing level present #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aquiferweb
Copy link

This relies on a fix for issue 13.
I've attempted to check for an existing membership level, and if it exists, to base the expiry date calculation on the existing expiry date, rather than always basing it on the current time.
I'm unsure about two things:

  • whether this plays nicely with discount code features
  • whether the tweak I added regarding dates at the end of the month (line 401) is necessary or useful to anyone else.

…r to allow access to $user_id when processing IPNs from Paypal (no change in current functionality, but allows future modifications)
…han always basing the calculation on the current time
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.

1 participant