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

Releases: heidelpay/heidelpayPHP

Version 1.2.2.0

16 Sep 16:11
cab0141
Compare
Choose a tag to compare

Fixed

  • An issue resulting in an error when a B2B customer is fetched which does not have a function set.

Added

  • Example to fetch all registered webhooks for the given key pair.
  • Missing API response code for insurance already activated message after shipment.
  • Giropay example
  • Optional parameter orderId to ship call.

Changed

  • Removed deletion of all webhooks prior to registering to webhook events.

Version 1.2.1.0

28 Aug 08:28
15de4db
Compare
Choose a tag to compare

Added

  • Parameters paymentReference and invoiceId to Authorization and Payout.
  • The SDK now supports the webhook event payout.
  • Example for Flexipay direct.
  • Email parameter to Paypal payment type.
  • Error id to HeidelpayApiException.

Changed

  • The webhook tests now cover all supported events.

Removed

  • SAQ-A test due to lack of a corresponding key.

Version 1.2.0.0

14 Aug 11:03
afcc872
Compare
Choose a tag to compare

1.2.0.0

Changed

  • Refactored all examples.
  • Fixed iDeal example.
  • Metadata are no longer automatically created and sent when they are not set by the merchant.
  • Version and Type of the SDK are now sent to the API with every request.
  • Add missing feature to readme.
  • Renamed property Basket::amountTotal to Basket::amountTotalGross to follow the change in the API.
  • Refactor tests.
  • Set Paypage default action to 'charge' and restrict values to 'charge' and 'authorize'.

Added

  • Property type to BasketItem.
  • An exception is now thrown in case of a CURL timeout.
  • The CURL timeout can now be changed via environment variable.

Removed

  • Unnecessary resource setters in Paypage.

Fixed

  • Unit tests work now even in development or staging environment.

Release Version 1.1.6.0

30 Jul 07:55
adde629
Compare
Choose a tag to compare

1.1.6.0

Added

  • Support for hosted and embedded payment page.

Change

  • Refactor integration tests to reduce redundancies and complexity.
  • Enable debug logging with unescaped slashes.

Release Version 1.1.5.0

23 Jul 09:52
9e81b0d
Compare
Choose a tag to compare

1.1.5.0

Added

  • Add payout transaction for Card and Sepa direct debit (guaranteed) payment type.
  • Customer objects can now be created via CustomerFactory.

Fixed

  • Links to documentation page.

Change

  • Add deprecation notice for Customer::__construct() which is replaced by the CustomerFactory.

Release Version 1.1.4.0

08 Jul 13:30
8096123
Compare
Choose a tag to compare

1.1.4.0

Added

  • Enabled switching MGW environment (Prod, Staging, Dev) via environment variable.
  • Examples for iDeal and Sofort.
  • Added PHP 7.3 support.
  • Add recurring payment for PayPal and Card payment type incl. examples.

Changed

  • Updated unit tests.
  • Refactored examples.
  • Allow to pass the event payload manually to Heidelpay::fetchResourceFromEvent.
  • Add properties imageUrl and subTitle to BasketItem resource.

Release Version 1.1.3.0

18 Jun 13:22
876bdf0
Compare
Choose a tag to compare

1.1.3.0

Added

  • Added property paymentReference to charge and refund transaction.

Changed

  • Adapted tests to new api behavior.

Release Version 1.1.2.0

06 Jun 09:24
a895b3a
Compare
Choose a tag to compare

1.1.2.0

Added

  • Added 3ds flag to card payment type.
  • Added example for invoice guaranteed payment type.
  • Added example for PayPal payment type.
  • Added example for the sepa direct debit guaranteed payment type.
  • Added example for the deletion of all webhooks.

Fixed

  • Added missing parameter invoiceId to payment::ship method.
  • A problem which resulted in an error when the property BasketItem::AmountPerUnit is set to 0.0.

Changed

  • Refactored implementation examples.
  • Enabled fetching the payment via orderId if its id is not set.
  • Changed the default values of Basket and BasketItem.
  • Refactored updating resource properties.
  • Adapt to small API changes.

New payment types: alipay, wechatpay and invoice factoring

02 May 09:01
ac64f14
Compare
Choose a tag to compare

Added

  • Added Webhook(s) functionality: Resource, tests, example.
  • Extended ResourceService with method to fetch a resource by its url.
  • Added method to fetch resource by received event.
  • Added log method to write to custom debuglog to heidelpay facade.
  • Added IdService to fetch ids and types from id strings.
  • Added Alipay payment type and example.
  • Added WeChat Pay payment type and example.
  • Added Invoice Factoring payment type and example.

Changed

  • Applied several micro optimizations.
  • Added response code to rest call logs.
  • Adapted integration tests to new api version.
  • Added parameter reasonCode to cancel method.
  • Update of ApiResponseCodes.
  • Add optional property invoiceId to charge transaction.

Fixed

  • Refactor setting basket items in basket resource to avoid problem with missing basket item reference id.

Release Version 1.1.0.0

25 Mar 08:12
3e7654d
Compare
Choose a tag to compare

1.1.0.0

This update contains breaking changes and you will most certainly have to update your implementation

Changed

  • Payment types Prepayment, Invoice and Invoice guaranteed can no longer perform the authorize transaction but only direct charge.
  • Enabled chargePayment with payment id.
  • Renamed KeyValidator class to PrivateKeyValidator.
  • Enabled setting the language for client messages.
  • Merged examples into and added error messages to the failure page.
  • Changed tests to meet updates in payment amount calculation within the payment API.

Added

  • Basic PublicKeyValidator which makes sure the key has the correct format.
  • Basket field amountTotalVat.
  • Optional parameter card3ds to charge and authorize transactions to enable switching between 3ds and non-3ds.
  • Transaction message property holding the last code and message from the api.

Removed

  • Constructor from AbstractHeidelpayResource.

Fixed

  • Several code style issues.