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 you to charge users a fee before their submitted content becomes publicly visible. It integrates with Drupal Commerce to handle payments and automatically publishes the content once the payment is completed.

For users new to Drupal, Commerce Node Pay bridges the gap between content creation and e-commerce. Usually, Drupal keeps "articles" and "products" separate; this module connects them. It provides a straightforward solution for site owners who want to charge users a fee before their submitted content (nodes) becomes visible to the public.

Features

Pay-to-Publish Workflow: Automatically holds a node as "unpublished" until a successful checkout is completed.

Commerce Integration: Leverages the full power of Drupal Commerce, including multiple payment gateways, taxes, and promotions.

Per-Content-Type Pricing

Automatic Publishing: Once the order status reaches "Completed," the node is automatically published without manual admin intervention.

Use Cases: Classified ad sites, business directories, sponsored guest posts, or event listings.

Post-Installation

After enabling the module, you can configure the pay-to-publish workflow through a centralized settings page. Please note the specific requirement for your product variations:

Navigate to Configuration: Go to Configuration > Commerce > Commerce Node Pay Settings.

Configure Mappings: On this form, you will select:

The Content Type you want to monetize.

The Product Variation Type (once this is chosen, the Duration trait will be automatically injected into it).

The specific Product Variation default duration.

How it Works: Once configured, when a user creates a node of the selected type, the module adds the linked product variation to their cart and redirects them to checkout. The node remains unpublished until the payment is confirmed.

Permissions: Ensure that users have the permission to "Access checkout" and create the specific content types you have mapped.

Additional Requirements

Drupal Commerce: This module requires the Commerce suite (specifically the Checkout and Order modules) to function.

Commerce Shipping: If you want to collect physical billing addresses during the post-payment process.

Similar projects

Commerce License: While powerful, it is often overly complex for simple "one-off" post payments. Commerce Node Pay is lighter and focused specifically on the Node entity.

Webform Share/Pay: This works for Webforms, whereas our module is built for the native Drupal Node system, ensuring better compatibility with standard themes and Search API.

Community Documentation

Video Walkthrough: https://www.youtube.com/watch?v=wLSwcWhrA04

Activity

Total releases
1
First release
Jan 2026
Latest release
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Jan 27, 2026