[wp-trac] [WordPress Trac] #48753: Problem with C# OrderRefund

WordPress Trac noreply at wordpress.org
Thu Nov 21 17:08:42 UTC 2019


#48753: Problem with C# OrderRefund
--------------------------+-----------------------------
 Reporter:  rainierg      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.3
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 When running in c# the command: OrderRefund orefund = await
 wc.Order.Refunds.Get(2621, 1869, new Dictionary<string, string>() { });

 I get the message a error has occured when deserializing the object of
 type WooCommerceNET.WooCommerce.v3.OrderRefund. The value cannot be parsed
 as a type Int32.

 the refund 2621 of order 1869 exists. When replacing either value with a
 non existing, the command runs fine and just returns an empty object, what
 is to be expected.
 This error was allready report in april 2018!!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48753>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list