Plexo.Net
1.1.14
See the version list below for details.
dotnet add package Plexo.Net --version 1.1.14
NuGet\Install-Package Plexo.Net -Version 1.1.14
<PackageReference Include="Plexo.Net" Version="1.1.14" />
paket add Plexo.Net --version 1.1.14
#r "nuget: Plexo.Net, 1.1.14"
// Install Plexo.Net as a Cake Addin #addin nuget:?package=Plexo.Net&version=1.1.14 // Install Plexo.Net as a Cake Tool #tool nuget:?package=Plexo.Net&version=1.1.14
Plexo.Net
The official Plexo .NET library, supporting Standard 2.0+, .NET Core 2.0+, and .NET Framework 4.6.1+.
Installation
Using the Package Manager
Install-Package Plexo.Net
Using the .NET Core command-line interface (CLI) tools
dotnet add package Plexo.Net
From Visual Studio
Open the <code>Solution Explorer</code>. Right-click on a project within your solution. Click on <code>Manage NuGet Packages....</code> Click on the <code>Browse</code> tab and search for "Plexo.Net". Click on the <code>Plexo.Net</code> package, select the appropriate version and click Install.
Usage
Configuration
We provide an extension that you can easily add to your startup where your appsettings configuration will be automaticaly bind with the specified section.
services.AddPlexoClient(options => Configuration.GetSection("PlexoSettings").Bind(options));
<code>PlexoSettings</code> can be replaced with any custom name.
Optionally you can also set each property value manually.
services.AddPlexoClient(options =>
{
options.ClientName = "MyCommerce";
options.CertificateName = "mycommerce_production";
options.CertificatePassword = "R4ndomStr0ngPa$$word";
options.GatewayUrl = "https://pagos.plexo.com.uy:4043/SecurePaymentGateway.svc";
});
Required fields
- <code>ClientName</code> Name of the client to configure
- <code>CertificateName</code> Name of the certificate on the certificate store
- <code>CertificatePassword</code> Password of the certicate
- <code>GatewayUrl</code> Gateway endpoint for the selected environment (refer to available gateway endpoints)
Optional fields
- <code>CertificatePath</code> Custom path to locate the certificate, must be relative to the project's root
Available gateway endpoints
- <code>Testing</code> https://testing.plexo.com.uy:4043/SecurePaymentGateway.svc
- <code>Production</code> https://pagos.plexo.com.uy:4043/SecurePaymentGateway.svc
Certificates
Plexo requires the use certificate signing on requests and responses, with is handled by the library for you.
Contact our support team and they will provide you with a PKCS#1 certificate (PFX) for the requested environment and assistance if required.
Automatic certificate provision
The current user personal store must contain a certificate with the value of <code>CertificateName</code>. As fallback the library will attempt to locate the certificate on a custom file path relative to the application's base path.
Windows
CurrentUser\My
Linux
/{currentUser}/.dotnet/corefx/cryptography/x509stores/my
/{currentUser}/.dotnet/corefx/cryptography/x509stores/root
Fallback (relative path)
Certificate/
Current limitations
- No built-in support for automatic retries.
- There's no support for multiple clients certificates on the same application.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.Configuration.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 3.1.0)
- Microsoft.Extensions.Options (>= 3.1.3)
- Newtonsoft.Json (>= 12.0.3)
- Plexo.Models (>= 1.1.13)
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 |
---|---|---|
1.1.48 | 401 | 6/21/2024 |
1.1.47 | 189 | 5/7/2024 |
1.1.45 | 284 | 1/12/2024 |
1.1.44 | 4,164 | 3/31/2023 |
1.1.43 | 514 | 3/31/2023 |
1.1.42 | 459 | 3/30/2023 |
1.1.41 | 668 | 11/18/2022 |
1.1.40 | 615 | 11/16/2022 |
1.1.31 | 3,788 | 4/4/2022 |
1.1.30 | 743 | 4/2/2022 |
1.1.22 | 2,315 | 2/3/2022 |
1.1.21 | 716 | 11/10/2021 |
1.1.20 | 611 | 11/9/2021 |
1.1.19 | 642 | 9/28/2021 |
1.1.18 | 654 | 9/24/2021 |
1.1.17 | 629 | 9/21/2021 |
1.1.16 | 619 | 9/6/2021 |
1.1.15 | 603 | 9/3/2021 |
1.1.14 | 650 | 8/12/2021 |
1.1.13 | 605 | 8/10/2021 |
1.1.12 | 694 | 7/2/2021 |
1.1.11 | 657 | 6/21/2021 |
1.1.10 | 663 | 6/11/2021 |
1.1.9 | 611 | 6/1/2021 |
1.1.7 | 616 | 4/27/2021 |
1.1.6 | 614 | 4/23/2021 |
1.1.5 | 860 | 4/23/2021 |