Sana Assistant (online)
Table of Contents

Breaking changes

Here you can find the list of the breaking changes in Extension API 2.0.1 and tips how to deal with them.

The following changes have been made to the Sana.Extensions namespace (Sana.Extensions.dll) since the 2.0.0 version:

Member Description
Payment.Contexts.ExtraStepClientRequestContext
Previous:
Current: Removed
Renamed to ExtraCheckoutStepCommandContext to match client API.
Payment.Contexts.ExtraStepSaveDataRequestContext.FormCollection
Previous:
Current: Removed
Values should be used instead.
Payment.Contexts.ExtraStepSaveDataRequestContext.ModelStateErrors
Previous:
Current: Removed
Errors should be used instead.
Payment.ExtraCheckoutStepPageModel.ProcessClientRequest
Previous:
Current: Removed
ExecuteCommand should be used instead.
Payment.ExtraCheckoutStepPageModel.CallbackUrl
Previous:
Current: Removed
Editor component has executeCommand function in props which should be used instead.
Payment.ExtraCheckoutStepPageModel.CreateClientModel
Previous:
Current: Added
Creates a client model which is required to manage data in web-client.
Export.Customers.Models.Basket.CheckoutUrl
Previous:
Current: Added
The checkout URL.
Export.Customers.Models.Basket.TotalPrice
Previous:
Current: Added
The total price of all products in the basket.
Export.Customers.Models.BasketLine.Price
Previous:
Current: Added
The unit price of the variant or product.
Export.Customers.Models.BasketLine.SubTotal
Previous:
Current: Added
The total price of the line. This includes all products in this line and generally will be Quantity * Price.