Components/Klarna/Shopware/KlarnaPaymentResponseParser.php
private function getKlarnaPclassId($klarnaShopId, $countryIso)
    {
        try {
            $query = 'SELECT id FROM s_klarna_pclasses 
                      WHERE eid = :klarnaShopId 
                      AND country = :country';

            return $this->connection->fetchColumn($query, [
                'klarnaShopId' => $klarnaShopId,
                'country' => $this->getKlarnaCountryId($countryIso), ]
            );
        } catch (Exception $exception) {
            return '';
        }
    }
private function getKlarnaPclassId($klarnaShopId, $countryIso)
    {
        try {
            $query = 'SELECT id FROM s_klarna_pclasses 
                      WHERE eid = :klarnaShopId 
                      AND country = :country';

            return $this->connection->fetchColumn($query, [
                'klarnaShopId' => $klarnaShopId,
                'country' => $this->getKlarnaCountryId($countryIso), ]
            );
        } catch (Exception $exception) {
            return '';
        }
    }
@param string $klarnaShopId
@param string $countryIso

@return string