PayPal Express. Reasons to add as a standard payment method

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
2.3
12 years ago
My provider has checked and rechecked the server.

Below is the error and appears to be the result of a call to FluentValidation.mvc

Wouldn't this would be in the plugin code?

I am at my wits end on this.

Server Error in '/kenny' Application.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
   System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
   System.Reflection.RuntimeModule.GetTypes() +4
   System.Reflection.Assembly.GetTypes() +78
   Nop.Core.Plugins.PluginManager.Initialize() in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:124

[Exception: Could not load file or assembly 'FluentValidation, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a82054b837897c66' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
]
   Nop.Core.Plugins.PluginManager.Initialize() in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:144

[Exception: Could not load file or assembly 'FluentValidation, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a82054b837897c66' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
]
   Nop.Core.Plugins.PluginManager.Initialize() in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:163

[InvalidOperationException: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Could not load file or assembly 'FluentValidation, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a82054b837897c66' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
.]
   System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +423
   System.Web.Compilation.BuildManager.CallPreStartInitMethods() +306
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +591

[HttpException (0x80004005): The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Could not load file or assembly 'FluentValidation, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a82054b837897c66' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9013676
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +256
12 years ago
All the projects in the solution need have the latest version of FluentValidation.mvc.

If you were using the "with source" version its easily done with NuGet.

Does anyone know how to do it without source?

If you can wait until after Christmas (probably new year) I can do it for you and I'll send you the full solution ready to use.

Darren
12 years ago
Thanks Darren but been trying to set this test site up for weeks now and this just is a killer.  You supposedly sent me the files I needed since I installed with no source. Is the other option something that I can do on my own?

I'm not clear as to why this is the only plugin that has this problem. Although I don't see any other plugin using the FluentValidation files.

I'm lost at this point and I think my possible client has given up.
12 years ago
I am following all the steps and no payment ever goes through on neither end?  No notification or error?  Not emptying cart either? What is going wrong?
12 years ago
thrifty34 wrote:
I am following all the steps and no payment ever goes through on neither end?  No notification or error?  Not emptying cart either? What is going wrong?


Hi,

Could you describe the steps the user goes through from when the product is added to the basket.

Thanks
12 years ago
Here is my error

Error while placing order. Error 0: Error: Shipping total couldn't be calculated. Full exception: Nop.Core.NopException: Shipping total couldn't be calculated at Nop.Services.Orders.OrderProcessingService.PlaceOrder(ProcessPaymentRequest processPaymentRequest) in c:\Users\happy\Desktop\nopCommerce_e3ba8759ec17\src\Libraries\Nop.Services\Orders\OrderProcessingService.cs:line 654
12 years ago
(I assume you posted this here because happened using Paypal Express ???)

This error indicates you did not choose a shipping option.
(I've not yet tried Paypal Express.  Did you make any custom changes in checkout process?)
12 years ago
No custom changes made.  It is going straight to paypal and not asking any shipping options.   I think it may be that it automatically chooses the cheapest option and have to search for that code, but unsure.  This is the express plugin.  I am hoping to get this going tonight.
12 years ago
I can't get this plugin working.  I keep getting build errors after adding fluent validation about assembly reference?  Can someone email me the nonsource plugin to try?  

sales@happycoral.com
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.