Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows users to pay for content before it is published. It enables administrators to configure products that, when purchased, grant users the ability to publish specific types of content for a set duration.

The Commerce Pay Publish module allows you to link a product with a node type so that users can pay before publishing their content.

Features

  • Adds a new product type: Pay Publish (/product/add/pay_publish).
  • Lets you set how many nodes a user can publish after purchasing a product.
  • Allows you to set an expiration time for a node (how long it stays published).
  • Allows you to set an expiration time for the product itself.
  • Provides configuration options to link products to specific content types (/admin/config/commerce/commerce-pay-publish).
  • Lets you select a trial product (/admin/config/commerce/commerce-pay-publish).

Configuration Steps

  1. Install the module along with its required dependencies.
  2. Create products at /product/add/pay_publish (set title, bundle limit, expiration duration, and product expiration).
  3. Go to the configuration page and select the content type: /admin/config/commerce/commerce-pay-publish.
  4. (Optional) Select a trial product: /admin/config/commerce/commerce-pay-publish.
  5. Create a node of the selected content type.
  6. After saving the node, you will be redirected to /price?nid=[nid].
  7. Choose a product from the list.
  8. Click Add to Cart & Checkout.
  9. You will be redirected to the Order Information page.
  10. Click Continue to Review.
  11. Review your order.
  12. Click Pay to purchase the plan.
  13. Your node will be published automatically.

Similar Modules

Commerce Node Checkout

Activity

Total releases
2
First release
Sep 2025
Latest release
10 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.0 Stable Sep 9, 2025
1.0.x-dev Dev Sep 9, 2025