When a branch requests that a cart be cleared or removed because it's stuck in Pending you can use the attached script to fix it. The script only requires an email address or an invoice # (whichever is provided by the user).



The script will run and tell you if it was able to close the cart ("Cart is fixed") or if there's no cart present ("Nothing to fix").