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

Function pmprosm_sponsored_account_change not working when Sponsor Changes Membership Level #113

Open
3 tasks done
kimwhite opened this issue Aug 15, 2022 · 0 comments
Open
3 tasks done

Comments

@kimwhite
Copy link
Contributor

Describe the bug
When a SPONSOR changes from one sponsor level to another, the Discount Code is not changed to represent the changes in child membership it applies to.

To Reproduce

  1. Install Sponsored Members Add On.
  2. Create 4 Levels: SPONSOR 1, CHILD 1, SPONSOR 2, CHILD 2
  3. Add Code Snippet for the above levels to work.
  4. Check out for SPONSOR 1.
  5. Same User checkout for SPONSOR 2,
  6. Compare Sponsor Code Settings. Only seat amount changes. It should have changed to work for level 4, changes seats but not level for level 2.

Screenshots
If applicable, please attach a screenshot to make your issue clearer.

Expected behavior
Changing Sponsor Level should update Discount Code to new amount AND level it applies to.

Isolating the problem (mark completed items with an [x]):

  • I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin is active.
  • This bug happens with a default WordPress theme active, or Memberlite.
  • I can reproduce this bug consistently using the steps above.

WordPress Environment
WordPress 6.0.1
Twenty Twenty Theme
PMPro 2.9.2
Sponsored Members Add On .10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants