This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
Releases: heidelpay/heidelpayPHP
Releases · heidelpay/heidelpayPHP
Version 1.2.2.0
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
Added
- Parameters
paymentReference
andinvoiceId
toAuthorization
andPayout
. - 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
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
toBasket::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
toBasketItem
. - 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
orstaging
environment.
Release Version 1.1.6.0
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
1.1.5.0
Added
- Add payout transaction for Card and Sepa direct debit (guaranteed) payment type.
Customer
objects can now be created viaCustomerFactory
.
Fixed
- Links to documentation page.
Change
- Add deprecation notice for
Customer::__construct()
which is replaced by theCustomerFactory
.
Release Version 1.1.4.0
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
andsubTitle
toBasketItem
resource.
Release Version 1.1.3.0
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
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
topayment::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
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
1.1.0.0
This update contains breaking changes and you will most certainly have to update your implementation
Changed
- Payment types
Prepayment
,Invoice
andInvoice guaranteed
can no longer perform the authorize transaction but only direct charge. - Enabled chargePayment with payment id.
- Renamed
KeyValidator
class toPrivateKeyValidator
. - 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.