You have no items in your shopping cart.

Sunday, November 24, 2024 1:51:08 AM

Error Could not load type 'Stripe.StripeChargeService' ?

Posted: 4 years ago

#10232 Quote

mark1978

Posted: 4 years ago

#10232 Quote
I downloaded https://www.foxnetsoft.com/nopstripedirectpayment to trial it.  The current version errors though when loaded into a v3.9 nop commerce site.  I'll post the stack trace below but not sure how well it be recieved through an enquiry form:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'Stripe.StripeChargeService' from assembly 'Stripe.net, Version=34.0.0.0, Culture=neutral, PublicKeyToken=null'. at Nop.Plugin.Payments.Stripe.StripeProcessor..ctor(ISettingService settingService, ICurrencyService currencyService, ICustomerService customerService, CurrencySettings currencySettings, IWebHelper webHelper, IOrderTotalCalculationService orderTotalCalculationService, IOrderService orderService, StripePaymentSettings stripePaymentSettings, ILocalizationService localizationService, ILogger logger) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at Nop.Core.Infrastructure.DependencyManagement.ContainerManager.ResolveUnregistered(Type type, ILifetimeScope scope) at Nop.Core.Plugins.PluginDescriptor.Instance[T]() at Nop.Admin.Controllers.PluginController.PreparePluginModel(PluginDescriptor pluginDescriptor, Boolean prepareLocales, Boolean prepareStores, Boolean prepareAcl) at Nop.Admin.Controllers.PluginController.<ListSelect>b__20_0(PluginDescriptor x) at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Nop.Admin.Controllers.PluginController.ListSelect(DataSourceRequest command, PluginListModel model) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActio

Posted: 4 years ago

#10233 Quote

Support

Posted: 4 years ago

#10233 Quote
Check if you have other Stripe plugin with old Stripe kernel library.
Remove it from the Plugins folder and try to install my plugin.
Write me about result.

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved