AuthorizeNet / sdk-dotnet

.Net SDK for Authorize.Net API
Other
149 stars 205 forks source link

AuthorizeNet - Address and Customer with nopCommerce 4.20 #279

Open DTHerrera opened 4 years ago

DTHerrera commented 4 years ago

Hello, please your support I am trying to install the AuthorizeNET plugin, but send the following errors:

Error CS1061 'Address' does not contain a definition for 'StateProvince' and no accessible extension method 'StateProvince' accepting a first argument of type 'Address' could be found (are you missing a using directive or an assembly reference?) Nop.Plugin.Payments.AuthorizeNet C:\Trabajo\OTROS\ecommerce\nopCommerce-develop\src\Plugins\Nop.Plugin.Payments.AuthorizeNet\AuthorizeNetPaymentProcessor.cs 164 Active

Error CS1061 'Customer' does not contain a definition for 'ShippingAddress' and no accessible extension method 'ShippingAddress' accepting a first argument of type 'Customer' could be found (are you missing a using directive or an assembly reference?) Nop.Plugin.Payments.AuthorizeNet C:\Trabajo\OTROS\ecommerce\nopCommerce-develop\src\Plugins\Nop.Plugin.Payments.AuthorizeNet\AuthorizeNetPaymentProcessor.cs 292 Active

thanks in advance. Regards Domingo Tapia

gnongsie commented 4 years ago

Hi,

Can you provide me the code that you are using for this?

DTHerrera commented 4 years ago

I'm sorry, note that the NopCommerce version I have is version 4.30 and AuthorizeNet only supports up to version 4.20, and perform the downgrade of NopCommerce to version 4.20 and now everything is ok.

thank you so much for the support.