Plenty of publishers and online businesses are using paywalls to monetize their premium content these days. You don’t need to completely change your content management system to add this feature to your own site. Take Paywall for WooCommerce: it is a handy plugin that lets you create premium products and restrict access to them only to paying customers.
Paywall for WooCommerce lets you change the purchase expiration length in the back-end. You simply have to provide this plugin with URLs for visible and hidden media, which will be shown when payment is complete. YouTube/Vimeo URLs, PDFs, audio files, and images are supported.