Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

Configuration

User field

This payment gateway gives you the option of requiring users to be approved to use purchase orders. When it is installed it adds a field, Purchase Orders Authorized to the User entity. By default, this field is not displayed. To use this field, and require user pre-approval for Purchase Orders, begin by browsing to admin/config/people/accounts/form-display and move this field from Disabled into the form.

Payment Gateways

Payment gateways are added at admin/commerce/config/payment-gateways. Commerce Purchase Order adds the following to the gateway configuration form:

  • Limit maximum open purchase orders The number of unpaid purchase orders a customer has can be used to prevent new purchases. See Workflow below.
  • Purchase order users require approval in the user account settings When selected, the value of Purchase Orders Authorized is examined when the customer "pays and completes" the order. If the field is not checked (is FALSE) then the payment is denied (not authorized).
  • Payment instructions Formatted text instructing the user how to pay their Purchase Order amount. Displayed at checkout and in the confirming email.
  • Conditions: Customer - Limit by field: Purchase Orders Authorized This condition is useful when Commerce Purchase Order is one of multiple gateways enabled. When selected the gateway is only offered as an option if the Customer is approved to use it. See the discussion of the field Purchase Orders Authorized above.

Workflow

Commerce Purchase Orders normally progress through the following:

  1. New The checkout process has begun and a PO number assigned to a one-time payment method.
  2. Authorized The payment is saved and the user has checked out. The Purchase Order has not been paid.
  3. Paid A user with permission to administer payments has browsed to the payment tab of the relevant order, selected Receive as the operation, and recorded the payment by saving the Receive Payment form.

Activity

Total releases
2
First release
Feb 2025
Latest release
1 year ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
2.1.0 Stable Feb 25, 2025
2.1.x-dev Dev Feb 25, 2025