Nop.Core.Domain.Customers.Customer' does not contain a definition for 'GetAttribute' and no extension method 'GetAttribute' accepting a first argument

6 years ago
Hi All,


I am creating new payment plugin. but i am getting issue as below

Nop.Core.Domain.Customers.Customer' does not contain a definition for 'GetAttribute' and no extension method 'GetAttribute' accepting a first argument of type 'Nop.Core.Domain.Customers.Customer' could be found (are you missing a using directive or an assembly reference?)




i have loose alots of time for resolve that issue please help me.

Please help me it's very very urgent.


Regards,
Abdhesh
6 years ago
You need to add

using Nop.Services.Common;

That's where the GenericAttributeExtensions are.