You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to get woo-commerce orders between 2 dates. I tried before and after params but it is throwing the below error. please help me .
Code :
WooCommerce wooCommerce = new WooCommerceAPI(config, ApiVersionType.V3);
// Get all with request parameters
Map<String, String> params = new HashMap<>();
Activity
xsalefter commentedon Mar 18, 2021
I get the same problem as well. Calling the woo-commerce endpoint via CURL is fine, for example:
Furthermore, using this parameters is working like a charm as well:
Only when we uncomment one of
beforeorafter, then we get the exception described in this issue. Maybe there's little things that missing here.@omandryk (sorry for mentioned you here), but do you have any idea what's going on?
fix issue omandryk#36 by adding COLON in SpecialSymbol and apply in O…
kiranuw commentedon Mar 22, 2021
Issue Fixed. Got the solution we need to encode the dates.
xsalefter commentedon Mar 22, 2021
@kiranuw I think this issue should not closed yet, as currently there's PR from me about this issue.