Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Latest commit

 

History

History
executable file
·
187 lines (142 loc) · 6.53 KB

CHANGELOG.md

File metadata and controls

executable file
·
187 lines (142 loc) · 6.53 KB

Changelog

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.

Removed

  • Remove package which led to errors in CI.
  • Remove support for PHP 5.6 and 7.0.

Added

  • 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.

Changed

  • 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.

Added

  • Support for factoring.

Fixed

  • Santanter Invoice integration tests.

Added

  • Payment method for B2B invoice secured and corresponding tests.
  • Missing parameter CUSTOMER.OptIn_2 for Santander Invoice.
  • Example implementation for Santander paying by instalments.

Changed

  • Used BasketApi to enable additional integration tests for Santander IV.

Fixed

  • Path to autoloader in EasyCredit example.

Added

  • Example implementation for easyCredit payment method.
  • Json extension dependency to composer.json.

Changed

  • Updated readme file.

Added

  • Payment method 'Santander Hire Purchase' and corresponding tests (unit and integration).
  • Missing unit tests.

Changed

  • Replaced warning suppression in mapFromPost method.
  • Visibility of *Parent methods in CreditCardPaymentMethod and DebitCardPaymentMethods
  • 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.

Fixed

  • Parameter names in riskinformation group.
  • Fix test data.

Removed

  • Php 5.6 from travis workflow.

Added

  • New unit test to cover finalize payment method.

Changed

  • Replaced static strings with constants.

Removed

  • Finalize payment method and tests from direct debit secured.

Fixed

  • Code style issues.
  • Overwriting of parameters when calling credit/debit card methods without parameters

Fixed

  • Error in DirectDebitB2CSecured during integration test of reversal transaction.
  • Fixed a bug which can cause errors due to irregular post parameters.

Changed

  • Renamed "Heidelberger Payment GmbH" to "heidelpay GmbH" due to re-branding.
  • Changed tlds from de to com.
  • Changed documentation and data-privacy-policy links.

Added

  • 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.

Changed

  • Added debug output to integration tests. Append --debug to see them (codecept run integration --debug).
  • Replaced magic setters.

Added

  • fromJson() and fromPost() static methods to instantiate Response and Request 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 urls
    • Brand 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 transactions
    • StatusCode includes transaction status codes
    • TransactionMode includes transaction modes, which are important for the running environment
    • TransactionType includes codes for transaction types (e.g. Capture, Debit, Reversal, ...)

Changed

  • Clearified the exception message in verifySecurityHash() (Response script/page should only be called by heidelpay)

Removed

  • AbstractPaymentMethod class in favor of the BasicPaymentMethodTrait

Deprecated

  • Declared Response::splitArray() as deprecated in favor of fromPost() and replaced it's code with a fromPost call

Added

  • HttpAdapterInterface to allow injecting a custom http adapter.
  • Criterion get() method for custom properties

Changed

  • 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.

Fixed

  • Code style issues.
  • Defined version pattern for phpunit coverage package to work around bug in codeception coverage package.

Changed

  • Package description, replace, conflict and badges.
  • Replaced hard coded version with constant.

Added

  • Added integration tests.
  • Added new unit tests.
  • Added payolution payment method.

Fixed

  • Fixed several code style issues.
  • Fixed setting custom http-adapter.

Changed

  • 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.

Removed

  • Needless parameters from registration()-method call in class DirectDebitRegistration.