Description
Description
Make sure all cleanup tasks are executed upon failure within the new payment process.
It seems like the gradual migration to split-UPE with deferred intent is leaving less and less to clean up.
Presently, the only thing that I can find in place regarding cleanup is the following. However, please check the existing payment process, and make sure that no other clean-up tasks need to be performed during cleanup, or if there are, implement them.
woocommerce-payments/includes/class-wc-payment-gateway-wcpay.php
Lines 1053 to 1055 in a19f2b0
Considering that we will never enable the new payment process alongside legacy UPE, that will not be needed.
Acceptance criteria
All cleanup tasks, if any, and except the example above, are executed.
Testing instructions
To be defined, based on the findings from above.
Additional context
Epic: #6673
Project: paJDYF-9hL-p2