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
When using the woocommerce_api_* dynamic hook in this way, the status code and any data you wish to return is something you need to take care of yourself, for instance by adding something like status_header( 400 ); within your callback.
We don't provide support here on GitHub, but if you still think there is a problem or bug then it would be great to have a little more insight into what you are trying to do, and what you expect (bear in mind, too, that this approach mostly exists for the benefit of payment gateways).
when call
https://loaclhost/index.php/wc-api/WC_Gateway_Test
, always return httpCode: 200, response body: -1The text was updated successfully, but these errors were encountered: