Orchard Core Commerce

repository·main·Indexed 42 days ago

https://github.com/orchardcms/orchardcore.commerce

An extensible commerce module for the Orchard Core CMS providing e-commerce capabilities including inventory management, product pricing, promotions, taxation, and payment provider integrations such as Stripe and Exactly. It includes specialized data types for money and addresses, as well as a set of commerce-specific content fields.

Tokens
9.5K
Snippets
7
Records
72
Agent score
53%

What's inside Orchard Core Commerce

  1. Available official payment providers

    main

    Orchard Core Commerce includes several built-in payment providers that can be enabled or disabled as standalone features:

    • Exactly: A production-ready provider for exactly.com.
    • Stripe: A production-ready provider for stripe.com.
    • Dummy: A development-only provider used for UI testing. It allows you to complete the checkout process without being redirected to an external site.
  2. External libraries used in Orchard Core Commerce

    main

    Orchard Core Commerce relies on several third-party .NET libraries for its core functionality, including the modular framework, testing, and payment processing.

    Core Libraries

    • Orchard Core: The underlying modular and multi-tenant application framework.
    • Shouldly: Used for expressive testing in .NET.
    • Stripe.net: The portable class library used for Stripe.com integrations.
  3. Use the Exactly payment provider for Orchard Core Commerce

    main

    The OrchardCore.Commerce.Payment.Exactly module provides an integration for the Exactly payment gateway within Orchard Core Commerce.

    For detailed configuration steps, feature capabilities, and implementation guides, refer to the official documentation at: https://commerce.orchardcore.net/en/latest/features/exactly-payment/

  4. Testing and analysis libraries used in Orchard Core Commerce

    main

    For developers contributing to or building on top of Orchard Core Commerce, the project utilizes the following testing tools and code analyzers:

    Testing and Analysis Tools

    • Lombiq.Analyzers: Provides .NET code analyzers and code convention settings.
    • Lombiq.HelpfulLibraries: Utility libraries designed for Orchard development.
    • Lombiq.Tests.UI: A Web UI testing toolbox for Orchard Core applications using Selenium.
    • VS Test SDK: The Visual Studio Test Platform.
    • xUnit 3: The primary unit testing tool for the .NET Framework.
    • xUnit VS runner: The VSTest runner specifically for xUnit.net.
  5. Use commerce-specific content fields in Orchard Core

    main

    The OrchardCore.Commerce.ContentFields module provides specialized content fields designed for e-commerce scenarios. These fields can be added to any Content Type within Orchard Core to store structured commerce data.

    Available fields:

    • AddressField: Used to store structured address information, including components like country, region, and street address.
    • AmountField: Used to store a numeric value paired with a specific currency (e.g., 10.00 USD).
  6. Use Orchard Core Commerce abstractions to extend commerce functionality

    main

    The OrchardCore.Commerce.Abstractions library provides the models and interfaces necessary for building modules that extend Orchard Core Commerce.

    If you are developing a custom module that needs to interact with the commerce engine, you should reference this library to access the core domain models and interfaces. Note that while this library defines the interfaces, the actual implementations are located in the OrchardCore.Commerce module.