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

pmprogl_overwrite_confirmation_url doesn't consider pending orders #69

Open
3 tasks done
dparker1005 opened this issue Dec 11, 2023 · 1 comment
Open
3 tasks done
Labels

Comments

@dparker1005
Copy link
Member

Describe the bug
When purchasing a gift, we redirect users to the invoice page after checkout using the pmprogl_overwrite_confirmation_url method; however, this does not work if the new invoice is in pending status instead of success.

To Reproduce

  1. Activate Gift Levels and Pay By Check
  2. Purchase a gift level using a check payment
  3. See that checkout does not redirect to the invoice page for the newly generated pending invoice.

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

``` Please share non-sensitive information about your hosting environment such as WordPress version, PHP version, Paid Memberships Pro and any related plugins versions. ```
@kimcoleman
Copy link
Member

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

No branches or pull requests

2 participants