TriPay.Framework 1.0.1

dotnet add package TriPay.Framework --version 1.0.1
                    
NuGet\Install-Package TriPay.Framework -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TriPay.Framework" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TriPay.Framework" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="TriPay.Framework" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TriPay.Framework --version 1.0.1
                    
#r "nuget: TriPay.Framework, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TriPay.Framework@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TriPay.Framework&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=TriPay.Framework&version=1.0.1
                    
Install as a Cake Tool

TriPay.Framework

TriPayMaggsoft alt ürünü · Türkiye ödeme entegrasyon katmanı

Desteklenen çerçeveler: .NET 8, .NET 9, .NET 10 ve üzeri (net8.0, net9.0, net10.0)

Bağlantılar

Ne zaman kullanılır?

Kendi web siteniz veya API; banka bilgileri appsettings / Vault; TriPay MSSQL zorunlu değil (KVKK dostu).

Kurulum

dotnet add package TriPay.Framework --version 1.0.0

Program.cs

using TriPay.Persistence.DependencyInjection;

builder.Services.AddTriPayFramework(builder.Configuration);

Örnek — ödeme başlatma

using TriPay.Services.Interfaces;
using TriPay.Services.Models;
using TriPay.Services.Providers;
using TriPay.Services.Providers.VakifPays.Models;

var result = await payment.InitializePaymentAsync(new PaymentGatewayInitializeRequestDto
{
    GatewayName = PaymentGatewayNames.VakifPays,
    Payment = new PaymentRequest
    {
        OrderNumber = "SIP-001",
        Amount = 1500.00m,
        Currency = "TRY",
        Use3D = true,
        TestPlatform = true,
        ReturnUrl = "https://magaza.com/payment/callback",
        // kart ve müşteri alanları...
    }
});

if (result.IsSuccess && !string.IsNullOrEmpty(result.Data?.RedirectHtml))
    return Content(result.Data.RedirectHtml, "text/html");

Paket içi dokümantasyon

Bu NuGet paketinin docs/ klasöründe tam markdown seti vardır. Önce:

  1. docs/TriPay_Kullanim_Kilavuzu.md — kullanım kılavuzu (request/response, callback)
  2. docs/TriPay_Program_cs_ve_DI.md — DI ve Program.cs
  3. docs/TriPay_Framework_Modu.md — yapılandırma

Dizin: docs/INDEX.md

Bağımlılıklar

TriPay, TriPay.Infrastructure, TriPay.Persistence (meta paket ile birlikte gelir).

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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.1 123 6/1/2026

Kullanım kılavuzu: https://tripay.com.tr/docs — Tam markdown seti paket içi docs/ klasöründe.