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.
- Remove package which led to errors in CI.
- Remove support for PHP 5.6 and 7.0.
- Parameter group to allow Online Transfer payments (e.g. EPS, Giropay and iDeal) without bank selection in shop.
- Example for EPS and Giropay without bank selection.
- Updated dependencies.
- Refactored ArraysMatchConstraint to new dependency version.
- Replaced codacy/coverage with codacy/codacy-coverage-reporter.
- Set integration tests to use PHP 7.1.
- Several minor updates.
- Support for factoring.
- Santanter Invoice integration tests.
- Payment method for B2B invoice secured and corresponding tests.
- Missing parameter CUSTOMER.OptIn_2 for Santander Invoice.
- Example implementation for Santander paying by instalments.
- Used BasketApi to enable additional integration tests for Santander IV.
- Path to autoloader in EasyCredit example.
- Example implementation for easyCredit payment method.
- Json extension dependency to composer.json.
- Updated readme file.
- Payment method 'Santander Hire Purchase' and corresponding tests (unit and integration).
- Missing unit tests.
- Replaced warning suppression in mapFromPost method.
- Visibility of *Parent methods in
CreditCardPaymentMethod
andDebitCardPaymentMethods
- Prohibit setting the mode parameter of the frontend group.
- Renamed 'Heidelberger Payment GmbH' to 'heidelpay GmbH'.
- Re-enabled test deactivated due to error with aspect-mock package.
- Parameter names in riskinformation group.
- Fix test data.
- Php 5.6 from travis workflow.
- New unit test to cover finalize payment method.
- Replaced static strings with constants.
- Finalize payment method and tests from direct debit secured.
- Code style issues.
- Overwriting of parameters when calling credit/debit card methods without parameters
- Error in DirectDebitB2CSecured during integration test of reversal transaction.
- Fixed a bug which can cause errors due to irregular post parameters.
- Renamed "Heidelberger Payment GmbH" to "heidelpay GmbH" due to re-branding.
- Changed tlds from de to com.
- Changed documentation and data-privacy-policy links.
- Transaction type reregistration.
- Unit and integration tests for reregistration transaction.
toArray()
method to the AbstractMethod class for Request/Response- Added important methods to the PaymentMethodInterface.
- Added debug output to integration tests. Append
--debug
to see them (codecept run integration --debug
). - Replaced magic setters.
fromJson()
andfromPost()
static methods to instantiateResponse
andRequest
objects with a static call.- Several constants for Api Config, Paymentmethod codes, status/reason codes, ... see the following classes in the
Heidelpay\PhpPaymentApi\Constants
namespace:ApiConfig
includes this sdk's version, live and test api urlsBrand
includes codes for brands (e.g. Visa, giropay, PayPal)PaymentMethod
includes codes for all payment methods (e.g. CC for Credit Card, OT for Online Transfer, ...)ProcessingResult
includes transaction result codes (ACK and NOK for now)ReasonCode
includes reason codes (indicators for errors) of transactionsStatusCode
includes transaction status codesTransactionMode
includes transaction modes, which are important for the running environmentTransactionType
includes codes for transaction types (e.g. Capture, Debit, Reversal, ...)
- Clearified the exception message in
verifySecurityHash()
(Response script/page should only be called by heidelpay)
AbstractPaymentMethod
class in favor of theBasicPaymentMethodTrait
- Declared
Response::splitArray()
as deprecated in favor offromPost()
and replaced it's code with afromPost
call
HttpAdapterInterface
to allow injecting a custom http adapter.- Criterion
get()
method for custom properties
- Refactored Requests send method to only create a
CurlAdapter
object when needed. - Refactored unit tests to inject a
CurlAdapter
object instead of an InterfaceProxy object.
- Code style issues.
- Defined version pattern for phpunit coverage package to work around bug in codeception coverage package.
- Package description, replace, conflict and badges.
- Replaced hard coded version with constant.
- Added integration tests.
- Added new unit tests.
- Added payolution payment method.
- Fixed several code style issues.
- Fixed setting custom http-adapter.
- Replaced Coveralls with Codacy as analytic tool.
- Reorganized Travis CI script.
- Introduced Codeception as unit test framework and replaced phpUnit.
- Refactored existing unit tests.
- Changed versioning to semantic versioning.
- Changed repository.
- Changed namespaces to new repo name.
- Needless parameters from
registration()
-method call in classDirectDebitRegistration
.