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

Releases: heidelpay/php-payment-api

Release Version v2.0.0

01 Jul 07:46
3c3f143
Compare
Choose a tag to compare

v2.0.0

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.

Factoring integration

25 Feb 15:31
30b5be4
Compare
Choose a tag to compare

Added

  • Support for factoring.

B2B invoice integration

06 Feb 10:03
46acadf
Compare
Choose a tag to compare

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.

Fix EasyCredit example

14 Sep 11:36
558e535
Compare
Choose a tag to compare

v1.6.2

Fixed

  • Path to autoloader in EasyCredit example.

Add easyCredit example.

10 Sep 08:48
583da51
Compare
Choose a tag to compare

v1.6.1

Added

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

Changed

  • Updated readme file.

Add Santander hire purchase and several changes/fixes

30 Jul 08:14
462c08a
Compare
Choose a tag to compare

v1.6.0

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.

v1.5.0

13 Apr 07:22
f3bea9b
Compare
Choose a tag to compare

v1.5.0

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

Rebranding from Heidelberger Payment GmbH to heidelpay GmbH

06 Mar 15:33
3c7c809
Compare
Choose a tag to compare

v1.4.1

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 reregistration transaction.

06 Feb 12:42
de2f457
Compare
Choose a tag to compare

v1.4.0

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.

v1.3.0: Merge pull request #6 from heidelpay/develop

09 Jan 12:49
7a2e264
Compare
Choose a tag to compare

PHP Payment API Release v1.3.0

Addition of constants and fromJson & fromPost static Request/Response constructors

Added

  • fromJson() and fromPost() static methods to instantiate Response and Request objects from Json objects or PHP arrays 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