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

Now taking advantage of subscriptions table #28

Merged
merged 9 commits into from
Dec 21, 2023

Conversation

dparker1005
Copy link
Member

In PMPro 3.0, we are adding the pmpro_subscriptions table which will track subscriptions and next payment dates more accurately.

This PR has the following benefits for PMPro 3.0 sites:

  • Compatibility with plugins/custom code that modify next payment dates
  • Simplified database query
  • Simplified tracking for renewals that have already been sent
  • MMPU compatibility
  • Backwards compatibility when migrating from pre-3.0 setups

In order to implement those improvements, the following features have also been deprecated:

  • !!billinginfo!! email template variable, which may not have been accurate previously anyways
  • The $lastorder parameter of the pmprorm_send_reminder_to_user filter since we are no longer querying by orders

@dparker1005 dparker1005 merged commit b8e381f into strangerstudios:dev Dec 21, 2023
@dparker1005 dparker1005 deleted the subs-table branch December 21, 2023 18:46
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

1 participant