All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- PHPStan (static analyser) added in workflow
- Tests are now run also on PHP 8.2
- Code quality improvements and other fixes
- Add missing transaction property to activateInvoice request
- Use PSR-12 standard
- Add missing properties to RefundRequest
- Add missing fields to PaymentResponse model
- Add method for activate-invoice endpoint
- Fix function parameter types
- Payment report endpoint added
- companyName added to Customer model
- Fixed cUrlClient query parameters
- Added PHPUnit test workflow
- Added cUrl fallback option for Guzzle
- Fixed phone input validation in the example code
- Fixed street address validation variable
- Fixed street address validation in case of null
- Added settlements endpoint
- Added a validation exception if street address is longer then 50 characters
- Fixed exception handling on request timeout
- Added support for Guzzle 7
- Added signature validation to examples
- Removed bundled Guzzle 6 library
- Guzzle version (6 or 7) is selected automatically depending on the environment
- Payment timestamp accuracy increased in examples
- Added native return type to jsonSerialize()
- Allow payment request to be made without providing any items
- Validation rules updated to check if a negative value has been provided for an item
- setDeliveryDate is now optional
- All initial plugin functionalities