Describe the bug
If a user already has a membership level and donates by checking out for a donation-only level their level is changed to the donation-only level if the donation-only level is inside the same level group that only allows a user to have one membership level in that group.
To Reproduce
Steps to reproduce the behavior:
- Go to Memberships > Settings > Levels, create a new level group that allows users to only select one level from this group.
- Add a free level and a donations-only level to this group.
- Check out for the free level.
- Check out for the donation-only level
- See on the membership account page that the user's level changed from the free level to the donations-only level.
Expected behavior
When a user checks out for a donation-only level their original level should not be replaced with the donation-only level.
Isolating the problem (mark completed items with an [x]):
WordPress Environment
Details
```
PMPro 3.0.3
```
Describe the bug
If a user already has a membership level and donates by checking out for a donation-only level their level is changed to the donation-only level if the donation-only level is inside the same level group that only allows a user to have one membership level in that group.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When a user checks out for a donation-only level their original level should not be replaced with the donation-only level.
Isolating the problem (mark completed items with an [x]):
WordPress Environment
Details
``` PMPro 3.0.3 ```