Coflnet.Payments.Client
0.22.0
dotnet add package Coflnet.Payments.Client --version 0.22.0
NuGet\Install-Package Coflnet.Payments.Client -Version 0.22.0
<PackageReference Include="Coflnet.Payments.Client" Version="0.22.0" />
<PackageVersion Include="Coflnet.Payments.Client" Version="0.22.0" />
<PackageReference Include="Coflnet.Payments.Client" />
paket add Coflnet.Payments.Client --version 0.22.0
#r "nuget: Coflnet.Payments.Client, 0.22.0"
#:package Coflnet.Payments.Client@0.22.0
#addin nuget:?package=Coflnet.Payments.Client&version=0.22.0
#tool nuget:?package=Coflnet.Payments.Client&version=0.22.0
Payments
Handles payments, and access to digital goods and services
Configuration
Configuration is handled via asp.net configuration providers
Keys with defaults are set in appsettings.json
How purchases work
- Start top up
- wait till payment is verified
- (optional) plan purchase (locks some amount of balance)
- purchase product/service
Setup
Becuase it is the esiest by default stripe is used.
To configure stripe get your stripe KEY and SIGNING_SECRET from stripe.com and set them as configuration.
(either modify appsettings.json or set the enviromentvariables STRIPE__KEY and STRIPE__SIGNING_SECRET)
Next create a webhook callback to /Callback/stripe that triggers on confirmed purchase.
Paypal
Paypal can be configured with PAYPAL__SECRET, PAYPAL__ID and PAYPAL__IS_SANDBOX
Create a webhook callback to /Callback/paypal to allow for payments to be verified.
Events
This microservice can produce transaction events into a Kafka Topic.
To configure it set the configuration variables KAFKA_HOST and KAFKA__TRANSACTION_TOPIC__NAME.
The format and fields of the events can be seen in the TransactionEvent class
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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. |
-
net8.0
- JsonSubTypes (>= 2.0.1)
- Newtonsoft.Json (>= 13.0.3)
- Polly (>= 8.1.0)
- RestSharp (>= 112.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 |
|---|---|---|
| 0.22.0 | 789 | 4/8/2026 |
| 0.21.0 | 1,022 | 2/8/2026 |
| 0.20.0 | 606 | 1/4/2026 |
| 0.19.0 | 741 | 11/30/2025 |
| 0.18.1 | 520 | 10/31/2025 |
| 0.18.0 | 303 | 10/30/2025 |
| 0.17.3 | 273 | 10/29/2025 |
| 0.17.2 | 272 | 10/29/2025 |
| 0.17.1 | 277 | 10/28/2025 |
| 0.17.0 | 269 | 10/28/2025 |
| 0.16.1 | 4,147 | 10/31/2024 |
| 0.16.0 | 760 | 10/9/2024 |
| 0.15.0 | 489 | 10/5/2024 |
| 0.14.0 | 835 | 8/27/2024 |
| 0.13.0 | 1,598 | 6/15/2024 |
| 0.12.1 | 943 | 4/24/2024 |
| 0.12.0 | 2,366 | 10/14/2023 |
| 0.11.2 | 2,232 | 2/13/2023 |
| 0.11.1 | 445 | 2/11/2023 |
| 0.11.0 | 454 | 2/10/2023 |
Minor update