Comments (7)
New model Klarna.Rest.Core.Model.Checkout.Order is using CheckoutMerchantUrls which is Deprecated. But MerchantUrls is not used. Very confusing... Is there no conversion?
[JsonProperty(PropertyName = "merchant_urls")]
public CheckoutMerchantUrls MerchantUrls { get; set; }
from kco_rest_dotnet.
Trying to use the captureobject, why does Klarna.Rest.Core.Model.OrderManagement.Order OrderLines not using same orderline object as CaptureObject.OrderLines ? #confused
Does it exists any conversions?
public async Task Capture(Klarna.Rest.Core.Model.OrderManagement.Order order)
{
await Klarna.OrderManagement.CreateCapture(order.OrderId, new CaptureObject()
{
CapturedAmount = order.OrderAmount,
Description = "name of store",
OrderLines = order.OrderLines
});
}
from kco_rest_dotnet.
Hi there @LucGosso and thank you for raising these issues. In our effort to maintain backwards compatibility with older models we've inadvertently caused some trouble.
There is an ongoing effort to fix this here #94.
We hope to get the examples updated in the same go. However due to limited availability, we cannot guarantee a delivery date.
A changelog relating to each release can be found here: https://github.com/klarna/kco_rest_dotnet/blob/v3.x/CHANGELOG.md
from kco_rest_dotnet.
thx, seems to me we should go to version 3.1.9 meanwhile. is that a good option @freethan ?
IMHO dont be afraid of bumping a version and introduce breaking changes. looks messy when new api extends old.
from kco_rest_dotnet.
Hi again @LucGosso . Yes indeed, I would propose to stay clear from 3.1.10 for now if this is causing troubles for you and wait for a bug fix release, or even better a breaking change version coming out later.
Thanks for the good feedback, we appreciate it 👍
from kco_rest_dotnet.
Closing this issue. The plan is to release a v3.1.12
as the final 3.x release without any attempts to maintain compatibility.
from kco_rest_dotnet.
Good decision, if it is breaking, it should be v4. https://semver.org/
from kco_rest_dotnet.
Related Issues (20)
- Code hangs on payment execution. HOT 1
- Handle card payment HOT 1
- shipping_method "" cannot be serialized into Enum OrderManagementShippingMethod
- Async/Await issue HOT 5
- Typo in endpoint for "Release remaining authorization" HOT 2
- The wrong type for "refunds" is used in the "OrderManagementOrder" class HOT 3
- Issue installing the Klarna nuget package HOT 1
- Typo in SettlementsGetAllPayoutsResponse.cs "Paginatinon" HOT 2
- Allow usage of WebProxy in HttpClient HOT 2
- Typo in Klarna.Rest/Klarna.Rest.Core/Commuication namespace HOT 2
- HostedPaymentPage: DistributeLinkToSession does not send body payout
- HostedPaymentPageSessionStatus model is not aligned with API
- Missing Payment Method categories property in HostedPaymentPageOptions HOT 1
- GetSessionStatus points to the wrong url
- Hosted Payment Pages: Add support of Session disabling HOT 1
- Promo codes (custom payment methods) contract issue HOT 1
- Discrepancy between SDK models and API models HOT 2
- Can Not Install On .NET Framework 4.8 HOT 1
- PaymentAPI problems with response results HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kco_rest_dotnet.