CartThrob 10 documentation for ExpressionEngine commerce teams Visit CartThrob.com
CartThrob.com

Changelog

Version 6.0.0

Release November 13, 2026

Requires CartThrob 10.0.1 or newer. See Upgrading to v6.0.0 notes.

Permissions Manager changes are listed separately in the Permissions Manager changelog.

Security

  • SECURITY: Hardened permission checks on customer-facing Subscription forms. Super Admins changing a customer’s Subscription through these forms must use Login as Member.
  • SECURITY: Hardened access checks and output in the subscriptions tag.
  • SECURITY: Hardened how stored legacy data is read.
  • SECURITY: Hardened how the Control Panel displays stored Subscription data.

Added

  • ADDED: Customers can choose subscription terms on signed forms. subscription_select declares the allowed choices, and form-tag options:<param> declarations support lists, numeric ranges and any for eligible terms. Numeric limits are enforced; Total Occurrences 0 means unlimited and the first payment counts. End-date rules use the site timezone and store a timestamp, and an end date cannot be in the past. Cart updates are scoped by row_id.
  • ADDED: A fixed parameter on the form tag takes precedence over a customer’s choice, and a form-tag options: list replaces the selector’s list. A value outside the declared list stops the add, or the whole cart update, with “Choose valid subscription options.”; undeclared protected fields are still ignored. A selector value that no longer decrypts, such as a page cached across an encryption-key change, gives the same error instead of silently adding a one-time item.
  • ADDED: update_subscription_form vault_mode="new|update|choose" (default new) adds a separate card for one Subscription or updates its current, possibly shared, card. Current-card variables and an {other_subscriptions} pair explain which other Subscriptions share it.
  • ADDED: delete_recurrent_billing_form provides {other_subscriptions}, {other_subscription_count} and replacement-card preview variables to explain the impact of deleting a saved card. Deletion uses CartThrob’s Vault service, and the replacement it previews and assigns is on the same gateway.
  • ADDED: The subscriptions tag’s payments pair lists a Subscription’s payment Orders with dates, currencies, statuses and invoice links, distinguishing missing history from a genuine zero.
  • ADDED: {plan_status} distinguishes the related Plan’s status from the Subscription’s own status; {change_plan_error} and {cancel_error} expose customer-facing form errors.
  • ADDED: Durable payment claims protect automatic rebills, manual charges, initial CP charges, Plan changes and cancellation refunds against overlapping payments and uncertain outcomes.
  • ADDED: Payment review: Payments > Needs review, Review labels and a read-only evidence panel identify unresolved charges and refunds independently of Subscription status. Verified Payment completed, Payment did not complete and Payment was reversed outcomes are recorded without contacting the gateway again, with a guarded workflow for refunds made in the processor’s dashboard.
  • ADDED: Rebill settings: Rebill Retry Interval (default 24 hours) spaces retries of held payments, and Rebill Action Key protects the HTTP rebill action. A notice above Settings explains which gateways support automatic payments.
  • ADDED: Next Billing Date on CP Create and Edit sets an explicit schedule and calendar anchor.
  • ADDED: Clone to New Plan in the Plan edit screen’s Save menu opens a prefilled Create Plan form.
  • ADDED: Server-side Subscription search by Subscription ID or name, member ID, username, name or email, and Order ID, with Plan, status and payment filters. Subscriber lists support member search.
  • ADDED: Example templates: a members page that protects content with has_subscription_permission, payment history on account, and a save_card_checkout example. Utilities > Installation creates a demo Permission and binds it to the members page and the sample product.
  • ADDED: cartthrob_subscription_rebill_carry_forward lets extensions supply permitted custom Order fields for renewal Orders without replacing protected financial or payment fields.

