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

Removes the PPExp Toggle Section for a Check Only level #87

Merged
merged 1 commit into from
Aug 11, 2023

Commits on Mar 21, 2023

  1. Removes the PPExp Toggle Section for a Check Only level

    ### All Submissions:
    
    * [x] Have you followed the [Contributing guideline](https://github.com/strangerstudios/paid-memberships-pro/blob/master/.github/CONTRIBUTING.md)?
    * [x] Does your code follow the [WordPress' coding standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/)?
    * [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/strangerstudios/paid-memberships-pro/pulls) for the same update/change?
    
    <!-- Mark completed items with an [x] -->
    
    <!-- You can erase any parts of this template not applicable to your Pull Request. -->
    
    ### Changes proposed in this Pull Request:
    
    The PayPal Express Add On adds a toggle section which doesn't get removed for levels that only allow a Check payment.
    
    This removes that section where necessary.
    
    ### How to test the changes in this Pull Request:
    
    1. Activate PMPro, PayPal Express Add On and Pay By Check Add On
    2. Set a level to only allow payment by Check
    3. The toggle/radio buttons should no longer show on checkout
    
    ### Other information:
    
    * [x] Have you added an explanation of what your changes do and why you'd like us to include them?
    * [x] Have you successfully run tests with your changes locally?
    
    <!-- Mark completed items with an [x] -->
    
    ### Changelog entry
    
    Check only levels no longer show multiple gateway options
    JarrydLong committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    1b2f861 View commit details
    Browse the repository at this point in the history