Compendium.Adapters.Stripe
1.0.0
dotnet add package Compendium.Adapters.Stripe --version 1.0.0
NuGet\Install-Package Compendium.Adapters.Stripe -Version 1.0.0
<PackageReference Include="Compendium.Adapters.Stripe" Version="1.0.0" />
<PackageVersion Include="Compendium.Adapters.Stripe" Version="1.0.0" />
<PackageReference Include="Compendium.Adapters.Stripe" />
paket add Compendium.Adapters.Stripe --version 1.0.0
#r "nuget: Compendium.Adapters.Stripe, 1.0.0"
#:package Compendium.Adapters.Stripe@1.0.0
#addin nuget:?package=Compendium.Adapters.Stripe&version=1.0.0
#tool nuget:?package=Compendium.Adapters.Stripe&version=1.0.0
compendium-adapter-stripe
Stripe billing adapter for the Compendium event-sourcing framework: subscriptions, checkouts, customer portal, and HMAC-signed webhooks via the official Stripe.net SDK.
Extracted from sassy-solutions/compendium per ADR-0006 (multi-repo adapter split). Built from template-compendium-adapter-dotnet.
Install
dotnet add package Compendium.Adapters.Stripe
services.AddStripeBilling(builder.Configuration.GetSection("Stripe"));
See docs/README.md for full configuration, webhook setup, and usage examples.
Versioning
This package continues the version sequence of Compendium.Adapters.Stripe originally published from the framework monorepo (last framework-published version: 1.0.0-preview.8). The first release from this repo is v1.0.0-preview.9. Versions are driven by git tags via MinVer — see docs/RELEASE.md.
Repository conventions
| Aspect | Choice |
|---|---|
| Target | .NET 9, C# 13 |
| Test framework | xUnit 2.9.3 + FluentAssertions 6.12.1 + NSubstitute 5.1.0 |
| Coverage gate | ≥ 90 % line on unit-testable surface (currently 99.78 % / 118 tests) |
| HTTP mocking | RichardSzalay.MockHttp 7.0.0 |
| Result pattern | Result<T> from Compendium.Abstractions |
| Test naming | {SUT}Tests / {Method}_{Scenario}_{Expected} + AAA explicit |
| Slash commands | /tests, /coverage (Claude Code) |
Build & test locally
dotnet restore
dotnet build -c Release
dotnet test -c Release --collect:"XPlat Code Coverage"
Releasing
Tag with a v prefix on main to publish to nuget.org + GitHub Packages:
git tag v1.0.0-preview.9
git push origin v1.0.0-preview.9
See docs/RELEASE.md for the full release procedure, MinVer setup, and required secrets.
License
MIT — Copyright © 2026 Sassy Solutions.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Compendium.Abstractions.Billing (>= 1.0.0)
- Compendium.Core (>= 1.0.0)
- Compendium.Infrastructure (>= 1.0.0)
- Compendium.Multitenancy (>= 1.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Stripe.net (>= 51.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 39 | 5/14/2026 |
| 1.0.0-preview.9 | 373 | 5/13/2026 |
| 1.0.0-preview.8 | 916 | 5/2/2026 |
| 1.0.0-preview.7 | 42 | 5/2/2026 |
| 1.0.0-preview.6 | 86 | 5/2/2026 |
| 1.0.0-preview.5 | 76 | 4/30/2026 |
| 1.0.0-preview.4 | 159 | 4/26/2026 |
| 1.0.0-preview.3 | 52 | 4/26/2026 |
| 1.0.0-preview.2 | 54 | 4/25/2026 |
| 1.0.0-preview.1 | 154 | 4/24/2026 |