Soenneker.Stripe.PaymentIntents
11.0.1348
Prefix Reserved
dotnet add package Soenneker.Stripe.PaymentIntents --version 11.0.1348
NuGet\Install-Package Soenneker.Stripe.PaymentIntents -Version 11.0.1348
<PackageReference Include="Soenneker.Stripe.PaymentIntents" Version="11.0.1348" />
<PackageVersion Include="Soenneker.Stripe.PaymentIntents" Version="11.0.1348" />
<PackageReference Include="Soenneker.Stripe.PaymentIntents" />
paket add Soenneker.Stripe.PaymentIntents --version 11.0.1348
#r "nuget: Soenneker.Stripe.PaymentIntents, 11.0.1348"
#:package Soenneker.Stripe.PaymentIntents@11.0.1348
#addin nuget:?package=Soenneker.Stripe.PaymentIntents&version=11.0.1348
#tool nuget:?package=Soenneker.Stripe.PaymentIntents&version=11.0.1348
Soenneker.Stripe.PaymentIntents
Create, retrieve, update, confirm, cancel, capture, and list Stripe payment intents through a reusable Stripe.net service.
Installation
dotnet add package Soenneker.Stripe.PaymentIntents
Configuration
{
"Stripe": {
"SecretKey": "sk_test_..."
}
}
Usage
using Soenneker.Stripe.PaymentIntents.Abstract;
using Soenneker.Stripe.PaymentIntents.Registrars;
using Stripe;
services.AddStripePaymentIntentsUtilAsScoped();
PaymentIntent intent = await paymentIntentsUtil.Create(
stripeCustomerId: "cus_...",
amount: 49.95m,
idempotencyKey: $"order-{orderId}",
cancellationToken: cancellationToken);
PaymentIntent confirmed = await paymentIntentsUtil.Confirm(
intent.Id,
returnUrl: "https://example.com/payment/complete",
cancellationToken: cancellationToken);
Create accepts a USD amount in dollars and rounds fractional cents away from zero. Automatic payment methods are enabled by default; when paymentMethodTypes is supplied, those explicit types take precedence.
List returns at most the first 100 payment intents for a customer. Cancel and Capture change payment state in Stripe, and Stripe API errors propagate to the caller.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Enums.CurrencyCodes (>= 11.0.128)
- Soenneker.Stripe.Client (>= 11.0.1596)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Stripe.PaymentIntents:
| Package | Downloads |
|---|---|
|
Soenneker.Stripe.Suite
Bundle and register Soenneker's Stripe customer, payment, invoice-item, and subscription libraries. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.1348 | 209 | 11/21/2026 |
| 11.0.1347 | 198 | 11/19/2026 |
| 11.0.1345 | 122 | 11/19/2026 |
| 11.0.1344 | 127 | 11/18/2026 |
| 11.0.1343 | 108 | 11/18/2026 |
| 11.0.1342 | 129 | 11/18/2026 |
| 11.0.1340 | 109 | 11/18/2026 |
| 11.0.1339 | 120 | 11/18/2026 |
| 11.0.1338 | 122 | 11/17/2026 |
| 11.0.1337 | 142 | 11/15/2026 |
| 11.0.1336 | 142 | 11/15/2026 |
| 11.0.1335 | 109 | 11/15/2026 |
| 11.0.1334 | 144 | 11/15/2026 |
| 11.0.1333 | 151 | 11/14/2026 |
| 11.0.1332 | 208 | 11/11/2026 |
| 11.0.1331 | 116 | 11/11/2026 |
| 11.0.1330 | 127 | 11/11/2026 |
| 11.0.1329 | 113 | 11/11/2026 |
| 11.0.1328 | 119 | 11/11/2026 |
| 11.0.1327 | 129 | 11/11/2026 |
Update dependency Soenneker.Stripe.Client to 11.0.1596 (#1907)