All notable changes to this project will be documented in this file.
- [All packages] Upgraded to .NET 6
- [Klarna Order Management] Fixed #174 - Tax rate calculation on discounted line items
- [Klarna Order Management] Fixed #172 - Missing payment type PAY_BY_CARD
- [Klarna Order Management] Fixed #172 - Missing payment type PAY_BY_CARD
- [All packages] Upgraded to .NET 5 and Optimizely Commerce 14
- [All packages] Configuration for payment methods has been moved from Commerce Manager to appsettings.json. See the documentation for Klarna Payments and Klarna Checkout for details
- [Klarna Payments] Updated configuration class
- [All packages] Removed Refit dependency
- [All packages] Changed from JSON.NET to System.Text.Json Serializer
- [All packages] Fixed #114 - Image URL for line item returns bad request when using string.Empty - Contributed by: hyllengren
- [Klarna Order Management] Fixed #99 - Missing payment type SWISH - Contributed by: Sebbe
- [Klarna Payments] Added AutoCapture (default: false, configurable in Commerce Manager), AcquiringChannel and CustomPaymentMethodIds to the Session
- [Klarna Checkout] Fixed #92 - Missing orderId on updates
- [All packages] Fixed #93 - Language comparison - Contributed by: Vincent
- [All packages] Fixed #84 - Removed Klarna.Rest.Core dependency
- [All packages] Updated - Local logic for detecting country and language
- [All packages] Fixed #68 - Upgrade to Episerver Commerce 13
- [All packages] Fixed #58 - Update deprecated package Klarna.Rest to Klarna.Rest.Core
- [Klarna Checkout] KlarnaCheckoutService is now async
- [Klarna Order Management] KlarnaOrderService is now async
AsyncHelper has been added to help call async methods synchronize - this can be used to make the upgrade easier in your code. We do recommend making your controller async.
Klarna.Common.AsyncHelper.RunSync(() => MyAsyncMethod());
- Fix for shipment amount validation issue when updating shipping option #63
- Use PricesIncludeTax property on market to determine if tax should be included on orderline
- [Klarna Order management] Exception handling when order can not be retrieved
- Using primary host as a site URL with fallback to site URL.
- Fixed discount calculation being wrong.
- Fixed a bug when shipping tax was not calculated properly for markets which has "PriceIncludeTax" setting.
- Fixed a bug when tax was not calculated properly for markets which has "PriceIncludeTax" setting.
- Added mapping from language NO to NB to make the widget render in norwegian.
- Fixed shipment option loading by language.
- Update System.Security.Cryptography.Xml to version="4.4.2" (security vulnerabilities)
- [Klarna Checkout] Made KlarnaCheckoutService overrideable, changed functions to virtual.
- [Klarna Checkout] Use market default languange when loading settings from Commerce Manager
- Initial release to Episerver nuget
- Added changelog file
- Added ".v3" to all package names to prevent issues with existing nuget packages on the official nuget feed