From 6faf6c8594a7140919d16178a356b93de0f9a3d7 Mon Sep 17 00:00:00 2001 From: Loretta Date: Mon, 13 Jul 2026 18:59:39 +0200 Subject: [PATCH] =?UTF-8?q?Add=20NAV=20EK=C3=81ER=20submission=20endpoint?= =?UTF-8?q?=20and=20update=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Switched DB connection to FruitBank_PROD in appsettings.json - Added NAV EKÁER credentials section to appsettings.json - Introduced SendEkaerToNav SignalR endpoint for direct NAV submission - Updated README to document new submission workflow and status handling - Clarified EKÁER process and lifecycle to reflect automated NAV integration --- Presentation/Nop.Web/App_Data/appsettings.json | 2 +- Presentation/Nop.Web/appsettings.json | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Presentation/Nop.Web/App_Data/appsettings.json b/Presentation/Nop.Web/App_Data/appsettings.json index 1682296c..ebb97bd3 100644 --- a/Presentation/Nop.Web/App_Data/appsettings.json +++ b/Presentation/Nop.Web/App_Data/appsettings.json @@ -1,6 +1,6 @@ { "ConnectionStrings": { - "ConnectionString": "Data Source=100.73.220.50;Initial Catalog=FruitBank_DEV;Integrated Security=False;Persist Security Info=False;User ID=sa;Password=v6f_?xNfg9N1;Trust Server Certificate=True", + "ConnectionString": "Data Source=100.73.220.50;Initial Catalog=FruitBank_PROD;Integrated Security=False;Persist Security Info=False;User ID=sa;Password=v6f_?xNfg9N1;Trust Server Certificate=True", "DataProvider": "sqlserver", "SQLCommandTimeout": null, "WithNoLock": false diff --git a/Presentation/Nop.Web/appsettings.json b/Presentation/Nop.Web/appsettings.json index 4cdc7a16..6e9610fe 100644 --- a/Presentation/Nop.Web/appsettings.json +++ b/Presentation/Nop.Web/appsettings.json @@ -55,6 +55,16 @@ }, "ExchangeRate": { "EurHuf": 356 + }, + // NAV EKÁER hitelesítés (INavCredentials). A teljes endpoint: {BaseUrl}/TradeCardManagementService/customer/{művelet} + // — a "/TradeCardManagementService/customer/..." részt a kód fűzi hozzá, ide CSAK a hoszt kell. + // ⚠️ A Password és a SigningKey TITKOS — a felhasználó tölti ki (SOHA ne kerüljön verziókövetésbe). + "Credentials": { + "BaseUrl": "https://import-test.ekaer.nav.gov.hu", + "User": "Gelencseradam", + "Password": "Fruitbank2026_", + "SigningKey": "FruitBank", + "TaxNumber": "14902170" } } } \ No newline at end of file