This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
Releases: heidelpay/heidelpayPHP
Releases · heidelpay/heidelpayPHP
Release 1.2.9.0
Version 1.2.8.0
1.2.8.0
Add
- Curl error string to debug log.
- Environment variable to enable/disable verbose curl output.
- Method to get the initial transaction from a payment.
- Parameter
css
toPaypage
to enable custom styling. Special thanks to github user bleenders.
Change
- Mask auth header in debug log.
- Refactor test logging.
- Replace test environment variable.
- Apply minor changes.
- Refactor tests due to disabled default keypair.
- Refactor all files to reflect PHP 7.1 standards.
- Replace
codacy/coverage
withcodacy/codacy-coverage-reporter
. - Update examples.
Fix
- Change TravisCI config to use default linux distribution in VM to fix certificate errors during integration tests.
- Remove invalid PHPUnit config parameters.
Remove
- Disabled key pair from examples and tests.
- Remove deprecated method
authorizeWithPayment
. - Remove return value from
deleteCustomer
method.
Release version 1.2.7.2
Fix
- Rename Cards property holder to cardHolder.
- Add cancellation object to authorization only if cancellation has been successful.
Change
- Fix some minor issues.
- Refactor tests due to API changes.
- Update response codes due to API changes.
Added
- TraceId property to payment and transactions.
- Email form field to PayPal example.
- Description to zgReferenceId setter/getter.
- Added geolocation to Card resource.
- Payout webhook events.
Fix date format
Added
- PHP version to HTTP header.
Remove
- PHP7.0 support.
- Travis tests using composer update.
Fix
- Changed date format string to support times with 24h-format.
Add PHP7.4 support
Added
- Http headers to debug log.
- PID to debug log.
- PHP7.4 support.
- Handles for automatic testing to examples.
Changed
- Update example implementation for Hire Purchase direct debit payment type (FlexiPay® Rate).
- Write log messages from examples to examples\log\example.log instead of error.log.
- Several minor changes.
Fix
- Ensure locale strings comply to standard.
Facade Refactoring
Added
- Example for Payment Type
Przelewy24
. - Enabled recurring payment for SEPA direct debit (guaranteed).
Fixed
- Composer: PHP version constraint.
- Several minor issues.
Changed
- Refactor travis config.
- Refactor heidelpay facade to implement service interfaces.
- Move payment cancel methods to cancel service.
- Cleanup doc comments.
- Refactor unit tests.
- Refactor access modifiers of setters intended for system access only.
Remove
- Move method doc blocks to service interfaces.
- Remove dead code.
Fix a bug leading to error cancelling charged invoice
1.2.5.1
Fix
- A bug which led to an error when trying to cancel the initial transaction of a charged invoice.
Add FlexiPay® Rate (Hire Purchase Direct Debit)
1.2.5.0
Added
- Hire purchase direct debit payment type (FlexiPay® Rate) including example implementation.
- Additional parameters from payment type to transactions.
- Facade method to update payment type.
- Property invoiceId to
Payment
class. - Added card details to
Card
payment type. - Property
card3ds
toPaypage
. - Geolocation to
Customer
resource. - Property
effectiveInterestRate
toPayPage
to enableHirePurchase
payment types.
Changed
- Refactor invoice guaranteed tests to make them independent from each other.
- Response Code for basket item image extension error has been deprecated since it has been removed from the API.
- Refactored cancellation feature to support FlexiPay® Rate cancel.
- Remove trailing slash from routes.
- Float values are now rounded with 4 decimal places when exposed to the API. The value of the local object will be updated as well.
Removed
- Unused Constants.
- Obsolete/dead code.
Fixed
- Several minor issues.
Version 1.2.4.0
1.2.4.0
Added
- It is now possible to exclude payment types from the Paypage.
Release Version 1.2.3.0
Added
- An example for
Prepayment
payment method. - An example for
Invoice
payment method. - Charge methods
getCancelledAmount
andgetTotalAmount
. - Authorize method
getCancelledAmount
. - Detailed
Keypair
fetch. - Added properties to
Keypair
resource.
Fixed
- A problem with
HeidelpayApiException.
- A problem which resulted in an error when trying to create a
Customer
implicitly with a transaction when itscustomerId
was set.
Changed
- Replaced unreliable
Payment::cancel()
method withPayment::cancelAmount()
which takes multiple cancellation scenarios into account. - Replaced
ApiResponseCodes::API_ERROR_AUTHORIZE_ALREADY_CANCELLED
withApiResponseCodes::API_ERROR_ALREADY_CANCELLED
. - Replaced
ApiResponseCodes::API_ERROR_CHARGE_ALREADY_CHARGED_BACK
withApiResponseCodes::API_ERROR_ALREADY_CHARGED_BACK
. - Add deprecation notice for
Payment::cancelAllCharges
andPayment::cancelAuthorization
- Adapted integration tests with basket to changes in API.
- Refactor deprecation notices.
- Refactored and extended unit tests.
- Test
Keypair
can now be set via environment variables.