Restrict Checkout for Users with a History of Refunds

Let’s face it, dealing with refunds is an unavoidable part of your membership business. Some number of your refunds will be from legitimate users that realize they do not need or want your membership any more.

Some refunds, though, may be from abusive users who know that they can sign up, consume your membership product (whether that’s support, premium content or guides, downloads and more), then cancel and request a refund right away. If you are seeing this become a widespread problem, check out the code recipes below.

Limit the Number of Members by Membership Level

Restrict the number of members that can sign up for a membership level. The recipe adds a setting to your Memberships > Membership Levels > Edit Level admin page where you can set a value for “Maximum Members”. Once that limit is reached, no additional registrations will be allowed….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Restrict Membership Signup by Country

This code recipe allows you to restrict members in specific countries from signing up. The restricted countries are defined in a $restricted_countries array of level IDs and country codes (see the $pmpro_currencies array in the plugin file /includes/countries.php for included country codes)….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Offer Expired and “Old” Members a Membership Renewal Discount for Coming Back

You’re constantly improving your membership site features – now it’s time to let your expired members know about all the new stuff they are missing! Here are a few methods to sweeten the deal and give expired and “old” members a monetary incentive to renew.

Restrict Membership Signup by Email Domain (Useful for Education, Corporate, or Association Memberships)

The code recipe below allows you to limit membership signup by email address domain(s). Thanks, Harsha for this code!…

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Require a Specific Level to Allow Registration for Another Level

This code recipe outlines a method to require a member have “Level 1” Membership in order to complete checkout for “Level 2” membership….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now