@sixer1182 sixer1182 released this Sep 14, 2018

Assets 2

v1.6.2

Fixed

  • Path to autoloader in EasyCredit example.

@sixer1182 sixer1182 released this Sep 10, 2018 · 4 commits to master since this release

Assets 2

v1.6.1

Added

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

Changed

  • Updated readme file.

@sixer1182 sixer1182 released this Jul 30, 2018 · 15 commits to master since this release

Assets 2

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.

@stevenobird stevenobird released this Apr 13, 2018 · 65 commits to master since this release

Assets 2

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

@sixer1182 sixer1182 released this Mar 6, 2018 · 77 commits to master since this release

Assets 2

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.

@sixer1182 sixer1182 released this Feb 6, 2018 · 91 commits to master since this release

Assets 2

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.

@stevenobird stevenobird released this Jan 9, 2018 · 108 commits to master since this release

Assets 2

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
Assets 2

PHP Payment API Release v1.2.0

Custom HTTP Adapter, Criterion ParameterGroup Custom Getter

Added

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

You can now retrieve custom properties set by getCriterion()->set('field', 'value') by calling getCriterion()->get('field') on your Request/Response instance.

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.
Dec 6, 2017
Several minor changes and fixes.
Workaround codeception coverage bug.
Dec 6, 2017
codeception instead of phpunit, semantic versioning