MadPay 724 AspNetCore SDK
for using this awesome library, you only need to add two things
first: add this line of code to your Startup.cs
public void ConfigureServices(IServiceCollection services)
{
//...
services.AddMadpay724GateWay();
//...
}
Then inject in your class constrauctor :
public class Test
{
private readonly IMadPayGateWay _gateWay;
public Test(IMadPayGateWay gateWay)
{
_gateWay=gateWay;
}
at the end use three method that provided (pay | verify | refund) :