Recent PayPal issues on our site using nopcommerce 1.90

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 năm cách đây
Hi, we're using nopcommerce 1.90.  It uses the PayPal Standard payment method.  For years it's been working fine, but in recent weeks our customers get redirected to PayPal, they pay, and it throws an error when it tries to redirect back to our site.

I'm seeing errors like these:

Exception of type 'System.Web.HttpUnhandledException' was thrown:


System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at NopSolutions.NopCommerce.Web.Modules.CustomerLoginControl.Page_Load(Object sender, EventArgs e) in e:\NopCommerce_HK\NopCommerceStore\Modules\CustomerLogin.ascx.cs:line 73 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.login_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hk\2c33cdd5\3207ec81\App_Web_hmr0grvt.11.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Exception of type 'System.Web.HttpUnhandledException' was thrown:
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at NopSolutions.NopCommerce.Payment.Methods.PayPal.PayPalStandardPaymentProcessor.GetPDTDetails(String tx, Dictionary`2& values, String& response) in F:\LLMS\NopCommerce_Final\Payment\Nop.Payment.PayPal\PayPalStandardPaymentProcessor.cs:line 116 at NopSolutions.NopCommerce.Web.PaypalPDTHandlerPage.Page_Load(Object sender, EventArgs e) in e:\NopCommerce_HK\NopCommerceStore\PaypalPDTHandler.aspx.cs:line 52 at System.Web.UI.Control.OnLoad(EventArgs e) at NopSolutions.NopCommerce.Web.BaseNopFrontendPage.OnLoad(EventArgs e) in e:\NopCommerce_HK\NopCommerceStore\Controls\BaseNopFrontendPage.cs:line 147 at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.paypalpdthandler_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hk\2c33cdd5\3207ec81\App_Web_qtxu322d.38.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


This is an invalid script resource request:
System.Web.HttpException (0x80004005): This is an invalid script resource request. at System.Web.Handlers.ScriptResourceHandler.Throw404() at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContextBase context, VirtualFileReader fileReader, Action`2 logAction, Boolean validatePath) at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Can you give us any guidance re: what might be broken?

Thanks,
Adam
6 năm cách đây
As of the end of last month, PayPal now requires your site use TLS 1.2
You can search these forums for the solutions, but your nopC 1.90 is very old, so you may need to adjust for it.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.