From c0208dcf4440e26c7f1df7797d2a65da6687294b Mon Sep 17 00:00:00 2001 From: 4Giedrius <4giedrius@gmail.com> Date: Wed, 14 Jan 2015 17:04:52 +0200 Subject: [PATCH] Added secretWord field in Webmoney config --- src/bb-library/Payment/Adapter/WebMoney.php | 26 ++++++++++++--------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/bb-library/Payment/Adapter/WebMoney.php b/src/bb-library/Payment/Adapter/WebMoney.php index 26cf66910..c0116b206 100644 --- a/src/bb-library/Payment/Adapter/WebMoney.php +++ b/src/bb-library/Payment/Adapter/WebMoney.php @@ -56,17 +56,21 @@ class Payment_Adapter_WebMoney implements \Box\InjectionAwareInterface public static function getConfig() { - return array( - 'supports_one_time_payments' => true, - 'supports_subscriptions' => false, - 'description' => 'Configure WebMoney gateway. Do not forget enable option "Allow URLs transmitted in the form"', - 'form' => array( - 'purse' => array('text', array( - 'label' => 'WebMoney purse', - ), - ), - ), - ); + return array( + 'supports_one_time_payments' => true, + 'supports_subscriptions' => false, + 'description' => 'Configure WebMoney gateway. Do not forget enable option "Allow URLs transmitted in the form"', + 'form' => array( + 'purse' => array('text', array( + 'label' => 'WebMoney purse', + ), + ), + 'secretWord' => array('text', array( + 'label' => 'WebMoney secret word', + ), + ), + ), + ); } public function getHtml($api_admin, $id)