Could I remove orders on Woo manually or GDPR auto removal (after 3 days for example) for user privacy? Or will it be automatically remove access to the course user paid?
Or...only changing status to "refunded" will remove access?
yes if you refund order of course then access well be revoked for that course.if you are doing it with php code make sure woocommerce_order_status_changed hook gets executed.
if you are doing it manually then there are no wories this hook gets executed .
note that order must be cancelled or refunded before removing it in order to revoke access to course from user.
hello!
Could I remove orders on Woo manually or GDPR auto removal (after 3 days for example) for user privacy? Or will it be automatically remove access to the course user paid?
Or...only changing status to "refunded" will remove access?
yes if you refund order of course then access well be revoked for that course.if you are doing it with php code make sure woocommerce_order_status_changed hook gets executed.
if you are doing it manually then there are no wories this hook gets executed .
note that order must be cancelled or refunded before removing it in order to revoke access to course from user.
No, I asked about (screenshot).
And about api:
DELETE /wp-json/wc/v3/orders/<id>
Could I remove orders by timer (as on screenshot) and remove by api without revoking access?
Attached files: 2024-05-11_08-32.png
yes you can remove them since removing order does not revoke access its the order status changed to refunded or cancelled which revokes access ,
you can enable that setting it will cause no harm .