Open selanthiraiyan opened 3 weeks ago
Thanks for reporting! 👍
Adding more information here regarding a recent report. Context Slack convo: p1732107537674619-slack-C6H8C3G23 Ticket: 8961210-zd-a8c
Not exactly the same issue but also a parsing problem on iOS, probably due to a plugin modifying the order info but it is being parsed correctly on Android.
For this user, searching for orders by customer name returns an error (Sorry, we could not find this order
screen). Searching for order numbers, some orders work, some don't. They have two plugins that caught our attention (Advanced Product Search For WooCommerce and Ultimate Tax Exempt). That said, deactivating the plugins did not affect the search. App logs and screenshots of test sites are in Slack.
Internal - peaMlT-Yo-p2
Issue
The iOS app isn't able to parse the
/wc/v3/orders
response when any of thetaxes
underline_items
have an invalidid
value. TheOrderItemTax
mapper expects the id value to beInt64
.To reproduce, use the following
line_items
. Note thetaxes
had aString
id
value where the app expectsInt
.Possible Solution
Check the possibility of ignoring the
taxes
with invalidid
values and loading the rest of the orders. Currently, the app doesn't load any orders at all, which isn't a good user experience.