net3000.authorizenet
1.0.0
dotnet add package net3000.authorizenet --version 1.0.0
NuGet\Install-Package net3000.authorizenet -Version 1.0.0
<PackageReference Include="net3000.authorizenet" Version="1.0.0" />
<PackageVersion Include="net3000.authorizenet" Version="1.0.0" />
<PackageReference Include="net3000.authorizenet" />
paket add net3000.authorizenet --version 1.0.0
#r "nuget: net3000.authorizenet, 1.0.0"
#:package net3000.authorizenet@1.0.0
#addin nuget:?package=net3000.authorizenet&version=1.0.0
#tool nuget:?package=net3000.authorizenet&version=1.0.0
net3000.authorizenet
Authorize.Net payment integration for Net3000 solutions.
This library is the API/SDK replacement for the older Authorize.Net code that POSTed to the
legacy AIM transact.dll endpoint. All calls now go through the official
AuthorizeNet.Core SDK
(createTransactionController / ARBCreateSubscriptionController), which talks to the modern
Authorize.Net JSON/XML API.
The public surface follows the same house style as the other Services/ gateways
(StripeService, msicanada): populate order (and subscription for recurring billing), set
credentials, call a method, and read myResponse.
Usage
using Net3000.AuthorizeNet;
using net3000.common.models;
var gateway = new AuthorizeNetService
{
testMode = false, // true => Authorize.Net sandbox
credentials =
{
gatewayLogin = "<API Login ID>",
gatewayPass = "<Transaction Key>",
},
order = new order
{
total = 49.99m,
currency = "USD",
description = "Order #1234",
invoice = "1234",
creditCard = new creditCard
{
cardnumber = "4111111111111111",
expiryMonth = 12,
expiryYear = 2027,
cvc = "123",
},
billingContact = new contact
{
firstName = "Jane",
lastName = "Doe",
address = "123 Main St",
city = "Toronto",
province = "ON",
postalCode = "M5V 2T6",
country = "CA",
email = "jane@example.com",
},
},
};
var result = gateway.ProcessPayment();
if (result.data.approved)
{
var transactionId = result.data.transactionID;
}
API
| Member | Summary |
|---|---|
AuthorizeNetCredentials credentials |
Merchant API Login ID (gatewayLogin) and Transaction Key (gatewayPass). |
bool testMode |
When true, runs against the Authorize.Net sandbox instead of production. |
order order |
Order details (amount, currency, card, billing contact, invoice/description). |
subscription subscription |
Recurring schedule + amount, used by Subscribe(). |
apiResponse<gatewayResponse> myResponse |
Populated result; check myResponse.data.approved, transactionID, authorizationID. |
apiResponse<gatewayResponse> ProcessPayment() |
One-time sale (authorize + capture). |
apiResponse<gatewayResponse> Refund(string transactionId, decimal? amount = null) |
Refunds a settled transaction (needs the card's last four on order). |
apiResponse<gatewayResponse> Void(string transactionId) |
Voids an unsettled transaction. |
apiResponse<gatewayResponse> Subscribe() |
Creates a recurring (ARB) subscription from subscription + order. |
Credentials
Credential field names (gatewayLogin / gatewayPass) mirror the
net3000.ApiConnections.DBContext.AuthorizeNet table, so a stored connection row maps directly
onto AuthorizeNetCredentials.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- AuthorizeNet.Core (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
- net3000.common (>= 10.0.21)
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.0.0 | 131 | 7/9/2026 |