Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
109.5 KB
MD5: 0f770031110d4ce6f7cc09537d0bf539
SHA-1: f87169a2826695ad06b421c9ecd8bd817894bf92
SHA-256: 3d97dbe4ce45d9392bda3e3a0e5259cd7bcc3497b827f869c4e7dfb1f1f77c52
Download zip
183.16 KB
MD5: 1e1b7313f899a8c1e69caec7e5c2edcb
SHA-1: 145350574ddf86bd1a7246e249bee1244395e313
SHA-256: e11c2ac8ef9e7029d5bd6589868e0b69140fc88e931cc5ab03ac19f756ca2684
Release notes
Feature release — Phase 3 of the stable-release roadmap (#3616939: Stable release roadmap). Sites upgrading run updates 10015–10020; the connector chooser replaces the default connector setting (your configured default migrates automatically), and a Billing history link appears in the account menu after a cache rebuild. Each feature has a change record, linked below.
- Charge-based billing cycles (#3618739: Add a charge-based connector mode with a local billing cycle engine): connectors can provide only a payment primitive (a bank-debit mandate, a vaulted card) while Subscription Manager owns the billing cycle — monthly or yearly periods with month-end day clamping, a
subscription_chargerecord per period as the audit trail and idempotency key, immediate prorated upgrades, downgrades at the next anchor, refunds, and configurable zero-amount period records. Existing self-scheduling connectors are unaffected. Change record. - Connector chooser and steering (#3616769: Add a connector chooser to the subscribe flow when multiple connectors provide plans): when more than one connector offers visible plans, subscribers pick their payment rail on a chooser page (or via the subscribe-url API's new multi-connector response). Order, labels, and descriptions are configurable per connector — restricted HTML allowed — and the first row is the default and recommended connector, replacing the old
default_connectorsetting. Change record. - Usage-based charges (#3615735: Add a rating step for usage-based charges, delivered per connector scheduling mode): implement
UsageRaterInterfaceas a tagged service and the cycle engine bills rated usage in arrears alongside the advance base fee, recording the lines on each charge. Change record. - Tax and invoicing seam (#3618741: Add a pluggable tax/invoice service seam (calculation, evidence, invoice reference), keeping tax engines out of core):
TaxInvoiceServiceInterfaceplugs a real tax engine into every charge — calculation (inclusive or exclusive, any number of tax lines), invoice registration (references stored on charges), and credit notes for refunds. Ships as a null service; bridge modules replace it. Change record. - Billing history (#3621282: Show subscribers their invoice history in the membership portal): subscribers see their charges and reach hosted invoices at
/user/{user}/billing-history; administrators can view any member's history. Change record. - Also: default admin views for all three entity types, Views data for charges, and failure records that preserve the full line-item audit trail. Kernel test suite grown from 62 to 105 tests.