Fixed: access and cancellation

  • FIXED: has_subscription_permission requires an existing Permission definition and ends access at a Subscription’s End Date without waiting for the rebill command. Open Subscriptions qualify with no End Date or a future one; Hold, Pending and Closed Subscriptions qualify only with a future End Date.
  • FIXED: Cancellation keeps the time already paid for when refunds are off, unavailable, declined or unresolved. Every cancellation-refund outcome stops renewal: a completed refund closes the Subscription and ends access immediately; when no refund was made, the saved card is detached and only the remaining paid time continues. While a refund is under review, access lasts no longer than the paid-through date. A confirmed refund closes access only after the local cancellation records are saved, and both authorized and refunded gateway results count as success.
  • FIXED: Unused-time credits for cancellation and change_plan_form are rounded after proration, so low annual prices no longer lose credit.
  • FIXED: A future End Date no longer marks an otherwise renewing Subscription as cancelled before that date.
  • FIXED: Changing Status to Closed on Edit Subscription keeps an End Date entered in the same save. Otherwise the End Date becomes the Next Billing Date, never later than an End Date already saved, so closing can’t extend access.

Fixed: billing and rebilling

  • FIXED: Rebill tax, shipping, discounts and totals are calculated through CartThrob using the rebill settings. Renewal Orders no longer inherit stale totals, discounts or payment references from the previous Order.
  • FIXED: Monthly and yearly renewals keep a UTC calendar anchor through short months and leap years. Delayed payments no longer move later renewal dates, recovery resumes at the next scheduled boundary without charging for missed periods, and one successful payment consumes one occurrence.
  • FIXED: Trial-to-regular billing uses the scheduled trial boundary as the regular anchor, and {is_trial_active} ends when regular paid service starts. Zero or blank trial occurrences or interval length clear the trial definition.
  • FIXED: Held Subscriptions respect the retry interval instead of retrying on every run. Calculation, preparation and internal failures don’t consume Maximum Rebill Attempts, and failed or declined rebills restore the previous Order link.
  • FIXED: Subscription payments keep their original purchase currency and precision for renewals, charges, Plan changes and refunds when the store default changes.
  • FIXED: Subscriptions created from product entries keep the purchased unit price, including price modifiers, when no recurring-price override is supplied.
  • FIXED: A subscription checkout is refused before payment when it would use asynchronous order processing, instead of collecting money without creating the Subscription.
  • FIXED: When a saved card is replaced automatically, the replacement stays on the same gateway, and detached, cancelled, Closed, Pending and payment-review Subscriptions are left alone. A same-gateway primary-card change also applies to active Subscriptions that have an End Date.
  • FIXED: Saved-card Subscription charges are marked off-session; Stripe authentication handling also requires the matching CartThrob support.
  • FIXED: A saved card can’t be deleted while a Subscription linked to it has an unresolved payment or refund review, including a Closed Subscription, so the review can still be resolved.
  • FIXED: Plans require a billing interval length of 1 or more.
  • FIXED: A Plan change starts the new Plan’s regular billing. A destination Plan’s trial applies to new purchases only, so a customer charged the regular price difference, or applying unused credit, receives a regular billing period instead of a trial-length one.

Fixed: notifications

  • FIXED: subscription_expired is registered and sent when the rebill command finds an elapsed End Date with a saved card, and the expiry and exhaustion notifications are no longer replaced by rebill_hold.
  • FIXED: Subscribers One-Time Charge sends the registered manual_bill notification, falling back to an older unprefixed mapping only when the registered one is not mapped. A notification failure after a successful CP charge no longer reports the payment as failed.
  • FIXED: Subscription lifecycle notifications are addressed to the member’s current email. Renewal, cancellation, card-update, expiry and exhaustion notices resolve the member relationship correctly instead of sending to a blank recipient, and follow the member’s current email rather than reusing a previous paid Order’s address after the member changes it.
  • FIXED: When a member’s current email can’t be read — a missing member record or a blank member email — a lifecycle notification falls back to the saved Order email instead of being dropped or sent to an empty address, and logs a member-data warning with the reason and the Subscription, member and Order IDs. The warning does not mark the notification as failed.

Fixed: Plan changes and customer forms

  • FIXED: change_plan_form creates a linked replacement Subscription and Order, and completes optional difference charges or refunds only after confirmed payment. Repeat submissions are rejected and uncertain outcomes are kept for review.
  • FIXED: update_subscription_form shows inline payment errors without regenerating the page, and card setup preserves billing terms, counters, dates and status.
  • FIXED: plans and plan_select_field omit closed Plans, keep Plan permissions and show translated Unlimited labels.
  • FIXED: Both Subscription tag prefixes load without a class collision.

