Questions tagged [commerce-engine]

The Commerce Engine is a thin ASP.NET Core application that serves as a host for a group of microservices that enable commerce functionality. All questions related to engine configuration and implementation should use this tag.

Filter by
Sorted by
Tagged with
4
votes
1answer
390 views

Failed to persist profile to underlying stores

I have completed the Sitecore Commerce 8.2.1 setup. When I try to register a user on the live site, it shows this error on page: Failed to persist profile to underlying stores I have verified the ...
3
votes
1answer
431 views

Sitecore Commerce - Transactions are not going through when using remote server

I have installed Sitecore Commerce 8.2.1 in our DEV environment. The database is in a remote server. When we click on the "Add to cart" button it throws these exceptions: [SQL:block:...
2
votes
1answer
163 views

Commerce configuration files CD server

What files from Commerce should be enabled/disabled on a Content Delivery server. I can see all files from folder : App_Config\Include\Y.Commerce.Engine use a rule-based configuration like : <...
1
vote
1answer
194 views

No decimal place in price card snapshots?

I'm working on a project where we are using Sitecore Experience Commerce 9.0 Update-1. When I try to add a price to a sellable-item, I have the problem, that I cannot save prices with decimal places. ...
1
vote
1answer
273 views

How can I unit test a sitecore commerce engine plugin?

The documentation is not rich of information IMHO and, about this topic, I haven't found anything, at least in the version 8.2.1 (version I'm using). In commerce 9 docs there is only a little ...
3
votes
1answer
637 views

Add category into a catalog programatically

How can I add a category programatically ? In postman are examples how to add category into a catalog or how to add a subcategory. When I am calling AddCategory I am receiving next exception: { ...
1
vote
2answers
506 views

How to Debug Default Sitecore Commerce Engine Plugin?

I found several posts on how to debug Customer Sample Solution or the new plugin we created. Could someone suggest me the step-by-step guide to debug the default (original) plugin in Sitecore ...
2
votes
1answer
82 views

How to create a new InventorySku?

I am using the IGetInventorySkuPipeline to get hold of an InventorySku object. If I get one, then I want to modify and save it and if I don't get one (for the productId I send down the pipeline), then ...
0
votes
1answer
65 views

NU1603 adding Sitecore.Commerce.Plugin.Orders package

While adding a package reference to Sitecore.Commerce.Plugin.Orders, I see the following error: NU1603: Sitecore.Commerce.Plugin.Availability 2.1.3 depends on Sitecore.Commerce.Plugin.Catalog (>= 2....
5
votes
1answer
451 views

Updating stock balance in the inventory catalog

When updating the stock balance in a catalog I have found this pipeline to help me do that. UpdateItemAvailabilityPipeline In order to use that I need to know the name of the product catalog, the ...
2
votes
1answer
481 views

Getting LineIsNotPurchasable error from commerce engine

I'm facing a strange error from commerce engine v. 8.2.1 If I add a product to cart as guest, all the pipelines work flawlessly and the product is added to the cart. Instead, as a registered user, ...
0
votes
1answer
259 views

Basic understanding of the authoring.json file

I got a task to rename all the namespaces in a solution according to a new namespace strategy and after I was done the solution builds and starts but when I try to bootstrap the updated ...
5
votes
1answer
165 views

Cart always has 0 total

Since setting up a Commerce 9 development environment, I've noticed an issue in which the totals for the cart are always 0. I've customised the currencies across the board, but I've not specifically ...
2
votes
2answers
1k views

Getting "Status Code: 401; Unauthorized" when bootstraping Sitecore Commerce 9

I am trying to upgrade Sitecore Commerce 9 Initial Release to Update 1. One of the steps is to do bootstrap in Postman. When I do it, I am getting this exception: Status Code: 401; Unauthorized ...
5
votes
1answer
531 views

Unable to resolve service for type 'IPipelineConfiguration' while attempting to activate 'CustomPipeline'

I've defined a custom pipeline in my ConfigureSitecore, but when I run the engine I get the following error: InvalidOperationException: Unable to resolve service for type 'Sitecore.Framework....
4
votes
1answer
359 views

Unintentional parallel minions

If the workload of a minion takes longer time than it's WakeupInterval, in order to avoid getting a second copy of the same minion processing the same list, is there a way to know if there is a ...
1
vote
1answer
108 views

GetPolicy<T>() returning null, causing NullReferenceException in OOTB functionality

It was my understanding that calling context.GetPolicy<T>() would create an instance of the policy if it wasn't attached to the environment, however I'm seeing the opposite in a pipeline block ...

1
2