diff --git a/src/Resources/PaymentTypes/Paypage.php b/src/Resources/PaymentTypes/Paypage.php index c7004b99..0e20dc49 100644 --- a/src/Resources/PaymentTypes/Paypage.php +++ b/src/Resources/PaymentTypes/Paypage.php @@ -99,9 +99,6 @@ class Paypage extends BasePaymentType /** @var bool $card3ds */ protected $card3ds; - /** @var array $css */ - protected $css = []; - /** * Paypage constructor. * @@ -539,26 +536,6 @@ public function setCard3ds($card3ds): Paypage return $this; } - /** - * @return array|null - */ - public function getCss(): ?array - { - return $this->css; - } - - /** - * @param array $styles - * @return Paypage - */ - public function setCss($styles): Paypage - { - foreach ($styles as $element => $css) { - $this->css[$element] = $css; - } - return $this; - } - /** * @param float|null $effectiveInterestRate * diff --git a/test/integration/PaymentTypes/PaypageTest.php b/test/integration/PaymentTypes/PaypageTest.php index ef19dba4..7120d809 100644 --- a/test/integration/PaymentTypes/PaypageTest.php +++ b/test/integration/PaymentTypes/PaypageTest.php @@ -72,13 +72,7 @@ public function maximumPaypageChargeShouldBeCreatable(): void ->setContactUrl('https://www.heidelpay.com/en/about-us/about-heidelpay/') ->setInvoiceId($invoiceId) ->setCard3ds(true) - ->setEffectiveInterestRate(4.99) - ->setCss([ - 'shopDescription' => 'color: purple', - 'header' => 'background-color: red', - 'helpUrl' => 'color: blue', - 'contactUrl' => 'color: green', - ]); + ->setEffectiveInterestRate(4.99); $this->assertEmpty($paypage->getId()); $paypage = $this->heidelpay->initPayPageCharge($paypage, $customer, $basket); $this->assertNotEmpty($paypage->getId()); @@ -127,13 +121,7 @@ public function maximumPaypageAuthorizeShouldBeCreatable(): void ->setContactUrl('https://www.heidelpay.com/en/about-us/about-heidelpay/') ->setInvoiceId($invoiceId) ->setCard3ds(true) - ->setEffectiveInterestRate(4.99) - ->setCss([ - 'shopDescription' => 'color: purple', - 'header' => 'background-color: red', - 'helpUrl' => 'color: blue', - 'contactUrl' => 'color: green', - ]); + ->setEffectiveInterestRate(4.99); $paypage->addExcludeType(Card::getResourceName()); $this->assertEmpty($paypage->getId()); $paypage = $this->heidelpay->initPayPageAuthorize($paypage, $customer, $basket);