Commerce Gate for Drupal and Drupal Commerce. Module-only distribution mirror.
Repo decionis/drupal, read from GitHub 2 d ago. decionis has not joined Take My Repo.
decionis/drupal is a public repo on GitHub by decionis. Commerce Gate for Drupal and Drupal Commerce. Module-only distribution mirror. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. It is written mainly in PHP, has 0 stars and last changed on 2026-11-20. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-24.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
See what your own store's recent orders, refunds and promotions reveal before connecting an account. The Store X-ray runs on the site, separates currencies and shows where cost data is missing. It sends nothing off the site and labels its results as estimates.
After connection, Decionis Commerce evaluates commerce actions against your workspace's policy. Shadow Mode records what would have been held or blocked without holding up a shopper or an admin save. You can then choose Enforce this one for an action when the server confirms an entitlement. Remote decisions can carry signed Decision Dossiers; pending checks and local estimates are identified separately.
Local Store X-ray and the existing Shadow journey are available. Enforcement trials, tuned-limit publication, billing-contact confirmation and workspace ownership claims are not yet available in this beta.
This module is a public beta. The official Decionis Commerce project
hosts the public release series, with a module-only GitHub mirror.
Use the downloads page for verified package availability,
release files, checksums, provenance and the Getting Started guide.
The machine name remains decionis and the Composer identity remains drupal/decionis.
Beta releases are not covered by Drupal's security advisory policy. The earlier private 0.1.1
artifact remains a separate historical release. Contact Decionis
for connected-service access and support.
decionis_commerce needs a Drupal Commerce release that
supports Drupal 12.curl and sodium extensions, and the Key module.X-ray, limit tuning, cost coverage and the local sandbox work without the API. Connect and remote replay need the service and its Drupal-provider deployment. Enforcement needs a server-issued entitlement; the module does not grant a trial itself. The email-code fallback and managed billing/approver notifications also depend on Core/Accounts mail. Drupal's optional site-local digest has its own mail configuration.
In a Drupal project with a supported Commerce version, install the module with Composer, which resolves the PHP client and module dependencies:
composer require 'drupal/decionis:^0.1@beta'
Projects built from drupal/recommended-project already use https://packages.drupal.org/8. If
yours does not, first run composer config repositories.drupal composer https://packages.drupal.org/8.
The downloads page has the ZIP alternative, its checksum
and provenance.
Then enable the module and apply the recipe. A global drush works the same as vendor/bin/drush
where it is installed.
vendor/bin/drush en decionis_commerce -y
cd web
php core/scripts/drupal recipe modules/contrib/decionis/recipes/decionis_commerce
cd ..
vendor/bin/drush cr
If Commerce and Drush are not installed yet, first run
composer require 'drupal/commerce:^3.3.13' drush/drush. Existing Commerce 2 stores on Drupal 10
can keep Commerce 2.41 or later. web is the Drupal root in these examples; some projects use
docroot. After upgrading an existing installation, run vendor/bin/drush updb -y and
vendor/bin/drush cr from the project root.
When upgrading from the private ZIP instructions, remove the old Composer artifact repository
entry with composer config --unset repositories.decionis before requiring the public beta.
Keep the old ZIP and the previous Composer lock file available for recovery; the package name
has not changed.
Installation, the repeatable recipe and the update hook add an editable Cost field to every
product variation type, including types added later. Existing values and custom form widgets are
preserved. Under Cost base at /admin/commerce/config/decionis, you can instead select the
field where your store already records unit costs.
Enter costs in each variation's sale currency. The X-ray, settings and status report show both
variation coverage and order-line coverage. Missing or mismatched costs remain not covered.
To import a spreadsheet, export sku,cost (optionally sku,cost,currency) and use Import variation
costs at /admin/commerce/decionis/cost-import. The UI accepts up to 2 MiB and 5,000 rows, checks
all rows before starting its Batch run, and reports any save failure. The Drush alternative remains:
vendor/bin/drush decionis:cost-import costs.csv
Follow the install message to /admin/commerce/decionis/x-ray. Users need the
administer decionis permission. Choose 90 days, or any window from 30 to 365 days, and run the
scan through its progress page. It uses your site's history, without an account or an HTTP call.
The result has one headline per currency: orders below the suggested margin floor and the estimated value below that floor, cumulative refunded payments over the limit, stacked promotions, observed outside refunds and cost coverage. It retains totals and the top five safe references per action and currency in State. It creates no decision rows or Dossiers.
The page says estimate on your site, using suggested limits and nothing left this site. Amounts involved in a flagged action are not a claim of money saved. Historical margins use available current unit costs; promotion estimates use the configuration still present on the site. Refund history contains each payment’s cumulative refunded amount, not individual refund events. A pair of EUR 300 partial refunds therefore appears as one EUR 600 payment total. Its window uses the available changed time on Commerce 3 or payment completion time on Commerce 2. This is a starting point for review, not a reconstruction of every past policy decision.
At /admin/commerce/config/decionis, each currency has a refund ceiling, margin floor, stacking
ceiling and repeat-refund limit. Findings show the observations behind each suggestion; editing a
value updates the counts. Saving keeps the limits in Drupal configuration, so normal config sync
can deploy them. Rerun an existing X-ray after changing limits.
Each signal needs at least 20 observations to draft a percentile. Refunds and stacking use the 95th percentile; the repeat threshold is one above its 95th percentile because reaching it flags an action. The margin floor uses the 10th percentile and never exceeds the observed median. Sparse data uses these explicit starting points:
| Currency | Refund ceiling |
|---|---|
| EUR | 500 |
| USD | 500 |
| GBP | 400 |
| NGN | 150,000 |
| GHS | 5,000 |
| Other | 0, until tuned or supported by sufficient history |
The other defaults are a 12% margin floor (capped at the observed median when available), 30% stacking ceiling and repeat threshold 3. These are starting amounts, not exchange-rate conversions. The page identifies every fallback and its sample count.
Accepted limits drive the local X-ray and sandbox. When connected, Save configuration also requests publication through the bounded Drupal handoff. The native key retains only decision scopes. Each currency is labelled Published as version … only after the service confirms publication; that version is pinned for subsequent live checks. Otherwise it remains Not yet published and the reason is shown. A 403/404 response keeps limits local. A conflict or owner-review requirement must be resolved before assuming the local values govern remote decisions.
Open /admin/commerce/config/decionis/connect. The form asks for business name, billing email,
site URL and acceptance of the terms. You do not paste an API key.
The service fetches a signed one-time challenge from /.well-known/decionis-challenge or
/decionis/challenge. Allow these routes while connecting, including during maintenance mode.
A site behind HTTP authentication or a firewall must allow the challenge routes. The email-code
fallback for an unreachable site requires the external mail sender; while unavailable it reports
the service error instead of claiming a code was sent.
After connecting in Shadow, a progress page evaluates the first bounded replay batches before
opening Decisions at /admin/commerce/decionis/decisions. Cron continues the remaining
90-day history. Remote concurrency defaults to four requests and is configurable from one to
eight. Repeating the same source/entity/policy replay updates its row instead of doubling counts.
If the API is unavailable, the page shows the actual failed/ungoverned status; it cannot promise a
signed catch. Connected historical replay is metered against the workspace's governed-action
allowance, even in Shadow Mode. Review the allowance before connecting or replaying a large
history. Local Store X-ray is free and uses none of that allowance. See
Build pricing.
Connection identity and key references live in State; Key stores the credentials. Importing a pre-connect configuration snapshot does not disconnect the site. Credentials are bound to the site URL and host. A copied site drops to Shadow, shows a copy banner and offers reconnect or local disconnect. It cannot use the original site's pending approvals. Run database updates on the original site before making copies; a legacy unbound installation cannot identify its own history before the first binding is established.
The Decisions page shows every action's effective mode, plain-language reasons and the largest held or blocked item in each currency. Verify displays signature status, key id, signed policy version when present, and evidence completeness. Download Dossier preserves the full Dossier payload, including its signed artifacts. An unavailable, incomplete or invalid proof is never labelled verified.
Each action links to Enforce this one, showing the last 90 days' count, amount involved and expected approval frequency. Only that action changes, through a permission-checked confirmation form. A server-issued trial available state lets that confirmation request the 14-day trial; page views and repeated submissions cannot restart it. Only the selected action is enabled. The control stays disabled with the server's reason while entitlement is absent or expired. Trial and payment-grace deadlines return actions to Shadow locally when they pass; an active paid entitlement keeps enforcement available. Pricing describes the Build plan. Settings also allow returning an action to Shadow without deleting history.
For a Fincra store, start with orders, prices or promotions. Commerce Fincra has no ordinary refund operation in Drupal. Fincra advises a separate customer payout for refund requests other than qualifying underpayments or overpayments; the module does not execute those payouts.
Live Shadow checks save a local pending record and send the request after the response has ended, where FPM supports it, or through a cron queue. They do not spend the synchronous checkout budget. A completed decision replaces the pending result once. If an admin price, promotion or refund save would have been refused, its authorized actor gets one nudge on a subsequent page load after evaluation. No nudge is delivered for a rolled-back save.
The opt-in weekly digest is configured in settings: enabled state, permitted recipients and day.
Drupal sends it only to selected active users who still have administer decionis. It contains
aggregate currency totals and links to the per-action controls, without customer data or coupon
codes. Schedule vendor/bin/drush cron or the protected cron URL independently of page traffic, and configure Drupal mail for delivery. On hosts where response completion cannot be confirmed, page-triggered automatic cron leaves this work queued so it cannot delay a save or checkout.
Protection checklist at /admin/commerce/decionis/checklist explains seven weighted checks:
connection, active hooks, cost coverage, tuned limits, an enforced action, payment-key custody and
observed outside refunds. Each missing check links to a fix. This setup score is not a safety
certification or transaction authorization.
The Owner and agency report offers X-ray and 90-day Shadow views, CSV exports and browser printing to PDF. Aggregate reports are unsigned; the X-ray is explicitly an estimate. The Shadow report lists available individual Dossier references and verification links. No currency conversion or customer detail is added.
| Result | Refund, price, promotion, stock in Enforce | Checkout in Enforce |
|---|---|---|
| ALLOW | Runs | Order proceeds |
| ESCALATE | Refunds/prices wait for an approver; unsupported held actions are refused | Proceeds; a shopper is never held |
| BLOCK | Refused with the policy's reason | Refused at review with a neutral message |
| No answer | Refused by default, or runs as ungoverned under the configured failure policy | Proceeds within the configured budget, marked ungoverned |
decionis/drupal is a public repo on GitHub by decionis. Commerce Gate for Drupal and Drupal Commerce. Module-only distribution mirror.
It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-20. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run drupal. What is known comes from GitHub. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. Its last change was on 2026-11-20. It has 0 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.