Integrate Sepehr payment gateway via Parbad library

Added `Parbad.Gateway.Sepehr` package to enable Sepehr payment gateway integration. Updated `Index.cshtml.cs` to handle online payment requests using `IOnlinePayment`. Configured Sepehr gateway in `Program.cs` with terminal ID from `appsettings.Development.json`. Enabled Swagger for development builds.
This commit is contained in:
2025-11-12 12:01:44 +03:30
parent 861b214b0c
commit 7f9531f07b
4 changed files with 31 additions and 2 deletions

View File

@@ -42,7 +42,8 @@
"SmsSettings": {
"IsTestMode": true,
"TestNumbers": [ "09116967898", "09116067106", "09114221321" ]
}
},
"SepehrGateWayTerminalId": 99213700
}