Plugin Directory

Restrict With Stripe – Sell Access to Posts and Pages with Stripe

Restrict With Stripe – Sell Access to Posts and Pages with Stripe


The building power of WordPress combined with the payment processing power of Stripe

WordPress has all the tools that you need to build content that is worth buying, but what is the best way to actually sell it?

Traditional e-commerce plugins typically integrate with payment gateways to process payments, but often try to recreate existing payment features such as order management directly on your WordPress website. Although handling some payment processes on-site is necessary for some e-commerce websites, it adds complexity that is not necessary for most websites.

Instead of recreating payment features within WordPress, Restrict With Stripe harnesses the full power of Stripe to handle the entire e-commerce workflow including:
* Hosted checkout page built to maximize conversions powered by Stripe Checkout
* Hosted customer portal where users can view their payment history and manage their subscriptions
* Streamlined dashboard for site administrators to manage products, customers, subscriptions, and more
* Integrated tax solution with powered by Stripe Tax
* Advanced reporting features

Build your content with WordPress. Let Stripe handle the payments.

Streamlined Setup

  1. Connect to Stripe: Integrate your site with Stripe.
  2. Create Products in Stripe: Create a product for each post, page, category, or tag that you want to sell access to.
  3. Add Restrictions to Site Content: Restrict access to content you want to sell.
  4. Link to Stripe Customer Portal: Link users to their payment history and let them manage their subscriptions.
  5. Customize Advanced Settings: Customize the plugin to fit the needs of your specific site.

Building a Membership Site?

Restrict With Stripe is a great streamlined solution for selling access to posts and pages, but if you are trying to build a more advanced membership website and need additional features such as restricting other types of content, adding custom fields at checkout, building a member directory or integrating with other WordPress plugins, then Paid Memberships Pro (our sister plugin), may be a better option for your website.


Denne utvidelsen gir 1 blokk.

  • Stripe Customer Portal Redirect users to Stripe to manage their purchases.


Download, Install and Activate!

  1. Go to Plugins > Add New to find and install Restrict With Stripe.
  2. Or, download the latest version of the plugin, then go to Plugins > Add New and click the «Upload Plugin» button to upload your .zip file.
  3. Activate the plugin.

Complete the Initial Plugin Setup

Go to Settings > Restrict With Stripe in the WordPress admin to begin setup.


I need help installing, configuring, or customizing the plugin.

Please visit the WordPress support forum for more documentation and our support forums.

I found a bug in the plugin.

If you find an issue/bug, let us know by creating a detailed GitHub issue.

How can I test this plugin without processing real payments?

You can connect to a Stripe account in test mode by adding the following line of code to a code snippet before connecting to Stripe:
add_action( ‘rwstripe_connect_in_test_mode’, ‘__return_true’ );


Det er ingen omtaler av denne utvidelsen.

Bidragsytere og utviklere

“Restrict With Stripe – Sell Access to Posts and Pages with Stripe” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.



1.0.9 – 2023-06-09

  • ENHANCEMENT: Added a new filter rwstripe_checkout_session_params to allow developers to modify the parameters sent to Stripe Checkout.
  • ENHANCEMENT: Added a new filter rwstripe_format_price to allow developers to modify how product prices are displayed.
  • ENHANCEMENT: Added a new filter rwstripe_restricted_content_message to allow developers to modify the «purchase product» box.

1.0.8 – 2023-06-08

  • ENHANCEMENT: Changing the_content filter priority to 15 to allow other plugins to run before the content is restricted. Adds compatibility with plugins like Elementor.

1.0.7 – 2023-04-20

  • BUG FIX/ENHANCEMENT: Now showing link to manage Stripe products in classic editor.
  • BUG FIX/ENHANCEMENT: Now showing «No products found» message when applicable in classic editor and terms pages.
  • BUG FIX: Fixed duplicated settings in block editor.

1.0.6 – 2023-03-29

  • ENHANCEMENT: Post restrictions can now be set in classic editor.

1.0.5 – 2023-03-21

  • ENHANCEMENT: Stripe Customer ID can now be added when creating a user.
  • ENHANCEMENT: Stripe Customer ID can now be edited when editing a user.

1.0.4 – 2023-03-15

  • BUG FIX: Fixed issue where advanced settings may not be saved correctly.
  • BUG FIX: Fixed issue where application fee may not be calculated correctly.

1.0.3 – 2022-12-09

  • ENHANCEMENT: Now supports «Customer chooses price» option for Stripe Prices.
  • ENHANCEMENT: Free subscriptions no longer need to be created alongside one-time payment prices.
  • BUG FIX: Fixed issue where «log in» link would not display correctly for logged out users.
  • BUG FIX: Fixed issue where the «choose price» dropdown may be cut off while using some themes.

1.0.2 – 2022-11-04

  • ENHANCEMENT: Updated pot file.
  • REFACTOR: Better escaping to avoid scanner issues.

1.0.1 – 2022-11-02

  • SECURITY: Improved escaping and sanitization.

1.0 – 2022-10-31

  • NOTE: Initial Release. Enjoy!