WooCommerce plugin 2.2.4
Version 2.2.4 of Straumur Payments for WooCommerce is a security release. It ties the shopper's return from the payment page to the order it belongs to. Update as soon as possible.
The return from the payment page is tied to the order
When a shopper has paid on Straumur's payment page, they are sent back to the shop, and the shop records which payment belongs to the order. The plugin now accepts that return only for the payment session the shop created for the order, and only together with the order's own key.
A return that does not match is refused. The order is left unchanged and the visitor is sent to the cart.
Capture, cancel and refund from the WooCommerce order screen use the payment recorded at this step, so they always act on the order's own payment.
Payments in progress during the update
A shopper whose payment page was opened before the shop updated is sent to the cart with a notice instead of the order confirmation page. The order is still completed by the webhook.
Such an order has no payment reference in WooCommerce, so capture, cancel or refund for it is done in the Merchant Portal. This only affects payments that were in progress at the moment of the update.
Compatibility
No settings change. Tested with WordPress 7.1 and WooCommerce 11.1. Minimum versions are unchanged: WordPress 5.2, WooCommerce 8.1, PHP 7.4.
See WooCommerce for setup and requirements.