Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#48753 closed defect (bug) (invalid)

Problem with C# OrderRefund

Reported by: rainierg's profile rainierg Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.3
Component: General Keywords: needs-patch
Focuses: Cc:

Description

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!!

Change History (1)

#1 @garrett-eclipse
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hello @rainierg welcome to Trac.

This ticketing system is for bugs and enhancements associated to WordPress core itself and not any of the plugins.

From the looks of your example, you're using WooCommerce. If you're a paying customer you can seek support through woocommerce.com otherwise their free support forums can be found here;
https://wordpress.org/support/plugin/woocommerce/

All the best

Note: See TracTickets for help on using tickets.