diff --git a/CHANGELOG.md b/CHANGELOG.md index bc68c7b..71b075f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,16 @@ # Release Notes -## [Unreleased](https://github.com/NETipar/simplepay/compare/v2.1.0...HEAD) +## [Unreleased](https://github.com/NETipar/simplepay/compare/v2.2.0...HEAD) + +## [v2.2.0](https://github.com/NETipar/simplepay/compare/v2.1.0...v2.2.0) - 2026-12-03 + +### Added + +- `SimplePay::payment()->status()` calls the SimplePay Status API (`/v2/status`, published 2026-07-28): it returns only the current status of one transaction as a `StatusResponse` (`status`, `endState`, `transactionId`, `orderRef`, `merchant`), so it is lighter than `query()` and suits polling. Pass exactly one of `transactionId` and `orderRef`; otherwise it throws `InvalidArgumentException` before sending. + +### Documentation + +- The README, the examples and the Boost skill describe `status()`, and the Google Pay guide names it next to `query()` for fulfilling the order. ## [v2.1.0](https://github.com/NETipar/simplepay/compare/v2.0.0...v2.1.0) - 2026-10-18