strangerstudios / pmpro-pay-by-check

Add a "Pay by Check" option to PMPro levels, and keep members in "pending" status until an admin changes the order status.
https://www.paidmembershipspro.com/add-ons/pmpro-pay-by-check-add-on/
11 stars 27 forks source link

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

Closed JarrydLong closed 1 year ago

JarrydLong commented 1 year ago

All Submissions:

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:

Changelog entry

Check only levels no longer show multiple gateway options