Skip to content
Gaurav TiwariDocs

FluentCart License Bridge

Version 5.2.5 Updated November 23, 2026

The FluentCart License Bridge lets you move software licenses from FluentCart into Core Commerce without breaking the plugins and themes already installed on customer sites. Those copies keep calling FluentCart’s license API, and the bridge answers them in FluentCart’s format from Core Commerce.

Moving takes two steps: import the FluentCart data with WP-CLI, then turn on the bridge. Your customers don’t need to update anything or enter a new key.

Before you start

  • Core Commerce needs license issuing on: Core Commerce > Settings > Store setup > Enable license issuing. The bridge answers nothing while it’s off.
  • Run the import on the site that holds the FluentCart data. FluentCart can be active or inactive, as long as its database tables are still there.
  • Publish each product’s current ZIP as a Core Commerce release. The import doesn’t copy release files, and the bridge can’t serve updates without one.

Import from FluentCart

Preview the import first. A dry run counts what would be imported and changes nothing:

wp core-forms commerce import-fluentcart --dry-run

Then run it:

wp core-forms commerce import-fluentcart
  • --products=12,15 imports only these FluentCart product IDs. By default, every product with licensing on is imported.
  • --themes=15 imports these products as themes. Products named or filed as themes are detected anyway.
  • --format=json prints the counts as JSON.

The import creates or links products, a plan for each variation, the orders that include those products, licenses with the exact same keys, and each activated site. The output shows counts only, never names, emails or keys. A real run is one database transaction, so a failure changes nothing.

Run it again whenever you like. It skips what’s already there, copies newer status, site limit and expiry from FluentCart, adds new activations and never deletes anything.

Two things don’t come across:

  • Release ZIPs. The import warns about each product that has no Core Commerce release yet.
  • FluentCart subscriptions. Their renewals keep running in FluentCart. Run the import again after a renewal to copy the new expiry.

A product you set up by hand can be linked with wp core-forms commerce fluentcart-link <fluentcart-product-id> <product-id>.

Turn on the bridge

Go to Core Forms > Modules and turn on FluentCart License Bridge, or run wp core-forms module enable commerce_fluentcart_bridge.

The bridge answers ?fluent-cart= license requests for activating, checking and deactivating a license, checking for a new version and downloading the update package.

  • While FluentCart is active, it answers only for keys that exist in Core Commerce. Every other key still goes to FluentCart, so both stores can run side by side.
  • Without FluentCart, it answers every license request.
  • Old FluentCart product IDs map to the imported Core Commerce products, and update links FluentCart issued before the move keep working.
  • Every answer carries the header X-Core-Commerce-License-Bridge, so you can tell which system replied.

Differences from FluentCart

  • A license expires on its expiry date, without FluentCart’s 15-day grace period.
  • Update packages go only to sites with an active activation.
  • Version checks also return the required WordPress version, tested version and required PHP version when the product has them.
  • Staging and local sites, such as staging.example.com or example.test, activate without using a seat.
  • A site limit of 0 means unlimited sites.

Keep answering after FluentCart is removed

Before you deactivate FluentCart, open Core Commerce > Settings, find FluentCart license requests and tick Answer FluentCart license requests when FluentCart is not active, then save.

This adds a small file, wp-content/mu-plugins/cf-fluentcart-license-fallback.php, that answers license requests before anything else on the site can redirect them. It stays out of the way while FluentCart is active, and the settings show whether it’s installed.

Core Forms removes the file when you turn the setting or the bridge off, and when Core Forms is uninstalled. It never overwrites or removes a file with the same name that it didn’t write.

Turn the bridge off

Once licenses are imported, the Modules screen asks before turning the bridge off. Turning it off removes the fallback file and keeps the imported data.

  • With FluentCart still active, FluentCart answers again for every key it holds. Changes made in Core Commerce since the move, such as renewals or new site limits, don’t reach those customers.
  • With FluentCart removed, license requests go unanswered, and the plugins sold through FluentCart stop activating and updating until they ship a client that talks to Core Commerce directly.

See Integrate license keys and automatic updates for the Core Commerce license client.

For developers

  • cf_fluentcart_bridge_check_response and cf_fluentcart_bridge_version_response filter the bridge’s answers.
  • cf_fluentcart_bridge_product_id maps a FluentCart product ID to a Core Commerce product.
  • cf_license_allow_inactive_downloads lets sites without an active activation download updates.
  • cf_license_is_staging_site and the staging pattern filters change which sites activate without using a seat.
Share

Was this helpful?

Still stuck? Open a support ticket