diff --git a/Helper/Data.php b/Helper/Data.php index c4c37fd..2585882 100644 --- a/Helper/Data.php +++ b/Helper/Data.php @@ -38,7 +38,7 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper { - protected $_pluginVersion = '1.0.8'; + protected $_pluginVersion = '1.0.9'; protected $_pluginName = 'Wirecard/CheckoutPage'; /** diff --git a/Model/Payment/Sofortbanking.php b/Model/Payment/Sofortbanking.php index 226f9ec..c262eb2 100644 --- a/Model/Payment/Sofortbanking.php +++ b/Model/Payment/Sofortbanking.php @@ -41,18 +41,5 @@ class Sofortbanking extends AbstractPayment protected $_paymentMethod = \WirecardCEE_Stdlib_PaymentTypeAbstract::SOFORTUEBERWEISUNG; - protected $_logo = 'sofortbanking-%s.png'; - - /** - * return logo (png) - * @return bool - */ - public function getLogo() - { - $lang = $this->_dataHelper->getLanguage(); - if (!in_array($lang, ['de', 'en'])) - $lang = 'en'; - - return sprintf($this->_logo, $lang); - } + protected $_logo = 'sofortbanking.png'; } \ No newline at end of file diff --git a/composer.json b/composer.json index 33f8869..67dd2fc 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "description": "Wirecard Checkout Page extension for Magento 2", "keywords": ["wirecard", "checkout", "page", "payment", "magento2"], "homepage": "https://www.wirecard.at", - "version":"1.0.8", + "version":"1.0.9", "support": { "email": "support.at@wirecard.com", "docs": "https://guides.wirecard.com" diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index 958c414..a47073d 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -726,7 +726,7 @@ - + Magento\Config\Model\Config\Source\Yesno diff --git a/etc/config.xml b/etc/config.xml index fb38153..1bc6f29 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -162,7 +162,7 @@ 1 - Wirecard Checkout Page SOFORT Banking + Wirecard Checkout Page Online bank transfer. You will be redirected to Wirecard Checkout Page when you place an order. iframe Wirecard\CheckoutPage\Model\Payment\Sofortbanking diff --git a/i18n/de_AT.csv b/i18n/de_AT.csv index b2cb350..3897e37 100644 --- a/i18n/de_AT.csv +++ b/i18n/de_AT.csv @@ -88,7 +88,7 @@ Provider,Provider "Wirecard Checkout Page Select","Wirecard Checkout Page Zahlungsmittelauswahl" "Wirecard Checkout Page SEPA Direct Debit","Wirecard Checkout Page SEPA Lastschrift" "Wirecard Checkout Page Skrill Digital Wallet","Wirecard Checkout Page Skrill Digital Wallet" -"Wirecard Checkout Page SOFORT Banking","Wirecard Checkout Page SOFORT Überweisung" +"Wirecard Checkout Page Online bank transfer.","Wirecard Checkout Page Sofort." "Wirecard Checkout Page TatraPay","Wirecard Checkout Page TatraPay" "Wirecard Checkout Page Trustly","Wirecard Checkout Page Trustly" "Wirecard Checkout Page TrustPay","Wirecard Checkout Page TrustPay" diff --git a/i18n/en_US.csv b/i18n/en_US.csv index 7b3b2f4..23d8847 100644 --- a/i18n/en_US.csv +++ b/i18n/en_US.csv @@ -89,7 +89,7 @@ Provider,Provider "Wirecard Checkout Page Select","Wirecard Checkout Page Select" "Wirecard Checkout Page SEPA Direct Debit","Wirecard Checkout Page SEPA Direct Debit" "Wirecard Checkout Page Skrill Digital Wallet","Wirecard Checkout Page Skrill Digital Wallet" -"Wirecard Checkout Page SOFORT Banking","Wirecard Checkout Page SOFORT Banking" +"Wirecard Checkout Page Online bank transfer.","Wirecard Checkout Page Online bank transfer." "Wirecard Checkout Page TatraPay","Wirecard Checkout Page TatraPay" "Wirecard Checkout Page Trustly","Wirecard Checkout Page Trustly" "Wirecard Checkout Page TrustPay","Wirecard Checkout Page TrustPay" diff --git a/view/frontend/web/images/sofortbanking-de.png b/view/frontend/web/images/sofortbanking-de.png deleted file mode 100644 index cf637fb..0000000 Binary files a/view/frontend/web/images/sofortbanking-de.png and /dev/null differ diff --git a/view/frontend/web/images/sofortbanking-en.png b/view/frontend/web/images/sofortbanking-en.png deleted file mode 100644 index 8d2a98c..0000000 Binary files a/view/frontend/web/images/sofortbanking-en.png and /dev/null differ diff --git a/view/frontend/web/images/sofortbanking.png b/view/frontend/web/images/sofortbanking.png new file mode 100644 index 0000000..2d37c92 Binary files /dev/null and b/view/frontend/web/images/sofortbanking.png differ