Order Approval Rules changelog¶
1.0.0¶
Initial release.
Added¶
- Four rule types: order value (with "greater than" / "greater than or equal to" operators), minimum account age in hours, active service count, and product-specific review.
- Priority ordering and per-rule enable/disable. Disabling a rule immediately restores normal order processing.
- Rule evaluation on
Order\Finalized, the first point at which the order total, the customer and the ordered products are known. - All matching rules are recorded with the review, not just the first one.
- Review state stored in the extension's own table, because Paymenter orders have no status column.
- Provisioning pause for orders under review: services of a paid invoice are held back instead of being provisioned while the review is pending.
- Admin management resource for rules (create, edit, enable/disable, delete, priority) and a Pending Reviews queue showing order, customer, total, products, triggered rules and creation date.
- Approve action that releases the hold and provisions already paid services immediately; unpaid services continue through Paymenter's normal flow.
- Reject action that keeps provisioning paused and never cancels, terminates or refunds automatically.
- Customer-facing notice on the service page while the order is under review.
- Automatic migration of the extension's own tables (
ext_order_approval_rules,ext_order_reviews) on install/enable/update, and rollback on uninstall. - Automated test suite covering every rule type, non-matching orders, disabled rules, multiple simultaneous rules, the provisioning pause, the unaffected normal flow, approval, rejection and the customer notice.