Skip to content

MemberPress on WordPress — operational picks that matter

A WordPress MemberPress operational guide: the rule configuration that scales, the payment gateway settings that survive a chargeback, and the recurring-billing edge cases you need to test before launch.

MemberPress on a WordPress site handles paywalls, recurring billing, and content access rules. It also has more configuration surface than any membership plugin in the ecosystem, and most of the support tickets we see are not bugs — they’re rules configured one way at signup and another way at renewal. The operational discipline matters more than the plugin.

What’s happening

MemberPress stores memberships, subscriptions, transactions, and access rules in five custom tables (wp_mepr_*). Access is evaluated on every request via the rules engine — each rule maps content (post, category, custom post type, URL pattern) to a membership. When a user requests protected content, MemberPress runs through every active rule looking for a match, then checks the user’s active subscriptions. On a site with 200 rules and 5,000 active subscribers, this evaluation happens on every page view. Caching helps but the rules table itself needs to stay tight.

How to verify

Inspect the MemberPress configuration shape:

wp db query "SELECT COUNT(*) FROM wp_mepr_rules"
wp db query "SELECT status, COUNT(*) FROM wp_mepr_subscriptions GROUP BY status"
wp db query "SELECT gateway, COUNT(*) FROM wp_mepr_transactions GROUP BY gateway"
wp option get mepr_options --format=json | jq '.payment_methods, .currency_code, .global_styles_disabled, .force_login_page_url'

Check the rules engine evaluation cost on a protected page:

wp eval 'define("SAVEQUERIES",true); wp_remote_get("https://example.com/members/protected-page/"); global $wpdb; foreach($wpdb->queries as $q) if(stripos($q[2],"MeprRule")!==false||stripos($q[0],"mepr_rules")!==false) echo $q[0]."\n";' | wc -l

Pull failing transactions over the last 30 days:

wp db query "SELECT created_at, gateway, status, response FROM wp_mepr_transactions WHERE status='failed' AND created_at > DATE_SUB(NOW(), INTERVAL 30 DAY) ORDER BY created_at DESC LIMIT 50"

The fix

  1. Use category-based rules, not URL-pattern rules, wherever possible. Each URL pattern rule is evaluated against the current URL on every request. Category rules pre-filter to posts in specific categories and are much cheaper.
  2. Cap the number of active rules at 50. Beyond that, consolidate. If you have 30 rules protecting 30 individual posts in the same membership tier, replace them with one category rule and assign the posts to that category.
  3. Stripe over PayPal as primary gateway. Stripe’s recurring billing, dispute API, and webhook reliability are stronger. Keep PayPal as a secondary if your audience demands it but route renewals through Stripe.
  4. Configure the webhook retry behavior. Stripe and Authorize.net both retry failed webhooks. MemberPress’s webhook endpoint must be reachable behind any WAF rules — whitelist Stripe’s and Authorize.net’s IP ranges or your renewals silently stop processing.
  5. Set up the transaction failure handler. When a recurring charge fails (expired card, insufficient funds), MemberPress can suspend access immediately or grant a grace period. A 3-7 day grace is the operational default; immediate suspension creates support tickets, longer grace creates revenue leakage.
  6. Test the cancellation flow before launch. Self-service cancel must actually revoke access at end-of-period, not immediately. The setting is revoke_access_on_cancel — verify it matches the policy you advertise.
  7. Don’t let MemberPress send transactional email directly. Route through SES, Postmark, or another transactional provider via WP Mail SMTP. MemberPress’s default mail goes through wp_mail() and ends up in spam.

Stack Harbor runs MemberPress under enterprise WordPress hosting with webhook monitoring, transaction failure alerting, and rules-engine performance audits as part of the operating model. If your MemberPress install is producing more support tickets than recurring revenue, book an audit. The enterprise WordPress hosting team owns the payment gateway integration and the access-control surface together.