Skip to content

Changelog

Version 1.2.0 (2026-08-03)

  • Compatibility with Magento 2.4.9 and PHP 8.5

Version 1.1.1 (2026-05-28)

Refactor

  • PostPay refund logic moved into Postpay::refund() (overrides AbstractMethod::refund()); the previous around-plugin PostpayRefundPlugin is removed. CopeX_Plc integration is preserved — when CopeX_Plc is enabled, the override short-circuits so plc-m2's own plugin remains authoritative.

Fix

  • Post-Label input field is now reliably rendered on the credit memo create form, positioned above the "Items to Refund" section (injected via plugin on the credit memo Create\Items block); previous layout-XML approach added the block as an unrendered child of order_creditmemo.

Docs

  • Section 3.3 (DE/EN): corrected the button name to "Refund Offline" (PostPay is an offline payment method without an online gateway transaction — Magento's Payment::refund() reaches the gateway's refund() via the elseif ($gateway->isOffline()) branch, regardless of doTransaction).

Tests


Version 1.1.0 (2026-05-26)

Feature

  • Standalone PostPay refund — module performs refunds via the PostPay REST API without requiring CopeX_Plc
  • New "Post-Label / Tracking-Number" input field on credit memo create form (required when CopeX_Plc is absent, hidden when present)
  • New database column sales_creditmemo.postpay_post_label to persist the tracking number per credit memo
  • New admin configuration group "PostPay Refund API (Standalone)" with API Key, API Secret, Test Mode, and endpoint URLs
  • OAuth2 client with token caching (TTL = expires_in - 60s) and 401-retry on stale tokens
  • Refund amount validation against the Post.at EUR 1200 hard limit

Behavior

  • When CopeX_Plc is installed, the existing plc-m2 refund flow takes precedence and the new field is hidden — backwards compatible
  • Standalone mode integrates with Post.at REST API at https://postag.{test,prod}.apimanagement.ch20.hana.ondemand.com

Version 1.0.6 (2026-05-12)

  • Compatibility with Magento 2.4.8-p5
  • Compatibility with Magento 2.4.7-p10

1.0.5 - 2026-03-16

  • Maintenance release without functional changes

Version 1.0.4 (2026-03-14)

Improvement

  • Added PLC Refund configuration info block in admin system configuration

Version 1.0.3 (2026-03-11)

  • Added compatibility with Magento 2.4.8-p4
  • Added compatibility with Magento 2.4.7-p9

Version 1.0.2 (2025-10-15)

  • Compatibility with Magento 2.4.8-p3
  • Compatibility with Magento 2.4.7-p8

Version 1.0.1 (2025-08-27)

  • Version bump without code changes

Version 1.0.0 [2025-08-13]

Improvement

  • Initial Release