You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Loyalty points program — a new, ongoing earn/redeem points balance (ordo_loyalty_points_ledger),
distinct from the existing tier-based Model\LoyaltyTierCalculator. Customers earn points on
every order and redeem them for a coupon through a new Api\LoyaltyPointsManagementInterface
service (REST + GraphQL: ordoLoyaltyPointsBalance/redeemOrdoLoyaltyPoints), reusing the
existing Model\CouponGenerator/cart-price-rule mechanism rather than a new discount system.
Optional expiry via a daily cron. See ADR 0044.
Newsletter signup popup — a standing, config-driven popup invites an anonymous visitor to
sign up for the store's newsletter after a configurable delay. Subscribes through Magento's own
real newsletter subscription and tags the visitor (newsletter_signup) so a campaign can react
via the existing visitor_tag_added trigger — no new admin screen, no new trigger type. See
ADR 0043.
Low-stock PDP widget — new window.ordoRenderLowStock(sku, containerSelector) theme
integration point renders "Only N left in stock" from a real, live stock quantity, once at or
below a configurable threshold (and always above zero — that's a different message). Same shape
as the existing social proof widget. See ADR 0042.
TikTok ad-audience sync — new Model\AdAudience\TikTokSyncClient, syncing a segment's
hashed-email list to a TikTok Custom Audience alongside the existing Google Ads/Meta
integration. No ad-spend eligibility wall found for TikTok (unlike Google Ads Customer
Match) — the real gate is a discretionary TikTok for Developers app review, now pending. See
ADR 0041, including two implementation details honestly flagged as not yet verified against a
real account.
GA4 / Meta server-side conversion reporting — two new campaign actions, send_ga4_event/send_meta_conversion_event, report a real order straight to Google
Analytics 4's Measurement Protocol or Meta's Conversions API from the server, bypassing ad
blockers and browser privacy settings that often stop the regular on-page tracking tag from
ever firing. See ADR 0040.
Social proof widget — new window.ordoRenderSocialProof(sku, containerSelector) theme
integration point renders "N people viewed this today" from a real, live count of today's product_view events for that SKU, once a configurable minimum is met. See ADR 0039.
Customer birthday / registration anniversary campaign trigger — new customer_anniversary
trigger (Cron\DispatchCustomerAnniversaryCampaigns, daily) fires once per calendar year for a
registered customer whose customer_dob or account registration date matches today's
month+day, picked per campaign via the trigger's own date_source field. See ADR 0038.
Fixed
send_ga4_event/send_meta_conversion_event could leak a live GA4 api_secret/Meta access_token into the application log and the persisted ordo_message_send_retry.last_error
column — both actions pass their auth secret as a URL query parameter (the only format either
API accepts it in), and a failed outbound request embedded the full URL, secret included,
verbatim in the thrown exception's message. Found via a security review of this session's own
GA4/Meta work. Model\Http\JsonApiClient::postJson() now takes an optional list of query-param
names to redact before building that message; every other caller is unaffected since none of
them put a secret in the URL itself.