Install

Works with Drupal: ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 166.25 KB
MD5: 3ce1e9c6e565122b0b8f17bc89102c64
SHA-1: 284e05f1d0a13f43ea9b1af0ff5da38ceaf606b0
SHA-256: 8a92b1d18711810ad9f1418f4b6be11b6831fdd1f1a6eb0e5f32df2154a4e863
Download zip 278.86 KB
MD5: 574c3623ad186a197d598e0d6d99c600
SHA-1: 70c9937e77b92aa1059840acaf69ac64ac886a71
SHA-256: f82113a6e91929e46b40cd2dc4b23d7fb69dcc96ea965505351da4c281606109

Release notes

# WT Commerce 1.2.3 — release notes

Patch release for `wt_simple_pay`. No database changes, no update hooks.

## Pricing fixes

- **Variation prices are charged correctly.** When a variation has its own price, the product's sale price no longer applies to it (this was already the rule on the product page and in the cart). Checkout used the product's sale price instead, so the buyer could pay a different amount than the cart showed. The free-shipping threshold used the same wrong price. All prices now come from one place, so the product page, the cart and the amount sent to the payment gateway always match.
- **Removed variations can't be bought.** If you delete a variation while a buyer has it in the cart, checkout now removes that line and tells the buyer. Before, it was still sold at its old price.
- **"Out of stock" is enforced at checkout.** A product you mark *Out of stock* after a buyer added it to the cart is shown as "No longer available" in the cart and removed at checkout. Adding it to the cart is also refused, even from an old page.

## PayPal

- **Charged PayPal orders are no longer deleted.** In the rare case where PayPal captures a payment for a different amount than the order, the order stays *Pending PayPal* and you receive an e-mail (as before). The PayPal capture ID is now saved on the order, and the cleanup cron keeps it, so you can refund the payment or complete the order by hand. Before, the cleanup deleted such orders after the payment window.

## Other

- The shipped order display (new installs only) no longer has an invalid setting on the status field.
- First automated Kernel tests for `wt_simple_pay` (pricing and the cleanup cron). They run on drupal.org CI.

## Upgrade

Update the code and run `drush cr`. Nothing else is needed.

**For themers:** a cart line that can no longer be bought shows `No longer available` where the price usually is. Style it in your theme if you like. The text is translatable.

Created by: alexpertsi
Created on: 27 Oct 2026 at 15:04 UTC
Last updated: 27 Oct 2026 at 15:04 UTC
Bug fixes

Other releases