Personal Data Erasure

Personal data erasure provides the ability to retain or delete a customer's personal data based on the legal or configurable retention periods.

Cron Jobs from Core Accelerator

Once the account is closed, the customer cannot use that account to access the storefront, but can contact customer support to cancel the deactivation before the retention period expires (default value of this retention perios is 2 days). When the retention period expires, two cron jobs from yacceleratorcore extension delete customer-related data, such as: email address, contact information, shipping address, delivery preferences, consent settings, and payment details. These cron jobs are customersWithoutOrdersRetentionCronJob and customersWithOrdersRetentionCronJob. The customersWithoutOrdersRetentionCronJob is also responsible for deleting deactivated customers that don't have orders.

The ordersRetentionCronJob cleans up orders and order-related data from deactivated customers (after 10 years).

For more information, see Personal Data Erasure.

Cleanup Hooks

The customer-related and order-related data that are specific to Financial Services Accelerator are deleted by the implementation of several clean-up hooks (see table below). Please note that if we remove parts of audit file, hooks are still working. If in the implementation project, you want to customize that part, you can override our hooks or disable them entirely.
Cleanup Hooks Description

FinancialServicesCustomerCleanupHook

The FinancialServicesCustomerCleanupHook removes customer-related data that are specific to Financial Services Accelerator (InsuranceQuote along with related yFormData), as well as audit records for all appropriate items.

The hook extends FinancialServicesAbstractCleanupHook and implements ItemCleanupHook<CustomerModel>.

FinancialServicesOrderCleanupHook

The FinancialServicesOrderCleanupHook removes order-related data that are specific to Financial Services Accelerator: InsurancePolicy, InsuranceQuote, InsuredObject, InsuredObjectItems, FSClaim, Coverage, as well as audit records for all appropriate items.

The hook extends FinancialServicesAbstractCleanupHook and implements ItemCleanupHook<CustomerModel>.

Cleanup Cron Job

Additionally, in Financial Services Accelerator we have another general deletion mechanism (not related to deletion of personal data only) that deletes all policies with related objects that have the following statuses: lapse, dormant or reversed. In the implementation project, additional statuses can be added for deletion. The cron job responsible for this deletion is FSPolicyRemovalJob.