WooCommerce.NET
WooCommerce.NET copied to clipboard
error deserializing the object of type System.Collections.Generic.List (WooCommerce.NET, Version=0.8.4.0 )
I thought #600 solved the deserializing errors but I get the same error when get all payment gateways . (WooCommerce.NET, Version=0.8.4.0 ) . Please let me know your solution . code :
List<PaymentGateway> pgs = wc.PaymentGateway.GetAll().Result;
Error : System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type System.Collections.Generic.List1[[WooCommerceNET.WooCommerce.v3.PaymentGateway, WooCommerce.NET, Version=0.8.4.0, Culture=neutral, PublicKeyToken=null]]. End element 'value' from namespace '' expected. Found element 'item' from namespace ''. ---> System.Xml.XmlException: End element 'value' from namespace '' expected. Found element 'item' from namespace ''.
Hi,,I have the same problem.. Have you found any solution/workaround ?
Good day! In Payment methods Settings turn on only Direct bank transfer and Cash on delivery and I get this error too