Closed mohamm4d closed 1 year ago
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
This issue is still opened
In fact, it is working now :-) I had some old payment gateway plugin. So, if you get this error is probably due to some payment plugin.
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 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 ''.