Skip to content

Commit

Permalink
Merge pull request #32 from wirecard/TPWDCEE-252
Browse files Browse the repository at this point in the history
Tpwdcee 252
  • Loading branch information
jpy authored Sep 26, 2017
2 parents 954e2f4 + 1fe4d7f commit 5b9b3c0
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

/**
Expand Down
15 changes: 1 addition & 14 deletions Model/Payment/Sofortbanking.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]",
"docs": "https://guides.wirecard.com"
Expand Down
2 changes: 1 addition & 1 deletion etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@
</group>

<group id="wirecard_checkoutpage_sofortbanking" translate="label" type="text" sortOrder="1130" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Wirecard Checkout Page SOFORT Banking</label>
<label>Wirecard Checkout Page Online bank transfer.</label>
<field id="active" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="0">
<label>Enabled</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
Expand Down
2 changes: 1 addition & 1 deletion etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@

<wirecard_checkoutpage_sofortbanking>
<active>1</active>
<title>Wirecard Checkout Page SOFORT Banking</title>
<title>Wirecard Checkout Page Online bank transfer.</title>
<instructions>You will be redirected to Wirecard Checkout Page when you place an order.</instructions>
<displaymode>iframe</displaymode>
<model>Wirecard\CheckoutPage\Model\Payment\Sofortbanking</model>
Expand Down
2 changes: 1 addition & 1 deletion i18n/de_AT.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Binary file removed view/frontend/web/images/sofortbanking-de.png
Binary file not shown.
Binary file removed view/frontend/web/images/sofortbanking-en.png
Binary file not shown.
Binary file added view/frontend/web/images/sofortbanking.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5b9b3c0

Please sign in to comment.