Maho 26.11.1 locks the PayPal shipping callback and gives the reports their days back
No new features in 26.11.1: two security fixes, reports that no longer lose whole days of statistics, prices with tax that match the cart and feeds that export the price the store charges.
26.11.1 is a maintenance release for the 26.11 line: no new features, just fixes
backported from main. It is worth installing soon, because it carries two
security fixes and the one for the reports that were losing whole days of
statistics.
Security
- #1775
closes the shipping callback of the PayPal checkout. Any client that knew the
PayPal order ID of a cart could change the shipping address and method of that
cart through
POST /paypal/checkout/shippingCallback. The callback now accepts only requests that come from PayPal. - #1817
keeps the merchant credentials out of the debug logs. With Debug on, the
payment log showed the Authorize.Net API login ID and transaction key in clear
text, and the shipping log showed the DHL site ID and password. Both now read
***.
The fixes in this patch
- Reports:
#1709
rebuilds every period that a partial refresh clears. The nightly
aggregate_sales_report_*crons and Refresh Statistics for the Last Day cleared whole periods but rebuilt only the rows created after the starting date, so days stayed out of the Invoiced, Refunded, Shipping, Bestsellers, Tax, Coupons and Product Viewed reports until a lifetime refresh. #1741 fixes the labels of the monthly sales reports, where every row read2026-0: rows now read2026-01,2026-02and so on, and a yearly report no longer shows the current year in every row. Admin item renderers also show the tax in the right currency. - Invoices, credit memos and refunds:
#1723
makes credit memos with a shipping discount add up. An API credit memo without
shippingAmountrefunded the shipping without its discount, shipping incl. tax refunded too little, the last item was rejected after a shipping refund, and partial shipping refunds rounded each share on its own. The credit memos of an order now add up to its total paid. #1728 fixes a new invoice that came out too high by the shipping discount after the invoice with the shipping was cancelled, and that made “Capture Online” capture the higher amount. And #1733 stops API refunds withofflineRefund: falsefrom being counted as refunded online without reaching the payment gateway: the API answers 422 and asks for an offline refund. - Prices: #1735 puts the product page and the cart back on the same cent. A net price of 11.4754 with 22% tax showed 14.00 on the product page and cost 14.01 in the cart; every place that shows the price now shows 14.01. For a round gross price, the way to go is Catalog Prices set to Including Tax.
- Feeds:
#1772
exports the price the store charges. During a sale Facebook, Bing, Pinterest,
Google Local Inventory and OpenAI sent the same amount as price and as sale price,
and Trovaprezzi sent an expired special price. With the default mappings a feed now
exports the price without expired or future promotions, the truncate transformer
counts its suffix, and a generation that cannot advance stops and keeps the
previous feed.
#1738
stops a CSV feed from changing a product title when a quote follows a backslash, and
a feed with a pipe or semicolon delimiter, or with a single quote as enclosure, no
longer fails with “No valid data rows found”. The enclosure “None” works again too.
#1739
reports as an error the product that a JSON feed cannot serialise, for example on an
INFvalue: before, the product disappeared while the feed counted it as written. And #1746 fixes custom JSON and XML feeds with special characters, where a quote or a backslash in the JSON root key, or]]>in a product text with CDATA, produced an invalid file. - Stock:
#1811
reports bundle, configurable and grouped products as out of stock when every child
is exhausted. Product lists showed “View Details” for a product that could not be
bought, and the API
stockStatusand the feeds agreed with them. A feed with Exclude Out of Stock now leaves such a product out. - AI assistant:
#1623
moves Maho to Symfony AI 1.0.0-BETA1,
mcp/sdk0.9 and API Platform 5.0.6, and makes a task fail at once on an error that a retry cannot fix, a wrong API key for example. - Admin:
#1706
removes the double border from focused admin fields and makes a page wider than the
window scroll inside its own card, so a wide table no longer pushes the Save
buttons off screen.
#1795
separates the feed name from the status in the generation dialog and adds a
progress bar, with a green card once the feed is ready.
#1807
translates the Gift Card pages and the account menu under a non-English locale, and
nine other modules had the same problem in the admin or on the storefront.
#1781
turns the rich text editor back on in the home pages of the sample data, where
colspanandrowspanswitched it off, and saves analtwith&or a Tailwindclasslist as typed. #1749 fixes the completions and diagnostics of the language server after Unicode text, where an accent, CJK text or an emoji moved the completion range and broke hover and go to definition. - Storefront and theme:
#1724
rebuilds the storefront stylesheet right after
./maho dev:frontend:theme:build, which until acache:flushkept the oldcss/styles.cssin the page head. A content save in the admin now reaches the storefront after 10 seconds instead of one minute, and a failed content build leaves a message in the admin inbox. #1793 makes JavaScript deferral work on a page with an inline script over 24 KB, which used to go out unchanged with nothing in the log. #1794 reads an AJAX response with a charset as JSON, wheremahoFetchmissed the error and session-expiry fields, and traced outgoing requests no longer send an old trace context. - Customers, orders and shipping:
#1713
clears the 500 error from the product and compare pages for sessions opened before
26.11.0, which hold the visitor and customer IDs as strings while the new typed
setters take an int.
#1717
saves a cart or catalog price rule with a From or To date again, where the save used
to end in a fatal error.
#1745
keeps email automation from sending the single-use coupon of one customer to another
one: customer 1 could get the code of customer 12, and whoever used it first left the
other with a dead code.
#1780
unblocks the captcha-protected forms that stayed on “Verifying…” on some mobile
browsers, because the ALTCHA widget fired
loadbefore its methods were bound. And #1777 keeps the original FedEx rates available on an order with partial free shipping, where the second quote for the chargeable weight could throw a PHP error or replace the methods. - API and integrations:
#1816
lets one request win when two parallel calls to
POST /api/oauth/tokensend the same refresh token or the same authorization code: the other one revokes the grant, as a reused token does. #1740 saves a legacy API role with a parent role, which used to fail with aTypeError. #1747 answers withredirectType: 302for a URL rewrite with optionR, which the API used to report as a 301. #1768 lets./maho migratepass on MySQL when the database holds a view with a TIMESTAMP column, where it used to stop with1347 'example_view' is not BASE TABLEand leave every later script unapplied../maho legacy:fix-zero-datesand the health check skip views too. - Copy and links: #1788 points the tax rounding notice at the Maho guide on tax calculation, instead of the 2015 archived copy of a Magento page that no longer exists.
Before you update
The patch adds no settings. These are the points to plan for.
- Symfony AI 1.0.0-BETA1: if your project requires a provider bridge
(
symfony/ai-open-ai-platform,symfony/ai-anthropic-platform,symfony/ai-gemini-platform,symfony/ai-mistral-platform,symfony/ai-open-router-platformorsymfony/ai-ollama-platform), require^1.0of that bridge, orcomposer updatefails. Until Symfony AI 1.0 is stable, allow beta packages as well, with"minimum-stability": "beta"and"prefer-stable": true. - API refunds with
"offlineRefund": falsenow get a 422. Those refunds never reached the payment gateway, so check the credit memos that the API created this way and refund them at the gateway if needed. - Prices with tax: on a catalog price with more than two decimals they can change by one cent on the product page, in tier prices, in structured data, in feeds, in analytics events and in price alert emails. The new price is the one the cart already charged.
- Rich text editor content: content saved before this release can hold
unsafe:at the start of an attribute. Search CMS pages, CMS blocks and product and category descriptions for="unsafe:.window.xssKillahno longer exists in the admin: callxssFilter()orDOMPurify.sanitize()instead. - Gift Card and other module translations: flush the
translatecache after the upgrade. - Feed mappings: saved mappings do not change. Review the price and sale date fields of your feeds to adopt the new defaults, then regenerate them.
- Theme build:
./maho dev:frontend:theme:buildalso compiles the classes of the content. Add--no-contentto a build script that must not touch the database. With-n, the theme build commands no longer install the Tailwind toolchain: add--force. - Typed signatures: a rewrite of the methods listed below has to use the new typed
signature, and
setExpirationDate()takes a UTCY-m-d H:i:sstring or null, not aDateTime.
// the typed signature is mandatory
Mage_Customer_Model_Session::getCustomerId()
Mage_Reports_Model_Product_Index_Abstract::getVisitorId()
Mage_Reports_Model_Product_Index_Abstract::getCustomerId()
Mage_Catalog_Model_Product_Compare_Item::addCustomerData()
Mage_Catalog_Model_Product_Compare_Item::addVisitorId()
// a UTC "Y-m-d H:i:s" string or null, not a DateTime
Mage_SalesRule_Model_Coupon::setExpirationDate()
Text prepared with the help of AI and checked against the source before publication. It can still contain mistakes: if you find one, report it.Read the manifesto
Source: Release 26.11.1
Does your store still sell?
Tell us where you are starting from: we reply with a first assessment, no strings attached.
Ask for the store assessment