Skip to content

wlidha81/PaymentGateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PaymentGateway

This is the implementation of PaymentGateway

Solution design

This solution was devided into multiple projects

image

*Cko.PaymentGateway.csproj

  • this is the main api project

*Cko.PaymentGateway.BankSimulator

  • this is the project holding the acquiring bank code

*Cko.PaymentGateway.Business.csproj

  • project used for defining business classes and utilities

*Cko.PaymentGateway.Business.Tests.csproj

  • project used for testing Business.csproj project

*Cko.PaymentGateway.Data.Dtos.csproj

  • project used to defines all dto contracts

*Cko.PaymentGateway.Data.Models.csproj

  • project used to defines all data model contracts

*Cko.PaymentGateway.Data.Validators.csproj

  • project used to defines all data models and dtos validators

*Cko.PaymentGateway.Data.Validators.Tests.csproj

  • project used for testing Validators.csproj project

Cko.PaymentGateway.Tests.csproj

  • project used for unit testing (controllers as example)

  • Cko.PaymentGateway.Integration.Tests

  • project used for integration testing (controllers as example)

Solution Type

Asp.net core web api

Target Framework

.netcore 3.1

Testing Tool

Xunit

Api Swager url:

https://localhost:5001/swagger/index.html

#Code coverage computed by Fine Code Coverage -image

-image

#Improvements

  • Usage of RetryPolicy (Polly)

  • Implement CacheDecorator pattern for services that retrieve payments details

  • Handle PaymentData Security (hashed data...)

  • Handle Permissions and security (oAuth, Jwt)

#Cloud Technologies that could be used

  • Disaster Recovery

  • Data Backup

  • Horizontal Scaling

  • Load Balancing

  • Caching.

About

Cko_payment_gateway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages