Set up payment for your content
Last updated on
16 February 2021
To manage natively in your Drupal 8 system the payment of the subscriptions for Role Paywall you can easily handle it with the Drupal Commerce tools. Especially with the module Commerce License.
Steps to configure it:
- Install required modules with
composer require drupal/role_paywall drupal/commerce_license - Configure the Role Paywall as described in the Role Paywall documentation
- Configure the Commerce License module (create a store, a subscription product, a variation (p.e. Monthly subscription), etc). You can follow the module documentation to do it.
- Use the license type to
Roleset up the role with access to the paywall content to be granted after the purchase of the 'license'.
With these simple 4 steps, your site will be able to sell premium access to your content.
You can also extend your user journey with the Article Test module.
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion