diff --git a/Magewire/Payment/Method/Creditcard.php b/Magewire/Payment/Method/Creditcard.php
deleted file mode 100644
index 4c5acc5..0000000
--- a/Magewire/Payment/Method/Creditcard.php
+++ /dev/null
@@ -1,114 +0,0 @@
- 'Saving card type'
- ];
-
- protected $rules = [
- 'cardType' => 'required'
- ];
-
- protected $messages = [
- 'cardType:required' => 'A card type is required'
- ];
-
- protected SessionCheckout $sessionCheckout;
-
- protected CartRepositoryInterface $quoteRepository;
-
- protected ScopeConfigInterface $scopeConfig;
-
- protected MethodConfigProvider $methodConfigProvider;
-
- public function __construct(
- Validator $validator,
- SessionCheckout $sessionCheckout,
- CartRepositoryInterface $quoteRepository,
- ScopeConfigInterface $scopeConfig,
- MethodConfigProvider $methodConfigProvider
- ) {
- parent::__construct($validator);
-
- $this->sessionCheckout = $sessionCheckout;
- $this->quoteRepository = $quoteRepository;
- $this->scopeConfig = $scopeConfig;
- $this->methodConfigProvider = $methodConfigProvider;
- }
-
- /**
- * @throws LocalizedException
- * @throws NoSuchEntityException
- */
- public function mount(): void
- {
- $this->cardType = $this->sessionCheckout
- ->getQuote()
- ->getPayment()
- ->getAdditionalInformation('card_type');
- }
-
- /**
- * Listen for bank cardType been updated.
- */
- public function updatedCardType(string $value): ?string
- {
- $this->validateOnly();
- $value = empty($value) ? null : $value;
-
- try {
- $quote = $this->sessionCheckout->getQuote();
- $quote->getPayment()->setAdditionalInformation('card_type', $value);
-
- $this->quoteRepository->save($quote);
- } catch (LocalizedException $exception) {
- $this->dispatchErrorMessage($exception->getMessage());
- }
-
- return $value;
- }
- public function evaluateCompletion(EvaluationResultFactory $resultFactory): EvaluationResultInterface
- {
- if ($this->cardType === null) {
- return $resultFactory->createErrorMessageEvent()
- ->withCustomEvent('payment:method:error')
- ->withMessage('A card type is required');
- }
-
- return $resultFactory->createSuccess();
- }
-
- public function getIssuers(): array
- {
- return $this->methodConfigProvider->formatIssuers();
- }
-
- public function displayAsSelect($storeId = null): bool
- {
- return $this->scopeConfig->getValue(
- MethodIdeal::XPATH_IDEAL_SELECTION_TYPE,
- \Magento\Store\Model\ScopeInterface::SCOPE_STORE,
- $storeId
- ) === '2';
- }
-}
diff --git a/Plugin/MethodList.php b/Plugin/MethodList.php
index 3134401..67b2d3c 100644
--- a/Plugin/MethodList.php
+++ b/Plugin/MethodList.php
@@ -62,7 +62,6 @@ private function getSvgLogo(string $methodCode): string
"mrcash" => "svg/bancontact.svg",
"p24" => "svg/przelewy24.svg",
"sepadirectdebit" => "svg/sepa-directdebit.svg",
- "sofortbanking" => "svg/sofort.svg",
"emandate" => "emandate.png",
"pospayment" => "pos.png",
"transfer" => "svg/sepa-credittransfer.svg",
diff --git a/etc/frontend/di.xml b/etc/frontend/di.xml
index 1cb36dc..427e08b 100644
--- a/etc/frontend/di.xml
+++ b/etc/frontend/di.xml
@@ -4,7 +4,6 @@
- \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
- - \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
- \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
- \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
- \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
@@ -20,7 +19,6 @@
- \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
- \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
- \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
- - \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
- \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
- \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
- \Buckaroo\HyvaCheckout\Model\Magewire\Payment\PlaceOrderService
@@ -41,7 +39,7 @@
-
+
diff --git a/view/frontend/layout/hyva_checkout_cart_index.xml b/view/frontend/layout/hyva_checkout_cart_index.xml
new file mode 100644
index 0000000..c666006
--- /dev/null
+++ b/view/frontend/layout/hyva_checkout_cart_index.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/view/frontend/layout/hyva_checkout_components.xml b/view/frontend/layout/hyva_checkout_components.xml
index a14b10f..0553026 100644
--- a/view/frontend/layout/hyva_checkout_components.xml
+++ b/view/frontend/layout/hyva_checkout_components.xml
@@ -45,16 +45,6 @@
-
-
-
- \Buckaroo\HyvaCheckout\Magewire\Payment\Method\Creditcard
-
-
-
-
@@ -210,6 +200,9 @@
class="Buckaroo\HyvaCheckout\Block\Totals\AlreadyPaid"
as="buckaroo_already_paid"
template="Buckaroo_HyvaCheckout::total-segments/already-paid.phtml"/>
+