public static function &GetShippingGroupsThatAllowPaymentWith($sPaymentInternalName)
    {
        $oList = &TdbShopShippingGroupList::GetAvailableShippingGroups();
        $bFound = false;
        $oShippingGroup = null;
        while (!$bFound && ($oShippingGroup = &$oList->Next())) {
            $oPaymentMethods = &$oShippingGroup->GetValidPaymentMethods();
            $oPayPal = $oPaymentMethods->FindItemWithProperty('fieldNameInternal', $sPaymentInternalName);
            if ($oPayPal) {
                $bFound = true;
            }
        }

        if (!$bFound) {
            $oShippingGroup = false;
        }

        return $oShippingGroup;
    }