I’m trying to figure out a way to automatically change the user’s membership status to cancelled on woocommerce, been looking ofr a few days now to no avail :/.

ex:

I have a customer who owns 4 memberships and he cancels one of them, this gets logged on an external database which then sends the cancel through a webhook to my woocommerce site who then needs to grab that and change the status to canceled.

I have everything else setup correctly, but nowhere on the woocommerce docs have I found anything regarding changing a user’s membership status.

thanks!

Read more here: changing the status of a member to cancelled in woocommerce


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: