I am using woocommerce Version 2.3.10 (i cant upgrade to the new version) I am using API V2 I am creating an order using the API successfully The entire order text is in english once there is Hebrew in one of the fields (billing addres first name for example), I am getting an error when trying to create the order.
The error i am getting is: woocommerce_api_missing_callback_param Any ideas how to fix it? i tried to encode the text to unicode string but the string is not being decoded back to hebrew when the order is created. There is no problem to open an order with hebrew in the regular website (not using the api
UPDATE:
I installed latest version of woocommerce and the problem remains the same
I have successfully created an order using API v2, used a Hebrew word for the
first_name
field and it worked. I am pasting the code here so that you can check yours against it.In the backend the order shows fine
EDIT : Adding the request headers and body as requested by OP
EDIT 2 : Adding C# specific piece of code
Solution:
The problem solved by adding encoding to the WebClient.
It worked in English without the encoding, but once I used Hebrew text i got errors from the woocommerce API.