Skip to content

Deal with several account cancellation issues

The commit in this MR achieves:

  • Do not allow to delete an account if there are pending orders.

  • When deleting an account do not remove WC account but disable it in practice by resetting password and setting contact email to LDH provided email.

  • Also remove all PII in WC account, orders and subscriptions.

  • delete_user CLI command also checks for pending orders before deleting an account.

Merge request reports