- Issue created by @rszrama
- First commit to issue fork.
- Status changed to Needs review
11 months ago 4:36pm 14 March 2024
Because carts are often correlated to sessions and may not work outside of production, let's delete all carts and their related entities. We can add an option to skip cart deletion, but I think it's reasonable to delete them all by default.
Note: I don't think we should delete all draft orders ... those created by admins would presumably still be editable by admins after sanitization. Just want to avoid things like an issue we had recently with Stripe, where a payment intent for live mode was erroring out checkout in dev.
Needs review
1.0
Code