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

Initial Release

Compare
Choose a tag to compare
@stevenobird stevenobird released this 22 Nov 08:59
· 12 commits to master since this release
64f7e22

heidelpay PHP Basket API - Release 1.0.0

This release marks the official release of the PHP integration for the heidelpay Basket API. If you are developing an application with heidelpay secured payment methods - from which almost every of them need Baskets in order to avoid declined insurances - or using heidelpay as a Marketplace channel, feel free to use this library.

Following features are available for Version 1.0.0 (which is compatible with the Developer Guide v1.2):

Basket API Request methods

  • adding a new Basket
  • retrieving a Basket
  • overwriting an existing Basket with the Basket ID as reference

Basket

  • add BasketItems
  • update BasketItems by position as reference
  • delete BasketItems by position & reference id

BasketItem

  • usage as Marketplace item by either providing $isMarketplace as true in the constructor or by using the setIsMarketplaceItem() setter.
    • this enables the properties channel, commissionRate, transactionId and usage to be added to the JSON representation and therefore be sent on requests

Nice-to-have

  • updating of the Basket amounts according to added/deleted/updated BasketItems' amounts when providing $autoUpdate in addBasketItem(), updateBasketItem(), deleteBasketItembyPosition() or deleteBasketItemByReferenceId() as true

If you have any bugs to report or just want to provide general feedback, feel free to create an issue or contact us directly on [email protected]