src/ShopBundle/objects/TCMSSmartURLHandler/TCMSSmartURLHandler_ShopIPayment.class.php
protected function DeleteNotExecutedOrder($sUniqId)
    {
        $oNotExecutedOrder = TdbShopOrder::GetNewInstance();
        if ($oNotExecutedOrder->LoadFromField('order_ident', $sUniqId)) {
            $oNotExecutedOrder->AllowEditByAll(true);
            $oNotExecutedOrder->Delete();
            $oNotExecutedOrder->AllowEditByAll(false);
            unset($_SESSION[TShopBasket::SESSION_KEY_PROCESSING_BASKET]);
        }
    }
protected function DeleteNotExecutedOrder($sUniqId)
    {
        $oNotExecutedOrder = TdbShopOrder::GetNewInstance();
        if ($oNotExecutedOrder->LoadFromField('order_ident', $sUniqId)) {
            $oNotExecutedOrder->AllowEditByAll(true);
            $oNotExecutedOrder->Delete();
            $oNotExecutedOrder->AllowEditByAll(false);
            unset($_SESSION[TShopBasket::SESSION_KEY_PROCESSING_BASKET]);
        }
    }
protected function DeleteNotExecutedOrder ( $ sUniqId ) { $ oNotExecutedOrder = TdbShopOrder :: GetNewInstance ( ) ; if ( $ oNotExecutedOrder -> LoadFromField ( 'order_ident' , $ sUniqId ) ) { $ oNotExecutedOrder -> AllowEditByAll ( true ) ; $ oNotExecutedOrder -> Delete ( ) ; $ oNotExecutedOrder -> AllowEditByAll ( false ) ; unset ( $ _SESSION [ TShopBasket :: SESSION_KEY_PROCESSING_BASKET ] ) ; } }
Delete existing order if payment wasnt done correctly.

@param string $sUniqId
Delete existing order if payment wasnt done correctly .