test sepehr gatway completed

This commit is contained in:
SamSys
2025-11-11 17:34:40 +03:30
parent 690f574240
commit 861b214b0c
2 changed files with 4 additions and 4 deletions

View File

@@ -78,13 +78,13 @@ namespace ServiceHost.Areas.AdminNew.Pages.Company.AndroidApk
//CreateRewardForKebabMahdi().GetAwaiter().GetResult();
var httpClient = _httpClientFactory.CreateClient();
httpClient.BaseAddress = new Uri("https://sepehr.shaparak.ir/");
var terminal = 98000000;
var terminal = 99213700;
var res= await httpClient.PostAsJsonAsync("Rest/V1/PeymentApi/GetToken", new
{
TerminalID=terminal,
Amount="2000",
InvoiceID="444",
callbackURL="https://test.ir/Payment/PageCallBackSaderat",
callbackURL="https://gozareshgir.ir/Payment/PageCallBackSaderat",
payload=""
});
// خواندن محتوای پاسخ
@@ -100,7 +100,7 @@ namespace ServiceHost.Areas.AdminNew.Pages.Company.AndroidApk
ViewData["message"] = "ایجاد شد";
return Page();
//return Page();
}
private async System.Threading.Tasks.Task CreateDadmehrWorkshopFaceEmbedding()

View File

@@ -19,7 +19,7 @@
"sqlDebugging": true,
"dotnetRunMessages": "true",
"nativeDebugging": true,
"applicationUrl": "https://localhost:5004;http://localhost:5003;https://192.168.0.117:8080;http://192.168.0.117:8081",
"applicationUrl": "https://localhost:5004;http://localhost:5003;https://192.168.0.118:8080;http://192.168.0.118:8081",
"jsWebView2Debugging": false,
"hotReloadEnabled": true
},