Open lgobatto opened 1 week ago
When calling from REST API some methods are not available also maybe the cart isn't present since we may are charging a order created from rest (where WC()->cart) is empty.
Also wc_add_notice isn't available when doing rest api calls.
When calling from REST API some methods are not available also maybe the cart isn't present since we may are charging a order created from rest (where WC()->cart) is empty.
Also wc_add_notice isn't available when doing rest api calls.