Profile: Upendra

Statistics
Avatar
  • 5

I created this paytm plugin converting it from nopcommerce to grandnode 4.50. Every thing is working fine will checkout. It goes to paytm website as intended. But on return i get following error, can any one please help me as i am very near to get it working :


Short message:Object reference not set to an instance of an object.
Full messageSystem.NullReferenceException: Object reference not set to an instance of an object. at Grand.Plugin.Payments.Paytm.Controllers.PaymentPaytmController.Return() at lambda_method(Closure , Object ) at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult() at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync() at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.InvokeCore(HttpContext context) at Grand.Framework.Infrastructure.WorkContextMiddleware.InvokeAsync(HttpContext context, IWorkContext workContext) in D:\ingenioustech_projects\prods\pugtee\website\Grand.Framework\Infrastructure\WorkContextMiddleware.cs:line 46 at Grand.Framework.Infrastructure.StoreContextMiddleware.InvokeAsync(HttpContext context, IStoreContext storeContext) in D:\ingenioustech_projects\prods\pugtee\website\Grand.Framework\Infrastructure\StoreContextMiddleware.cs:line 41 at Grand.Services.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) in D:\ingenioustech_projects\prods\pugtee\website\Grand.Services\Authentication\AuthenticationMiddleware.cs:line 82 at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Grand.Core.Http.InstallUrlMiddleware.Invoke(HttpContext context, IWebHelper webHelper) in D:\ingenioustech_projects\prods\pugtee\website\Grand.Core\Http\InstallUrlMiddleware.cs:line 49 at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at NetEscapades.AspNetCore.SecurityHeaders.SecurityHeadersMiddleware.Invoke(HttpContext context) in C:\projects\netescapades-aspnetcore-securityheaders\src\NetEscapades.AspNetCore.SecurityHeaders\SecurityHeadersMiddleware.cs:line 97 at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)

Monday, November 11, 2019 11:00 AM

Actually i am a .net developer .. so i would like to convert it my self as much possible. If you can just provide some directions that will be great help. If fail to do i will then use your service.

Monday, October 7, 2019 11:27 AM

https://github.com/Paytm-Payments/Paytm-NopCommerce

Above link is nop plugin for Paytm. I want to use this plugin in grandnode which i have installed. Can any one please provide simple directions to do this. Thanks

Monday, October 7, 2019 10:39 AM

I am using local environment and on windows 10 pc.. mongodb is on mlab.com (azure)

Thursday, September 5, 2019 8:41 AM

I keep getting error Setup failed: An exception occurred while receiving a message from the server. Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I gave write permissions to folder also it is creating all the tables in mongo.. but after lot of spinning loader it gives me above error .. which i am not sure what is wrong

Wednesday, September 4, 2019 7:54 AM