VRT.Payments.Gateways.PayU
8.0.6
dotnet add package VRT.Payments.Gateways.PayU --version 8.0.6
NuGet\Install-Package VRT.Payments.Gateways.PayU -Version 8.0.6
<PackageReference Include="VRT.Payments.Gateways.PayU" Version="8.0.6" />
paket add VRT.Payments.Gateways.PayU --version 8.0.6
#r "nuget: VRT.Payments.Gateways.PayU, 8.0.6"
// Install VRT.Payments.Gateways.PayU as a Cake Addin #addin nuget:?package=VRT.Payments.Gateways.PayU&version=8.0.6 // Install VRT.Payments.Gateways.PayU as a Cake Tool #tool nuget:?package=VRT.Payments.Gateways.PayU&version=8.0.6
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",
"NotificationEndpointUrl": ""
}
}
}
💡
NotificationEndpointUrl
should be absolute url to your notification handling endpoint
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.2.1)
- VRT.Payments.Gateways.Abstractions (>= 8.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Minor non-functional changes