Releases: Payfast/payfast-common
Releases · Payfast/payfast-common
Release list
Payfast common class for modules v1.4.1
What's Changed
Fixed
- Aggregator: Enhanced the
pflog()function to resolve the invalid stream resource error, improving stability and error handling.
Full Changelog: v1.4.0...v1.4.1
Payfast common class for modules v1.4.0
What's Changed
Added
- Improve Aggregator createTransaction() to accept $returnForm parameter to make it easier to debug custom
integration forms.
Full Changelog: v1.3.1...v1.4.0
Payfast common class for modules v1.3.1
What's Changed
Fixed
- Fix Error 411 on Aggregator for some servers, where POST requests require a Content-length header.
Full Changelog: v1.3.0...v1.3.1
Payfast common class for modules v1.3.0
What's Changed
Added
- Improve Aggregator placeRequest() to accept $returnCurlRequest parameter to make it easier to debug API calls.
Full Changelog: v1.2.2...v1.3.0
Payfast common class for modules v1.2.2
What's Changed
Improved
- Amend placeRequest() to accept timestamp and version if sent in $body.
- Empty $body if action is set. This is used for Query/Retrieve Refund.
Removed
- Obsolete sample code.
Full Changelog: v1.2.1...v1.2.2
Payfast common class for modules v1.2.1
What's Changed
Changed
- Refactored common API methods to use instance-based (non-static) implementations for improved
flexibility and testability.
Fixed
- Corrected the URL used in the Refund method to ensure accurate API requests.
Full Changelog: v1.2.0...v1.2.1
Payfast common class for modules v1.2.0
What's Changed
Added
- Introduce new Gateway library to streamline and enhance request processing.
Improved
- Rename namespaces and classes for better clarity and alignment with industry standards.
Breaking Changes
- Namespace Changes: Updated namespaces for several core classes. This change requires consumers to update their
imports to match the new namespace structure. - Class Renames: Some classes have been renamed for consistency. Existing references to these classes will need to
be updated.
Full Changelog: v1.1.0...v1.2.0
Payfast common class for modules v1.1.0
What's Changed
- Breaking: Refactor static to instance methods.
- Breaking: Convert constants to object properties.
Full Changelog: v1.0.2...v1.1.0