This module integrates Webform with Drupal Commerce to create orders with the submission data of a Webform through a dedicated Webform handler.
Key features
- Commerce Webform Order Handler— a Webform handler that creates a Commerce order from a submission, with support for creating, updating, and deleting order items.
- Payment Method element— a Webform element that embeds the Commerce payment method selector directly inside your form.
- Purchasable Entity element— a Webform element for selecting any entity that implements
PurchasableEntityInterface(products, product variations, custom purchasable entities, etc.). - Flexible cart behavior— configure redirects, or clear the current cart.
How it works
- Build or edit a webform under
admin/structure/webform. (See the Webform documentation for details on the form builder itself). - Open the form's handlers screen at
admin/structure/webform/manage/`webform_id`/handlersand add the Commerce Webform Order Handler. - In the handler settings, you can customize:
- The store that sells the purchasable entities.
- The order item, including overrides for properties like price or currency.
- The cart behavior— redirection, or emptying the existing cart.
Try it out!
The fastest way to see Commerce Webform Order in action is the Commerce Webform Order Demo recipe, which installs the most common use cases out of the box.
Live examples
Live examples of this module working in the real world:
Awards

We're proud to share that the module Commerce Webform Order has been recognized by the Spanish Drupal community in the Drupal Splash Awards Spain 2025 as the winner in the Technology category.
Sponsors
This module exists thanks to the organizations that funded its development:
- Initial development: Fundación UNICEF Comité Español
- Contrib version: Awakened Heart Sangha
- Update/Delete order items: Mile3 Web Development, Inc.
- Payment method selector/Purchasable Entity: Asociación para la defensa de la naturaleza WWF/ADENA
Similar modules
Webform Product is the closest alternative, but the two modules solve different problems:
- Webform Product sells webform submissions— the submission itself is the purchasable thing. It currently works best with off-site payment providers.
- Commerce Webform Order is a thin layer on top of Drupal Commerce that lets you sell any entity implementing
PurchasableEntityInterface— products, variations, donations, memberships, or anything else you've defined.
If you need full Commerce flexibility (multiple purchasable entity types, on-site payments, complex pricing) while keeping Webform's UX, Commerce Webform Order is the right fit.
Looking for Drupal support?
- Premium support from the project maintainers
- Get in touch with us
Project information
- Project categories: E-commerce
- Ecosystem: Webform, Commerce Core
586 sites report using this module
- Created by facine on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.



