Hello, I have not played with pagseguro for some time and a friend asked to do integration with the new version of Nop 4.0 core 2.0, before in MVC 5 the XML configuration was:
private static string urlXmlConfiguration = HttpRuntime.AppDomainAppPath + "/Configuration/PagSeguroConfig.xml";
HttpRuntime does not exist in Core, the closest I got was:
private static string urlXmlConfiguration = System.IO.Path.Combine(AppContext.BaseDirectory, "PagSeguroConfig.xml");
But it looks in the BIN folder and Nop works with the Plugin folder, does anyone know a solution ??