SplatDev.Payments.Getnet
1.0.4
dotnet add package SplatDev.Payments.Getnet --version 1.0.4
NuGet\Install-Package SplatDev.Payments.Getnet -Version 1.0.4
<PackageReference Include="SplatDev.Payments.Getnet" Version="1.0.4" />
<PackageVersion Include="SplatDev.Payments.Getnet" Version="1.0.4" />
<PackageReference Include="SplatDev.Payments.Getnet" />
paket add SplatDev.Payments.Getnet --version 1.0.4
#r "nuget: SplatDev.Payments.Getnet, 1.0.4"
#:package SplatDev.Payments.Getnet@1.0.4
#addin nuget:?package=SplatDev.Payments.Getnet&version=1.0.4
#tool nuget:?package=SplatDev.Payments.Getnet&version=1.0.4
SplatDev.Payments.Getnet
Getnet (Santander's card acquirer) payment SDK for .NET — OAuth2 client_credentials + HTTP Basic auth, no client certificate (distinct from SplatDev.Payments.Santander, which is the mTLS Open Banking SDK).
Targets both net8.0 (Umbraco 13) and net10.0 (Umbraco 17). Transport-only; the Umbraco webhook/backoffice controllers and dashboard live in SplatDev.Umbraco.Plugins.Getnet, and RISIN-specific orchestration stays in the consuming app.
Compatibility
| Umbraco | .NET | Package Version |
|---|---|---|
| 13.x | 8.0 | 1.0.4 |
| 17.x | 10.0 | 1.0.4 |
Installation
dotnet add package SplatDev.Payments.Getnet
Key Types
| Type | Role |
|---|---|
GetnetApiOptions |
BaseUrl (sandbox/prod), token path, SellerId/ClientId/ClientSecret, payment paths, dev-mock flag |
GetnetApiClient |
OAuth2 token (Basic auth) + seller_id header; PIX/boleto/payment-link/status/list; in-memory dev mock |
Quick Start
Register in Program.cs:
builder.Services.Configure<GetnetApiOptions>(builder.Configuration.GetSection("Getnet"));
builder.Services.AddHttpClient<GetnetApiClient>();
Configure appsettings.json:
{
"Getnet": {
"BaseUrl": "https://api-sandbox.getnet.com.br",
"SellerId": "your-seller-id",
"ClientId": "your-client-id",
"ClientSecret": "your-client-secret"
}
}
Known Limitations
- Dev mock mode returns static responses; not suitable for integration testing.
- This is a transport-only SDK — payment orchestration (idempotency, retry, webhook handling) must be implemented in the consuming application.
Changelog
1.0.4 — 2026-08-25
Fixes two defects in the Getnet client. Escaping a seller or order id that contains a control character produced a request body that was not valid JSON, so the call failed; the whole character set is escaped properly now. And the API client is registered as a singleton rather than per request, so the OAuth token it caches survives to be reused instead of every call re-authenticating.
1.0.3 — 2026-08-24
Removes a dashboard screenshot that showed an error toast. It was captured against a site where this plugin's API was unreachable, so it advertised a broken dashboard. No screenshot is better than a misleading one; a replacement will be taken against a working install.
1.0.2 — 2026-08-24
Package metadata only: the listing now carries an icon and search tags, and the project and repository links point at the organisation that actually hosts this code. No code changes.
1.0.1 — 2026-08-24
This package now keeps a changelog. Earlier releases predate it and are not reconstructed here — consult the repository history for those. From this version on, every release records what changed for someone using it.
License
MIT © SplatDev
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
-
net8.0
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SplatDev.Payments.Getnet:
| Package | Downloads |
|---|---|
|
SplatDev.Umbraco.Plugins.Getnet
Umbraco 17 plugin that registers the Getnet (Santander acquirer) SDK (SplatDev.Payments.Getnet): options binding, the API client, and the named Getnet HttpClient. Webhook/backoffice controllers and payment orchestration are application-specific and stay in the consuming app. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.4 | 27 | 8/25/2026 |