Skip to content

Latest commit

 

History

History
69 lines (54 loc) · 3.15 KB

CHANGELOG.md

File metadata and controls

69 lines (54 loc) · 3.15 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

Changed

  • Added compatibility with PHP8.2.

BREAKING CHANGES

  • The SeQura\Core\BusinessLogic\Webhook\Repositories\OrderStatusMappingRepository interface is moved and renamed to SeQura\Core\BusinessLogic\Domain\OrderStatusSettings\RepositoryContracts\OrderStatusSettingsRepositoryInterface,
  • The SeQura\Core\BusinessLogic\Domain\OrderStatusSettings\Models\OrderStatusSettings entity is removed.
  • The SeQura\Core\BusinessLogic\Webhook\Services\StatusMappingService service is moved and renamed to SeQura\Core\BusinessLogic\Domain\OrderStatusSettings\Services\OrderStatusSettingsService

BREAKING CHANGES

  • The \SeQura\Core\BusinessLogic\Webhook\Services\ShopOrderService::updateStatus method signature is changed. Now the whole Webhook instance is passed as first argument instead of shop order reference. Existing code can get the shop order id directly from Webhook instance.
  • The \SeQura\Core\BusinessLogic\SeQuraAPI\Order\OrderProxy::updateOrderCarts method has been removed since it is the same as updateOrder method from the same class. Also \SeQura\Core\BusinessLogic\SeQuraAPI\Order\Requests\UpdateOrderCartsHttpRequest has been removed since it is the same as \SeQura\Core\BusinessLogic\SeQuraAPI\Order\Requests\UpdateOrderHttpRequest.

Changed

  • Added order total calculation in cart items setter.

Changed

  • Added optional parameters to the updateStatus method of ShopOrderService interface.

Changed

  • Made methods of webhook handler protected.

Changed

  • Fixed a duplicated cart bug when transforming order update request.

Changed

  • Removed operator reference from merchant DTO.

Changed

  • Updated the endpoint URL for updating order carts in proxy.

Changed

  • Updated the cart DTO to allow updating order items.

Added

  • Added a proxy method for updating carts on the SeQura API

Changed

  • Updated webhook handling logic to execute synchronously in order to return an error response in case there are any errors while updating the target shop order status.

Added

  • Function to fetch grouped payment methods.
  • Initial release