Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Commerce Node Pay

No security coverage Maintenance fixes only 5 sites

Part of the Commerce ecosystem · 487 projects

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

Drupal 10–11

Ask your assistant about Commerce Node Pay

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jan 2026
Latest release
8 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
1.0.0 Stable 10–11 Jan 27, 2026