VRT.Payments.Gateways.PayU
8.0.2
See the version list below for details.
dotnet add package VRT.Payments.Gateways.PayU --version 8.0.2
NuGet\Install-Package VRT.Payments.Gateways.PayU -Version 8.0.2
<PackageReference Include="VRT.Payments.Gateways.PayU" Version="8.0.2" />
paket add VRT.Payments.Gateways.PayU --version 8.0.2
#r "nuget: VRT.Payments.Gateways.PayU, 8.0.2"
// Install VRT.Payments.Gateways.PayU as a Cake Addin #addin nuget:?package=VRT.Payments.Gateways.PayU&version=8.0.2 // Install VRT.Payments.Gateways.PayU as a Cake Tool #tool nuget:?package=VRT.Payments.Gateways.PayU&version=8.0.2
VRT.Payments.Gateways.PayU
Basic PayU payment gateway integration for .net 8+ applications.
Registering in DI container
To register PayU integration in your DI container, use the following IServiceCollection
extension method:
services.AddPayUPaymentService()
Configuration
The library uses options pattern
.
Options are read from IConfiguration
by default.
Configuring using appsettings.json
The sample configuration of the PayU
gateway is provided below.
It is configured to default, public PayU
Sandobx.
{
"PaymentGateways": {
"PayU": {
"_comment": "Public Sandbox. If you have external endpoint for your notifications,set NotificationEndpoint value",
"BaseApiUrl": "https://secure.snd.payu.com",
"ClientId": "300746",
"ClientSecret": "2ee86a66e5d97e3fadc400c9f19b065d",
"SecondKey": "b6ca15b0d1020e8094d9b5f8d163db54",
"PointOfSellId": "300746",
"NotificationEndpoint": ""
}
}
}
If you do not want to use appsettings configuration, then you can also provide IOptions<PayUOptions>
yourself during DI configuration.
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. |
-
net8.0
- Refit.HttpClientFactory (>= 7.1.2)
- VRT.Payments.Gateways.Abstractions (>= 8.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.