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

Bug: Direct link to a payment plan #62

Open
2 tasks done
michaelbeil opened this issue Aug 15, 2023 · 1 comment · May be fixed by #76
Open
2 tasks done

Bug: Direct link to a payment plan #62

michaelbeil opened this issue Aug 15, 2023 · 1 comment · May be fixed by #76

Comments

@michaelbeil
Copy link

michaelbeil commented Aug 15, 2023

Describe the bug
A site owner can't link directly to a payment plan.

To Reproduce
Steps to reproduce the behavior:

  1. Set up several payment plans for a level.
  2. Use a link that selects the payment plan by appendiing ?level=3&pmpropp_chosen_plan_choice=2 or ?level=3&pmpropp_chosen_plan_choice_2 for example.
  3. The first payment plan is selected instead.

Expected behavior
One should people be able to link directly to a payment plan.

This came up in ticket (ID 511872) and I could replicate.

Isolating the problem:

  • I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro and Payment Plans Add On are active.
  • This bug happens with a default WordPress theme active, or Memberlite.

WordPress Environment

``` Paid Memberships Pro 2.12.2, Payment Plans Add On 0.2, WordPress 6.3, PHP 7.4.30 ```
@andrewlimaza
Copy link
Collaborator

For the mean time, here is a gist that you may add to your site - https://gist.github.com/andrewlimaza/f6e320a9e1e64e99ef1b6cf1f3265811

This works fine, and I don't foresee any issues with this (and we could look at merging this in, in the near future)

MaximilianoRicoTabo added a commit to MaximilianoRicoTabo/pmpro-payment-plans that referenced this issue Nov 26, 2024
MaximilianoRicoTabo added a commit to MaximilianoRicoTabo/pmpro-payment-plans that referenced this issue Nov 26, 2024
MaximilianoRicoTabo added a commit to MaximilianoRicoTabo/pmpro-payment-plans that referenced this issue Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants