Magento2 CyberSource模块Magento 2错误

Magento2 CyberSource模块Magento 2错误,magento2,cybersource,Magento2,Cybersource,我已经为Magento安装了CyberSource扩展。我的模块名称“赛博资源/全球支付管理”,版本“3.3.0” 然后我得到了一些错误: eport.CRITICAL: Notice: Trying to access array offset on value of type null in /vendor/cybersource/module-tax/Model/Tax/Sales/Total/Quote/Tax.php on line 274 {"exception"

我已经为Magento安装了CyberSource扩展。我的模块名称“赛博资源/全球支付管理”,版本“3.3.0”

然后我得到了一些错误:

eport.CRITICAL: Notice: Trying to access array offset on value of type null in /vendor/cybersource/module-tax/Model/Tax/Sales/Total/Quote/Tax.php on line 274 {"exception":"[object] (Exception(code: 0): Notice: Trying to access array offset on value of type null in ...vendor/cybersource/module-tax/Model/Tax/Sales/Total/Quote/Tax.php on line 274 at .../vendor/magento/framework/App/ErrorHandler.php:61)"} []
我发现方法:\CyberSource\Tax\Model\Tax\Sales\Total\Quote\Tax::mapItem

public function mapItem() {
    $lineItemTax = $this->cyberSourceAPI->getItemFromResponse($itemDataObject);
    $extensionAttributes->setTaxAmount($lineItemTax['totalTaxAmount']); // we need a array_key_exists check here
}
我们也有

Exception #0 (InvalidArgumentException): No matching card type found
<pre>#1 array_map() called at [vendor/cybersource/module-googlepay/Model/Ui/ConfigProvider.php:124]
#2 CyberSource\GooglePay\Model\Ui\ConfigProvider->getAllowedCardTypes() called at [vendor/cybersource/module-googlepay/Model/Ui/ConfigProvider.php:105]
#3 CyberSource\GooglePay\Model\Ui\ConfigProvider->getConfig() called at [vendor/magento/module-checkout/Model/CompositeConfigProvider.php:39]
#4 Magento\Checkout\Model\CompositeConfigProvider->getConfig() called at [vendor/magento/module-checkout/Block/Onepage.php:106]
#5 Magento\Checkout\Block\Onepage->getCheckoutConfig() called at [vendor/magento/module-checkout/Block/Onepage.php:128]
#6 Magento\Checkout\Block\Onepage->getSerializedCheckoutConfig() called at [vendor/magento/module-checkout/view/frontend/templates/onepage.phtml:27]
我不知道如何就这些问题联系CyberSource技术支持

public function getConfig()
    {
        $storeInfo = $this->storeInformation->getStoreInformationObject($this->storeManager->getStore());

        return [
            'payment' => [
                self::CODE => [
                    'isActive' => 1, // should be $this->config->isActive()
                    'title' => $this->config->getTitle(),
                    'environment' => $this->config->isTestMode() ? static::ENV_TEST : static::ENV_PRODUCTION,
                    'gatewayId' => static::GOOGLEPAY_GATEWAY_CODE,
                    'gatewayMerchantId' => $this->config->getMerchantId(),
                    'merchantName' => $this->config->getMerchantDisplayName() ?? $storeInfo->getName() ?? __('Default Store Name'),
                    'countryCode' => $storeInfo->getCountryId() ?? 'US',
                    'merchantId' => $this->config->getGoogleMerchantId(),
                    'cardTypes' => $this->getAllowedCardTypes(), // should be $this->config->isActive() ? $this->getAllowedCardTypes() : []
                    'allowedCountries' => $this->getAllowedCountries(),
                ]
            ]
        ];
    }