There are some parts of the code that I don´t use anymore, but you can check it. Instructions are in portuguese, but looking at other payment modules all developers can understand it.
can you help me with this error in PagSeguroReturn.aspx.cs:
Error: An object reference is required for the non-static field, method, or property 'NopSolutions.NopCommerce.BusinessLogic.Configuration.Settings.SettingManager.GetSettingValue(string)' C:\...\NopCommerceStore\PagSeguroReturn.aspx.cs
string Token = SettingManager.GetSettingValue("PaymentMethod.PagSeguro.Token"); string Pagina = SettingManager.GetSettingValue("PaymentMethod.PagSeguro.UrlNPI");
I followed all the instructions but I have no ideia, I'm trying everything...
hehehe this extension is great and very useful here in brazil!
well... I just inserted values in the database according your queries in the 'nop_setting' and 'nop_localestringresource' tables.
I even tried with and without the token number but no success.
any idea?
**sorry, I forgot that on same file have more 2 errors:
Error The name 'OrderManager' does not exist in the current context C:\..\PagSeguroReturn.aspx.cs Error The name 'LogManager' does not exist in the current context C:\..\PagSeguroReturn.aspx.cs
eu inseri todas as pastas e arquivos pelo visual studio.
A pasta "Nop.Payment.PagSeguro" eu inserir pelo visual studio clicando com botao direito em Payment - Add - Existing Project, daí ele já criou toda a estrutura. Os outros arquivos foram da mesma forma.
Parece que esta dando erro em alguma referencia pois quando vou na pasta que criei "Nop.Payment.PagSeguro", no visual, e abro a pasta References aparece tres referencias com um ponto de exclamacao do lado, como se nao reconhecesse: Nop.Common, Nop.DataAccess, Nop.DataAccess.SqlServer...