diff --git a/Model/AbstractPayment.php b/Model/AbstractPayment.php index f9ad2e4..332d53f 100644 --- a/Model/AbstractPayment.php +++ b/Model/AbstractPayment.php @@ -162,8 +162,8 @@ public function initPaymentByCart(CheckoutCart $cart, $urls, \Magento\Framework\ ->setConsumerData($this->_getConsumerData($quote)) ->setMaxRetries($this->_dataHelper->getConfigData('options/maxretries')); - if ($this->_paymentMethod == \WirecardCEE_QMore_PaymentType::MASTERPASS && strlen($this->getConfigData('shipping_profile'))) { - $init->setShippingProfile($this->getConfigData('shipping_profile')); + if ($this->_paymentMethod == \WirecardCEE_QMore_PaymentType::MASTERPASS) { + $init->setShippingProfile('NO_SHIPPING'); } $init->mage_orderId = $orderId; diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index 1bf4fe0..958c414 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -320,9 +320,6 @@ - - - Magento\Shipping\Model\Config\Source\Allmethods