From 5a4274170d8be8e435ad30b4bfb6650b14ac3127 Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Wed, 8 Mar 2017 19:50:12 +0300 Subject: [PATCH] no message --- Method.php | 3 ++- Source/Option.php | 8 ++------ T/CreateOrder/BankTransfer.php | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Method.php b/Method.php index 9de4b37..fa3bfa9 100644 --- a/Method.php +++ b/Method.php @@ -19,10 +19,11 @@ function vatIsInteger() {return false;} /** * 2017-03-07 + * https://mage2.pro/t/3355/2 * @override * @see \Df\GingerPaymentsBase\Method::bankTransferId() * @used-by \Df\GingerPaymentsBase\Method::optionT() * @return bool */ - protected function bankTransferId() {return GM::BANK_TRANSFER_G;} + protected function bankTransferId() {return 'sepa-debit-transfer';} } \ No newline at end of file diff --git a/Source/Option.php b/Source/Option.php index 9b673bf..c79cf48 100644 --- a/Source/Option.php +++ b/Source/Option.php @@ -1,20 +1,16 @@ string) */ - protected function mapExtra() {return [ - // 2017-03-01 - // What is SOFORT and how does it work? https://mage2.pro/t/3425 - M::SOFORT => 'SOFORT' - ];} + protected function mapExtra() {return ['sofort' => 'SOFORT'];} } \ No newline at end of file diff --git a/T/CreateOrder/BankTransfer.php b/T/CreateOrder/BankTransfer.php index 23b22d3..25f742b 100644 --- a/T/CreateOrder/BankTransfer.php +++ b/T/CreateOrder/BankTransfer.php @@ -10,5 +10,5 @@ final class BankTransfer extends \Df\GingerPaymentsBase\T\CreateOrder { * @used-by \Df\GingerPaymentsBase\T\CreateOrder::t01_success() * @return string */ - protected function method() {return M::BANK_TRANSFER_G;} + protected function method() {return 'sepa-debit-transfer';} } \ No newline at end of file