Tax Sources
Identifying the source of taxation of an Order within Umbraco Commerce.
Changing the Tax Source Factory
public static class UmbracoCommerceUmbracoBuilderExtensions
{
public static IUmbracoCommerceBuilder AddMyServices(IUmbracoCommerceBuilder builder)
{
// Replacing the default Tax Source Factory implementation
builder.Services.AddUnique<ITaxSourceFactory, OriginTaxSourceFactory>();
// Return the builder to continue the chain
return builder;
}
}Last updated
Was this helpful?