Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
[feature](MAGE2-86) Add a german translation.
Browse files Browse the repository at this point in the history
Add a log if brand list is empty.
remove redundancy.
  • Loading branch information
Ryouzanpaku committed Oct 1, 2018
1 parent c472c98 commit 1d7ea68
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions PaymentMethods/HeidelpayAbstractPaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,7 @@ public function refund(\Magento\Payment\Model\InfoInterface $payment, $amount)
*/
public function getHeidelpayUrl($quote)
{
$this->performAuthentication();

$this->setAsync();
$this->setupInitialRequest();

$user = $this->getUser($quote);
$this->_heidelpayPaymentMethod->getRequest()->customerAddress(
Expand Down
4 changes: 4 additions & 0 deletions PaymentMethods/HeidelpayIDealPaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ public function prepareAdditionalFormData(Response $response)
$bankList[] = $bank;
}

if (empty($bankList)) {
$this->_logger->warning('heidelpay - iDeal config: brand list is empty');
}

return $bankList;
}

Expand Down
1 change: 1 addition & 0 deletions i18n/de_DE.csv
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"IBAN", "IBAN"
"BIC","BIC"
"Bank Account Holder", "Kontoinhaber"
"Bank", "Bank"
"Account Holder","Kontoinhaber"
"Salutation", "Anrede"
"Mr.", "Herr"
Expand Down

0 comments on commit 1d7ea68

Please sign in to comment.