Hello all, Im new for NopCommerce now im trying to add new payment gateway here i did all most all the things but now im getting follwoing errors.
Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: type
Source Error:
Line 83: if (paymentMethod == null) Line 84: return decimal.Zero; Line 85: IPaymentMethod iPaymentMethod = Activator.CreateInstance(Type.GetType(paymentMethod.ClassName)) as IPaymentMethod; Line 86: return iPaymentMethod.GetAdditionalHandlingFee(); Line 87: }
1. You specified wrong ClassName property value (ensure that specified assembly and class name exist) 2. Ensure that you added a reference of the new project to NopCommerceStore project
can you indicate which file i have to check to be sure everything is good.
See the answer above. The problem is there
1. You specified wrong ClassName property value (ensure that specified assembly and class name exist). Go to payment method details page (admin area) and see "Class name" property. or 2. Ensure that you added a reference (DLL) of the new project to NopCommerceStore project
Could not load type 'NopSolutions.NopCommerce.Common.Payment.IPaymentMethod' from assembly 'Nop.Common, Version=1.7.0.0, Culture=neutral, PublicKeyToken=null'.