Fixed: Control Panel

  • FIXED: Create Subscription with Charge Vault Now saves the Subscription and Order before payment, rejects duplicate submissions, and reports declined or uncertain results; its help text now describes this. Recovering a declined initial payment sets up the schedule, occurrence counters and permissions correctly. Created Subscriptions copy complete Plan terms and keep Order and Purchased Item links on their permission assignments.
  • FIXED: Charge Next Billing Now starts with the trial price while a trial payment is due. With Update Subscription Details? set to No, the Subscription’s Last Order no longer changes, so refunds and Plan-change credits keep using the last period payment. An invalid price shows a charging error.
  • FIXED: Subscribers One-Time Charge uses the current store currency and records the charge as a single item at the Price; the Quantity field is removed. Card choices show name, gateway, last four digits, expiry and Vault ID. CP charge Orders keep their gateway, Vault and Subscription fields, and provider descriptions respect Authorize.net’s length limits.
  • FIXED: CP charges and renewal Orders save the member’s email through the configured Order email field. Payment Review reads the original payment reference, gateway, last four digits and refundable total through configured Order fields.
  • FIXED: Date fields display and save stored timestamps in the site’s format and timezone, and unset dates display blank. Shipping and Tax keep their decimals after a validation error. Optional Vault and Last Order selections are no longer marked required.
  • FIXED: Saving a Plan’s permissions updates every subscriber on that Plan, not just the first. Plan deletion is blocked while the Plan is in use. The Plans list column reads Open Subscriptions, and Plan Status has accurate help text.
  • FIXED: A member’s Subscription list paginates once and sorts before paging; the row action is named Charge Next Billing Now. Documentation links open the right sections.
  • FIXED: The rebill tax and shipping settings show Yes when nothing has been saved, matching CartThrob’s defaults. Maximum Rebill Attempts help text explains how attempts are counted; retry behavior is unchanged.
  • FIXED: Saved-card selectors reject unsupported gateways, blank card assignments save under strict SQL mode, and Offline Payments results are recorded correctly.

Fixed: installation and templates

  • FIXED: The installer hides template groups and channels that already exist, recognizes channels by short name, and handles empty selections. Installing the sample channel no longer fails when ExpressionEngine saves a blank Subscription Settings field.
  • FIXED: Example templates return to account after card changes, Plan changes and cancellations, link failed checkouts back to subscriptions/checkout, offer end dates without PHP, restore the layaway checkout, and fix a typo.
  • FIXED: Legacy Subscription form tags load the Developer Log before recording migration guidance. Legacy payment and notification calls, missing language keys, the dynamic CP configuration property (#107), delinquent amount defaults, and seeder compatibility are corrected.

Changed

  • CHANGED: Subscriptions requires CartThrob 10.0.1 or newer.
  • CHANGED: Editing a Plan no longer changes existing Subscriptions. Renewals use the name, description, billing interval, trial terms and permissions stored on the Subscription at purchase; in 5.x the Plan’s current values were merged over the Subscription at each rebill. Price was never affected in either version.
  • CHANGED: Supported Subscription gateways are classic Stripe, Stripe Payments and Authorize.net CIM, plus Offline Payments for intentional manual or test workflows. Unsupported checkout gateways are rejected before the provider is contacted.
  • CHANGED: Allow customer to modify subscription? is enforced by change_plan_form and update_subscription_details. New Plans default to enabled, and the update enables it on existing Plans and Subscriptions.
  • CHANGED: update_recurrent_billing_form is deprecated: it still renders, but a submission shows ExpressionEngine’s system error “Updating recurrent billing through this form is currently disallowed.” update_subscription_details saves only the Subscription’s name and description; a submission with billing fields is refused as a whole, without saving anything.
  • CHANGED: delete_recurrent_billing_form wraps core Vault deletion; the gateway parameter is ignored and {gateway_fields} is empty.
  • CHANGED: last_bill_date records actual payment history; use Next Billing Date to change the schedule.
  • CHANGED: Subscriptions Control Panel lists, navigation, row actions and delete confirmations use native ExpressionEngine controls.
  • CHANGED: PHP integrations must account for the changed SubscriptionsService::changePlan() arguments and result. The rewritten renewal service does not emit the legacy cartthrob_subscription_rebilled hook.

Removed

  • REMOVED: Duplicate Subscriptions Vault management screens. Their legacy URLs redirect to CartThrob’s core Vault manager.
  • REMOVED: Obsolete refund helpers PaymentsService::refundSubscription() and OrdersService::updateOrderRefundDetails(); cancellation refunds use the protected payment workflow.

Version 5.1.0

Released February 22, 2024

5.1.0 focused on improving Control Panel reliability, adding extension hooks, and aligning Subscriptions with newer CartThrob platform changes.

  • ADDED: Missing modified date handling when canceling subscriptions (#88)
  • ADDED: Clearer CP alerts when deleting objects (#59)
  • ADDED: Subscriptions to CartThrob menu navigation (#84)
  • ADDED: CartThrob 8.x extension hook compatibility (#94)
  • ADDED: Extension hooks around subscription cancellation flow (#99)
  • FIXED: Subscription end-date calculation edge cases (#78, #77)
  • FIXED: Canceled subscriptions not updating modified column (#87)
  • FIXED: Plan list pagination/sorting behavior that could produce 404 states (#89)
  • FIXED: Subscription list links to related subscriber records (#100)
  • FIXED: Rebill order/purchased-item alignment around subscription IDs (#98, #99)
  • UPDATED: Settings experience to remove legacy cron command blocks from CP (#83, #81)
  • UPDATED: Interval length handling to default to null where appropriate (#92)
  • UPDATED: Menu integration to use CartThrob menu_item extension hook (#82)
  • UPDATED: String helper usage from Illuminate\Support\Str to CartThrob\Str (#80)
  • REMOVED: Vault management panel from Subscriptions (Vault management moved into CartThrob core)

Version 5.0.0

Released January 30, 2022

  • ADDED: Trial Options allow custom duration (#69)
  • ADDED: can_renew variable to subscriptions tag
  • ADDED: is_trial_active variable to subscriptions tag
  • ADDED: computed_trial_end_date variable to subscriptions tag
  • ADDED: computed_end_date variable to subscriptions tag
  • ADDED: Improved date handling in subscription forms
  • FIXED: Email events on rebill hardcoding
  • FIXED: Removing All Orders breaks Subscriptions (#71)
  • FIXED: Purchased Items settings aren’t respected (#73)
  • FIXED: Various method call casing (under_score to camelCase)
  • FIXED: Stricter Seed definitions
  • FIXED: Order status being set to open on success instead of configured status
  • FIXED: Redirect on Subscriber charge
  • FIXED: Manual editing where Subscription Trial Option defaults were not applied (#74)
  • FIXED: Manual rebill emails not being sent
  • FIXED: Duplicate use statement on Subscriber manual charge route
  • UPDATED: Email templates now include complete Subscription variable package
  • UPDATED: Boolean outputs changed to integer values for template parser compatibility
  • UPDATED: Daily-cost logic now accounts for trial duration
  • UPDATED: Rebill command now safely defines CSRF token for legacy EE edge cases
  • UPDATED: cancelSub behavior removes active trial immediately upon cancellation
  • UPDATED: One-off charge order titles use Subscription name
  • UPDATED: Install template examples to include new variables

Version 4.3.1

Released March 17, 2022

  • FIXED: Rebill Command breaks list parameter on eecli.php requests #65
  • FIXED: Edit Subscription Form has End Date value as Start Date #63
  • FIXED: Uninstaller generates DB errors if cartthrob_notifications is not present #61

Version 4.3.0

Released February 10, 2021

  • ADDED: ‘is_cancelled’, ‘occurences_used_up’, and ‘is_trial’ as tags to the ‘subscriptions’ template tag
  • ADDED: Asterisk as visual cue on renewability of a subscription within the Control Panel
  • ADDED: Rebill Cli Command (#32)
  • FIXED: Issue with Total Occurrences not being respected for certain situations
  • FIXED: Various bugs with MySQL and the strict setting (#46)
  • UPDATED: Control Panel views to use database pagination (#27)
  • UPDATED: Improves performance of internal option methods (#27)
  • UPDATED: Cancel Subscription logic to keep subs open to period end if funds aren’t involved in cancellation (#44)

Version 4.2.0

Released December 14, 2021

  • FIXED: Missing cancel_sub template in template installer. #31
  • FIXED: Updating Plan with no Permissions. #39

Version 4.1.0

Released June 1, 2021

  • ADDED: ExpressionEngine 6 support.
  • UPDATED: Replaces cartthrob_addon_register with cartthrob_boot hook in extensions table.

Version 4.0.1

Released April 26, 2021

  • FIXED: Warning disabled by invalid data type on permission getter.
  • FIXED: Exception thrown during update due to reference to deprecated mbr_addon_builder. Removed reliance on mbr_addon_builder.

Version 4.0.0

Released April 17, 2021

  • ADDED: CartThrob 5.5 Support.
  • ADDED: ExpressionEngine 5 Support.
  • ADDED: Authorize.net support as a billing option.
  • ADDED: Manual rebill functionality.
  • ADDED: Ad hoc billing capabilities.
  • UPDATED: Moved CodeIgniter models to ExpressionEngine Model objects.
  • UPDATED: Moved CodeIgniter libraries to ExpressionEngine Services.
  • UPDATED: Installation template formatting and removes legacy ExpressionEngine tags.

Version 2.5

Released January 23, 2014

Major fixes & enhancements throughout subscriptions & permissions especially concerned with template tags and backend administration.

  • ADDED: Full set of templates to be used as examples for creating subscription sales sites.
  • ADDED: Ability to set a permission on a subs plan
  • ADDED: Ability to set more subscription options when adding an item to a cart.
  • ADDED: Bettor error reporting in subs manager to make it more obvious when something has failed.
  • ADDED: Members with vaults method to vault model
  • ADDED: Method to permissions model to get permissions related to a specific sub_id
  • ADDED: Method to permissions tag where you can pass a sub_id to check for active permissions. If the sub_id is closed, the permissions will not be assigned
  • ADDED: Method to subscriptions field type to pull permissions that have been set in permissions manager
  • ADDED: Method to subscriptions to find any vault data even if the token is missing so that we start with something, rather than having nothing to go on if something goes wrong with a transaction.
  • ADDED: Method to update / close permissions if the related subscription is expired.
  • ADDED: Method to use status and other db fields in subscription model to get_subscriptions. Now you can use status='open' or status='open|pending' as a parameter in the subscriptions tag to get information about subscriptions
  • ADDED: Pending subscriptions view to subscriptions manager.
  • ADDED: Method to see when next bill is expected for a certain sub.
  • FIXED: An issue with sequential order numbers in subscriptions
  • FIXED: clean_sub_data method in module no longer sets bad data if a specific key is not passed in. This allows sending of partial data sets without overwriting existing data that is not being updated
  • FIXED: Issue where permissions were assigned twice when purchasing subscription products.
  • FIXED: Issue with subscriptions field type where if you’d set it as the price field you’d get crazy prices back. Now it just gets the price of the sub as you might expect.
  • FIXED: Issue with subscriptions model where arrays were not being serialized. This primarily affected permissions being saved correctly.
  • FIXED: Issues in module where permissions were not being serialized and unserialized correctly, causing permissions added to a subscription to either be ignored, or only the first permission set to be used.
  • FIXED: Issues with adding a plan to the cart where plan data was either being ignored or added incorrectly.
  • FIXED: Issues with deleting subscription items from the backend.
  • FIXED: Many small issues and inconsistencies with Permissions and Subscriptions
  • FIXED: Various fixes to subs and perms field types to get around incompatibility with GRID field type

All previous changes are listed in CartThrob’s changelog