Skip to content

This is the yazilim academy payments project from the livestreams for PAYTR payments provider.

License

Notifications You must be signed in to change notification settings

Aquilatery/YazilimAcademyPayments

 
 

Repository files navigation

Yazilim Academy Payments

A .NET-based payment processing system integrated with PayTR payment gateway, built with modern technologies and best practices.

🚀 Technologies

  • .NET 9.0
  • ASP.NET Core Web API
  • Entity Framework Core
  • PostgreSQL
  • Serilog for logging
  • PayTR Payment Gateway Integration

📋 Prerequisites

  • .NET 9.0 SDK
  • PostgreSQL Database
  • IDE (Visual Studio 2022 or VS Code recommended)
  • PayTR Merchant Account and API Credentials

🛠️ Project Structure

src/
├── YazilimAcademyPayments.WebApi/
    ├── Controllers/         # API endpoints
    ├── Domain/             # Business logic and entities
    │   ├── Common/         # Shared components
    │   ├── Entities/       # Domain entities
    │   ├── Enums/          # Enumeration types
    │   └── ValueObjects/   # Value objects
    ├── Persistence/        # Data access layer
    └── Properties/         # Application properties

🔧 Installation

  1. Clone the repository
git clone https://github.com/yazilimacademy/YazilimAcademyPayments
  1. Navigate to the project directory
cd YazilimAcademyPayments/src/YazilimAcademyPayments.WebApi
  1. Install dependencies
dotnet restore
  1. Update the database connection string in appsettings.json

  2. Configure PayTR credentials in appsettings.json:

{
  "PayTR": {
    "MerchantId": "your-merchant-id",
    "ApiKey": "your-api-key",
    "ApiSecret": "your-api-secret"
  }
}
  1. Run the application
dotnet run

🔑 Features

  • Secure payment processing through PayTR gateway
  • Support for various payment methods (Credit Card, Bank Transfer)
  • Real-time payment status tracking
  • Entity management
  • Structured domain model
  • PostgreSQL database integration
  • Comprehensive logging with Serilog

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This is the yazilim academy payments project from the livestreams for PAYTR payments provider.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%