All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.1.12 - 2020-02-14
- Rolled back previous model changes. Remove obsolescence notices.
- HTTP Transport: Oceania Base URLs (playground and production)
3.1.10 (Enhancements Release/Auto-generated models) - 2019-12-10
This release contains fully updated API models. All the models were split by appropriate API entitities and all the models are auto-generated now. This change simplifies keeping up-to-date changes in the API request/response.
Note: all the models from the Model namespace are marked as obsolete and will be removed in future releases
- New auto-generated models and Store support of these models Full backward compatibility:
- Checkout API
- Customer Token API
- Merchant Card Services API
- Order Management API
- Payments API
- Settlements API
- Add support of the latest [2019-12-10] API features
- Fixed Sample application namespaces. Use non-obsolete Communication namespace.
3.1.9 (Enhancements Release) - 2019-11-14
- Hosted Payment Pages: Add support of session disabling
3.1.8 (Enhancements/Bugfix Release)
- Generated HPP models and put them in a new namespace Klarna.Rest.Core.Model.HostedPaymentPage. Generated models have all fields in the API and fixes #77
- Overloaded HostedPaymentPageStore methods to use new HPP models.
- Fixes the GET endpoint for sessions to be
/hpp/v1/sessions/{sessionid}
instead of/hpp/v1/sessions/{session}/status
. Fixes #78
3.1.7 (BugFix Release)
- HostedPaymentPage distribute session method did not send a body payout. Resolves #72;
- Fix the authorization_token property for the HostedPaymentPageSessionStatus model. Actualize model. Resolves #73
3.1.6.1 - 2019-10-16 (Enhancements)
- nuspec file now has all the SDK dependencies
3.1.5 - 2019-10-15 (Enhancements / BugFix Release)
- Refactoring: Fix typo in Communication namespace. Commuication -> Communication. Throw the ApiException from the old namespace in order to keep the backward compatibility. Typo in Klarna.Rest/Klarna.Rest.Core/Commuication namespace #70
- Add ability to set an HTTP proxy. Allow usage of WebProxy in HttpClient #66
- Fix typos in Settlements models. Typo in SettlementsGetAllPayoutsResponse.cs "Paginatinon" #64
3.1.4 - 2019-08-09 (Enhancements / BugFix Release)
- Resolves #57: Combine similar OrderManager Refund models into a single one. Add missing field to OrderManagementRefund model;
- Resolves #55: Refactoring: Rethink async/await and add ConfigureAwait in order to avoid dead-locking.
- Sample projects:
- Add WebForms sample app;
- Add WebApp MVC sample app.
- Resolves #53: Actualize the CheckoutOrder and OrderManagementOrder models;
- Resolves #56: Order management: Fix typo in the release remaining authorization endpoint.
3.1.3 - 2019-05-31 (Enhancements)
- Change the process of handling non-json errors from the API servers. Fix the example to show the real error processing workflow.
- Update examples files to show the real error processing workflow.
- CustomerToken API: Add support of the Status update;
- Examples: Add "How to use discounts" exmaple.
3.1.2 - 2019-03-29 (Enhancements / BugFix Release)
- Change the license element in .nuspec
- Update the example domain URLs
- Resolves #36: OrderManagement: Add method to create and fetch a Refund
- Resolves #17: OrderManagement: Add method to create and fetch a Capture
- Communication: Add a possiblity for Store entities to get the raw response
- OrderManagement: Fix the Capture create method. Warning: the method signature was changed
- Resolves #37: OrderManagementOrder model: Fix the typo in json field name. marchant_data -> merchant_data
3.1.1 - 2019-03-14 (Maintenance / BugFix Release)
- Sample program made more verbose, code is better annotated and sample credentials are removed
- Better illustrate use of
CheckoutOrderOptions.AllowedCustomerTypes
in example / sample app - Started augmenting documentation for methods
- .nuspec file to improve available metadata on nuget.org
- Fix up
CHANGELOG
to better reflect issues resolved by previous release - Resolves #27: Fix cannot send a content-body with this verb-type issue
- Resolves #33: Checkout API: Fix missing Shipping Attributes for OrderLines Model
3.1.0 - 2019-03-06 (Partial backward compatibility)
-
Change
CreateCapture
method signature. The method returns Capture data now when creating a new capture:- public async Task CreateCapture(string orderId, OrderManagementCreateCapture capture) + public async Task<OrderManagementCapture> CreateCapture(string orderId, OrderManagementCreateCapture capture)
-
Refactoring: Improved HTTP Transport
-
DocFX updated index page
- More examples
3.0.0 - 2018-12-19
⚠️ No backward compatibility
- Rewritten from scratch as a .Net Standard 2.0 class library using latest available documentation - Benny.O
- Supports Checkout v3, Payment v1, Order Management v1, Settlements v1, Customer Token v1, Hosted Payment Page v1, Merchant Card Service v3 - Benny.O
- SDK API Reference documentation now hosted on GitHub Pages: https://klarna.github.io/kco_rest_dotnet/
2.2.0 - 2016-02-15
- NEW META-112 Updating MerchantUrls model for shipping_option_update, address_update & notification - Christer.G
2.1.0 - 2015-12-07
- NEW META-13 Support 201 for refunds. - Joakim.L
2.0.1 - 2015-07-01
- FIX MINT-2252 Correct model names for extra merchant data. - Christer.G
2.0.0 - 2015-06-25
- NEW MINT-2201 Use order id instead of URL for checkout orders - Christer.G
- NEW MINT-2086 Updating API error handling - Christer.G
- NEW MINT-2232 Add support for checkout attachment Extra Merchant Data - Christer.G
- NEW MINT-2215 Add base URIs for North America - Christer.G
- NEW MINT-2246 Add support for external payment methods and checkouts - Christer.G
1.1.0 - 2015-06-16
- NEW MINT-2061 Add support for US - Majid.G
- NEW MINT-2230 Add support for gui options - Joakim.L
- NEW MINT-1912 Support checkout v3 and ordermanagement v1 APIs - Joakim.L