Framework | Support | Platform |
---|---|---|
Console | ✅ | Windows, Linux, macOS |
ASP.NET Core | ✅ | Windows, Linux, macOS |
Blazor WASM | ✅ | Windows, Linux, macOS |
Blazor Server | ✅ | Windows, Linux, macOS |
.NET MAUI | ✅ | Windows, Linux, macOS, Android, iOS, Tizen |
Xamarin | ✅ | Android, iOS |
ASP.NET | ✅ | Windows |
WPF | ✅ | Windows |
AvaloniaUI | ✅ | Windows, Linux, macOS |
UWP | ✅ | Windows, Xbox OS |
WinForms | ✅ | Windows |
Microsoft.Extensions.DependencyInjection
can use this package.
chargily.epay.csharp
NuGet package into your app
ChargilyEpayClient
client, to create payment request use:
API_KEY
& APP_SECRET
can be added directly in code or from appsettings.json
configuration file
appsettings.json
file:
WebHookValidatorMiddleware
ASP.NET Core Middleware, when registered every POST
request that have a Signature
Http Header will be validated automatically.
How to register the Middleware:
ViewModels
:
APP_SECRET
in a frontend app is not a recommended approach, you’d be better off calling a backend api to handle payment, but it’s doable.
if you decide to use it in the frontend, consider storing APP_SECRET
with Akavache
BlobCache.Secure
Microsoft.Extensions.DependencyInjection
dependancy injection, so it can be used with application or framework using it.