Skip to content

1.10.0

Choose a tag to compare

@michalper michalper released this 14 Nov 20:11
· 153 commits to main since this release
297d4e9

Added

  • Gamified "spin the wheel" reward popup — ShowPopup's params gain an optional
    reward_tiers array of {label, weight, coupon_rule_id} entries; a new
    Model\Campaign\RewardTierSelector picks one with a real, re-rolled-per-delivery random weight
    (deliberately not SplitVariantSelector's sticky-per-customer determinism), and a tier with a
    coupon_rule_id gets a real single-use coupon minted via the existing Model\CouponGenerator.
    Frequency-capped by ShowPopup's own existing cap, so a visitor can't just keep re-spinning.
    view/frontend/web/js/tracker.js renders a brief spin reveal and a copyable coupon code,
    dependency-free. See ADR 0063.
  • Digital loyalty wallet pass (Google Wallet) — a logged-in customer's "My Offers" account
    page now has an "Add to Google Wallet" button producing a real, RS256-signed "Save to Google
    Wallet" link embedding their live points balance (LoyaltyPointsManager) and tier
    (LoyaltyTierCalculator) as a scannable membership card (Model\Wallet\GoogleWalletLoyaltyObjectBuilder/
    GoogleWalletJwtBuilder/GoogleWalletPassLinkBuilder), no vendor SDK - same hand-rolled-protocol
    precedent as Model\Push\WebPushCrypto. Also exposed over REST
    (GET /V1/ordo/loyalty-wallet-pass/google) for a headless/PWA storefront. Apple Wallet is
    deliberately out of scope for v1, and real on-device verification is a permanent, accepted test
    gap, same class as the existing Google Ads Customer Match/WhatsApp Business verification gaps -
    see ADR 0062 and ROADMAP.md's "Test coverage" section.
  • Zero-party-data survey question (text/choice) — a new generic_survey campaign action
    (Model\Campaign\Action\GenericSurvey) asks a free-text or multiple-choice question, on the
    same ordo_survey_prompt claim/deliver/respond lifecycle as the existing nps_survey action
    (three new nullable columns: question_type, choices, response_text), and a new
    survey_response_equals segment/campaign condition
    (Model\Campaign\Condition\SurveyResponseEquals) reads back the customer's most recent
    answered row for that specific question. nps_survey/nps_score_at_least are completely
    unchanged. The storefront widget (tracker.js) still only renders the legacy 0-10 NPS prompt —
    rendering a text/choice question in the bundled widget is a known, separate follow-up. See ADR
    0061.
  • Two-way conversation replies — an admin can now reply to an inbound SMS/WhatsApp message
    directly from the "Conversations" grid: a new Controller\Adminhtml\ConversationMessage\Reply
    (POST) re-checks consent via ConsentManager and calls SmsSenderInterface/a new
    WhatsAppSender::sendFreeform() directly, based on the original message's own channel, through a
    new Model\Conversation\OutboundReplySender service — InboundMessageProcessor itself stays
    receive-only and unchanged. A new direction column on ordo_conversation_message (default
    inbound, zero backfill) lets the grid render both directions. See ADR 0060.
  • Wishlist abandonment reminder — new Cron\SendWishlistAbandonmentReminders scans Magento
    core's own native wishlist/wishlist_item tables for items added more than a configurable
    number of days ago with no non-canceled order line for that exact SKU placed since, and
    dispatches a new wishlist_abandoned campaign trigger (TRIGGER_WISHLIST_ABANDONED) — the
    gap left between cart and browse abandonment, claimed via a new
    ordo_wishlist_abandoned_reminder_log table the same way every other reminder cron here avoids
    double-sends. New "Wishlist Abandonment" section under Stores > Configuration > Ordo
    Automation. See ADR 0059.
  • Email one-click unsubscribe — send_email campaign sends now carry a no-login
    List-Unsubscribe/List-Unsubscribe-Post header pair (RFC 8058) plus a visible footer link in
    campaign_generic.html, pointing at a new Controller\Email\Unsubscribe endpoint backed by a
    stateless, signed token (Model\Email\UnsubscribeTokenManager — no new table, no DB lookup to
    verify) that calls ConsentManager::setConsent() directly. See ADR 0058.
  • Campaign holdout group — new admin-configurable holdout_percent (0-100, default off) on a
    campaign deterministically, randomly withholds that percent of matching customers from every
    action, logging them into ordo_campaign_outcome_log with a new is_holdout flag
    (Model\Campaign\HoldoutSelector, CampaignOutcomeLogger::logHeldOut()/getHoldoutStats()) so
    their organic conversion rate can be compared against the sent group's — true incremental-lift
    measurement, not just split-variant comparison. See ADR 0057.
  • Referral duplicate-identity signal — Observer\RedeemReferralCode now captures the referred
    customer's registration IP, and ReferralManager::recordSignup() flags
    (ordo_referral.duplicate_ip_flag) a signup whose IP matches another referred signup already
    recorded under the same referrer — the common self-referral-via-second-account reward-farming
    shape, without a new fraud-scoring engine. Detect and surface, not block: the referral is still
    recorded, flagged on a new read-only "Referrals" admin grid (ordo/referral/index) plus a
    dashboard stat card. See ADR 0056.
  • Campaign chain exit condition — a campaign can now set an optional exit_conditions JSON
    field (AND-joined, same {type, params} shape as an entry condition) that
    CampaignDispatcher::resumeScheduledAction() re-checks on every delayed-step resume; if
    satisfied, the rest of a delay_minutes drip is skipped instead of running unconditionally
    regardless of whether the customer already converted. Every pre-existing campaign (no exit
    conditions configured) is unaffected. See ADR 0055.
  • Storefront consent preference center — a logged-in customer can now see and change their own
    channel (email/SMS/push/WhatsApp/RCS) and topic (promotional/account-updates) consent from REST
    (GET/PUT /V1/ordo/consent-preferences/mine*), GraphQL (ordoConsentPreferences/
    setOrdoConsent/setOrdoConsentTopic), or a new "Communication Preferences" storefront account
    page — all three backed by one Api\ConsentPreferencesManagementInterface. See ADR 0054.
  • Churn-risk segmentation condition — new churn_risk_at_least condition
    (Model\Campaign\Condition\ChurnRiskAtLeast, Model\ChurnRisk\ChurnRiskCalculator) generalizes
    ReorderCycleAtRisk's self-relative "drifting from their own baseline" signal to every customer
    with at least 2 orders, not just ones with an already-detected, SKU-specific reorder cycle. See
    ADR 0045.
  • Stalled payment recovery — new Cron\SendStalledPaymentReminders (hourly) reminds a
    registered customer once about an order sitting in Magento's own pending_payment state past a
    configurable lead time, with deliberately hedged copy since this module can't tell an abandoned
    online-gateway checkout apart from an offline method awaiting manual confirmation. See ADR 0047.
  • Gamified loyalty milestones — new Cron\TagLoyaltyMilestones tags a customer the moment they
    cross a fixed order-count milestone (1st/5th/10th/25th/50th order) or reach a Silver/Gold loyalty
    tier, reusing the existing tag_added trigger and Has Tag condition — no new trigger type or
    table. See ADR 0046.
  • Double-sided referral rewards — new referral_signed_up trigger targets the referred
    customer the moment their signup is recorded, the mirror image of the existing
    referral_converted trigger (which still only targets the referrer once a real purchase
    happens). See ADR 0048.
  • RCS as a messaging channel — new send_rcs campaign action and ConsentChannel::Rcs,
    reusing SMS's own Twilio Account SID / API Key credentials through Twilio's RCS Business
    Messaging surface (Model\Rcs\TwilioRcsSender) — only a Messaging Service SID config field is
    new. See ADR 0049.
  • CLV and churn risk on Customer 360 — Customer360SnapshotBuilder now surfaces
    ClvCalculator::getProjectedClv() and ChurnRiskCalculator::getChurnRiskRatioForCustomer()
    alongside the existing RFM/order-history stats. See ADR 0050.
  • WhatsApp read-receipt tracking — Controller\WhatsApp\Webhook now writes a
    MessageLogEvent::TYPE_READ row for Meta's "seen" receipt instead of dropping it, making
    message_engaged usable for WhatsApp sends. See ADR 0051.
  • Churn-risk customers in the sales-rep digest — new Cron\TagChurnRiskCustomers mirrors
    TagReorderCycleAtRiskCustomers's add-then-clear-on-recovery shape, and SendSalesRepDigest
    now groups by it too. See ADR 0052.
  • Split-test winner by revenue, not just click-through rate — new AbTestDecisionMetric
    config choice (CTR/conversion rate/revenue, defaults to CTR) for SplitWinnerCalculator,
    reading conversion rate/revenue from the existing CampaignOutcomeLogger::getStats() data. See
    ADR 0053.