Coflnet.Payments.Client 0.12.1

dotnet add package Coflnet.Payments.Client --version 0.12.1
NuGet\Install-Package Coflnet.Payments.Client -Version 0.12.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Coflnet.Payments.Client" Version="0.12.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Coflnet.Payments.Client --version 0.12.1
#r "nuget: Coflnet.Payments.Client, 0.12.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Coflnet.Payments.Client as a Cake Addin
#addin nuget:?package=Coflnet.Payments.Client&version=0.12.1

// Install Coflnet.Payments.Client as a Cake Tool
#tool nuget:?package=Coflnet.Payments.Client&version=0.12.1

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

  1. Start top up
  2. wait till payment is verified
  3. (optional) plan purchase (locks some amount of balance)
  4. 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. The format and fields of the events can be seen in the TransactionEvent class

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.12.1 336 4/24/2024
0.12.0 2,217 10/14/2023
0.11.2 2,033 2/13/2023
0.11.1 277 2/11/2023
0.11.0 278 2/10/2023
0.10.0 573 12/30/2022
0.9.0 1,178 9/22/2022
0.8.0 644 8/21/2022
0.7.1 672 7/26/2022
0.7.0 433 7/26/2022
0.6.0 445 7/17/2022
0.5.1 1,261 4/18/2022
0.5.0 640 4/15/2022
0.4.1 455 4/15/2022
0.4.0 445 4/15/2022
0.3.0 469 4/13/2022
0.2.2 918 2/5/2022
0.2.1 430 2/5/2022
0.2.0 431 2/2/2022
0.1.0 644 11/28/2021
0.0.2 396 10/23/2021
0.0.1 606 9/9/2021

Minor update