public function GetHtmlHeadIncludes()
    {
        $aIncludes = parent::GetHtmlHeadIncludes();

        if (isset($this->oActiveShippingGroup)) {
            $oPaymentMethodList = TShopBasket::GetInstance()->GetAvailablePaymentMethods();
            if ($oPaymentMethodList) {
                while ($oPaymentMethod = $oPaymentMethodList->Next()) {
                    $oPaymentHandler = $oPaymentMethod->GetFieldShopPaymentHandler();

                    if (method_exists($oPaymentHandler, 'GetHtmlHeadIncludes')) {
                        $aAdditionalIncludes = $oPaymentHandler->GetHtmlHeadIncludes();
                        if (count($aAdditionalIncludes) > 0) {
                            $aIncludes = array_merge($aIncludes, $aAdditionalIncludes);
                        }
                    }
                }
            }
        }

        return $aIncludes;
    }