Order Risk Guard changelog
All notable changes to Order Risk Guard (kv_order_risk_guard) are documented here.
The format follows Keep a Changelog and the project uses Semantic Versioning.
[Unreleased]
Section titled “[Unreleased]”[1.1.2] - 2026-11-19
Section titled “[1.1.2] - 2026-11-19”Changed
Section titled “Changed”- Compatibility: CS-Cart and Multi-Vendor 4.22.x
[1.1.1] - 2026-11-11
Section titled “[1.1.1] - 2026-11-11”Security
Section titled “Security”- Rate limits can no longer be bypassed with a forged X-Forwarded-For header; new “Trusted proxies” setting (Settings > Client IP). Before, the IP rules (blocked addresses, IP country check) of the checkout risk score used the visitor address from CS-Cart’s fn_get_ip(), which believes X-Forwarded-For and other headers any visitor can send, so sending a new fake address with every request reset the limit. The add-on now uses the connection address (IPv6 visitors are counted per /64 network) and reads a forwarded header only from a proxy: it works out of the box behind Cloudflare (the official ranges are built in) and behind private reverse proxies such as nginx, Varnish (the 4.21 full page cache) or a load balancer on a loopback or private address, where X-Forwarded-For is read from the right and the first non-proxy address is the visitor. A proxy with a public address goes into the new “Trusted proxies” list;
$config['kv_client_ip_mode']/$config['kv_client_ip_trusted_proxies']in config.local.php set it for every Kavio Labs add-on. Settings and data are kept on upgrade.
[1.1.0] - 2026-11-04
Section titled “[1.1.0] - 2026-11-04”- Developer API to confirm or cancel an order from outside the confirmation page, for example from a WhatsApp quick reply or an SMS answer:
fn_kv_order_risk_guard_confirm_order(),fn_kv_order_risk_guard_cancel_order()andfn_kv_order_risk_guard_get_confirmation(), PHP hookkv_order_risk_guard_external_decision_post. The status flow is the same as with the e-mail link and code: the waiting orders of the checkout move to the status after confirmation or to the cancel status, the confirmation record keeps the source (for example “WhatsApp”) and the staff notes get a line with the source and the reason. Orders held for a risk review stay an administrator decision: they can be cancelled this way, but confirmed only when the calling add-on asks for it explicitly. - The risk panel on the order page shows the source of the decision (link, code, administrator, WhatsApp, SMS…). Cancellations now record their source too.
[1.0.0] - 2026-10-25
Section titled “[1.0.0] - 2026-10-25”- Risk score (0-100) for every storefront order with weighted signals: block-list entries, earlier refused or returned orders (statuses chosen by the administrator, matched by account, e-mail and phone), order velocity by e-mail, phone or IP, billing/shipping country mismatch, IP country (bundled GeoLite2 database), disposable e-mail domains (built-in list plus own domains), high order value and first order with a high value, trusted customers.
- Block list and allow list: e-mail, e-mail domain, phone (last 10 digits), IP address or CIDR range (IPv4/IPv6), address fingerprint and customer account; actions refuse checkout, require prepayment, hold for review and add points; expiry dates, hit counters, search, bulk delete, CSV import (file or paste) and export.
- Checkout: cash-on-delivery methods hidden for risky customers with a neutral note; refused checkouts with a neutral message; server-side refusal of forged requests; log of the last 500 refused checkouts.
- Order placement: “Risk review” status for risky orders with offline payments (online payments are only flagged), “Awaiting confirmation” status for cash-on-delivery orders, risk summary in the staff notes.
- Cash-on-delivery confirmation: e-mail with a signed link and a 6-digit code, confirmation page with confirm and cancel buttons, code box on the order-placed and order pages, five code attempts, up to three e-mails, automatic cancellation after the configured hours (admin pseudo-cron, console cron and cron URL), extension hook for SMS and messaging channels.
- Admin: risk panel on the order page (score, level, reasons with points, confirmation state, customer history, approve, cancel, mark as confirmed, resend, score again, add identifiers to the block list), risk column and risk filter in the order list.
- Multi-Vendor: one confirmation per checkout for all vendor orders; vendors see the risk of their own orders without personal list data and without actions.
- Coexistence with the core Anti fraud add-on; full page cache safe; GDPR export and anonymisation of the risk records.
- Domain-bound license check and self-healing upgrades.