ET_PaymentRobokassa - Version 1.0.7

Version Notes

stable release

Download this release

Release Info

Developer Magento Core Team
Extension ET_PaymentRobokassa
Version 1.0.7
Comparing to
See all releases


Code changes from version 1.0.6 to 1.0.7

app/code/community/ET/PaymentRobokassa/Block/Adminhtml/System/Config/Form/Field/CallbackUrls.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * You may not sell, sub-license, rent or lease
7
+ * any portion of the Software or Documentation to anyone.
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade to newer
12
+ * versions in the future.
13
+ *
14
+ * @category ET
15
+ * @package ET_PaymentRobokassa
16
+ * @copyright Copyright (c) 2015 ET Web Solutions (http://etwebsolutions.com)
17
+ * @contacts support@etwebsolutions.com
18
+ * @license http://shop.etwebsolutions.com/etws-license-free-v1/ ETWS Free License (EFL1)
19
+ */
20
+ class ET_PaymentRobokassa_Block_Adminhtml_System_Config_Form_Field_CallbackUrls
21
+ extends Mage_Adminhtml_Block_System_Config_Form_Field_Heading
22
+ {
23
+ public function render(Varien_Data_Form_Element_Abstract $element)
24
+ {
25
+ $baseUrl = Mage::getBaseUrl('web');
26
+ return sprintf(
27
+ '<tr class="system-fieldset-sub-head" id="row_%s"><td colspan="5"><h4 id="%s">%s</h4></td></tr>' .
28
+ '<tr><td colspan="5"><span>' . $this->__("You have to set callback links for your shop in your account on Robokassa website to make extension work.") . '</span></td></tr>' .
29
+ '<tr><td class="label"><label>' . $this->__("Result URL") . '</label></td><td class="value">' . $baseUrl . 'etrobokassa/result<p class="note"><span>' . $this->__("POST or GET data transfer method") . '</span></p></td></tr>' .
30
+ '<tr><td class="label"><label>' . $this->__("Success URL") . '</label></td><td class="value">' . $baseUrl . 'etrobokassa/success<p class="note"><span>' . $this->__("POST or GET data transfer method") . '</span></p></td></tr>' .
31
+ '<tr><td class="label"><label>' . $this->__("Failure URL") . '</label></td><td class="value">' . $baseUrl . 'etrobokassa/failure<p class="note"><span>' . $this->__("POST or GET data transfer method") . '</span></p></td></tr>' .
32
+ '<tr><td class="label"><label>' . $this->__("Documentation") . '</label></td><td class="value"><a href="http://shop.etwebsolutions.com/eng/et-payment-robokassa.html#documentation">http://shop.etwebsolutions.com/eng/et-payment-robokassa.html#documentation</a></td></tr>',
33
+ $element->getHtmlId(), $element->getHtmlId(), $element->getLabel()
34
+ );
35
+ }
36
+ }
app/code/community/ET/PaymentRobokassa/Block/Error.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * You may not sell, sub-license, rent or lease
7
+ * any portion of the Software or Documentation to anyone.
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade to newer
12
+ * versions in the future.
13
+ *
14
+ * @category ET
15
+ * @package ET_PaymentRobokassa
16
+ * @copyright Copyright (c) 2015 ET Web Solutions (http://etwebsolutions.com)
17
+ * @contacts support@etwebsolutions.com
18
+ * @license http://shop.etwebsolutions.com/etws-license-free-v1/ ETWS Free License (EFL1)
19
+ */
20
+ class ET_PaymentRobokassa_Block_Error extends Mage_Core_Block_Abstract
21
+ {
22
+ protected function _toHtml()
23
+ {
24
+ $storeId = Mage::app()->getStore()->getId();
25
+ $html = '<html><body>';
26
+ $html .= $this->__('An error has occurred during the checkout process. Please, contact the store owner.');
27
+ $html .= '<br><br><a href="' .
28
+ Mage::app()->getStore($storeId)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK) . '">' .
29
+ $this->__('Back to the main page') . '</a>';
30
+ $html .= '</body></html>';
31
+ return $html;
32
+ }
33
+
34
+ }
app/code/community/ET/PaymentRobokassa/Model/Paysystem.php CHANGED
@@ -26,6 +26,7 @@ class ET_PaymentRobokassa_Model_Paysystem extends Mage_Core_Model_Abstract
26
  */
27
  public function toOptionArray()
28
  {
 
29
  $helper = Mage::helper('etpaymentrobokassa');
30
  $data = array(
31
  array('value' => "", 'label' => $helper->__('Any')),
26
  */
27
  public function toOptionArray()
28
  {
29
+ /** @var $helper ET_PaymentRobokassa_Helper_Data*/
30
  $helper = Mage::helper('etpaymentrobokassa');
31
  $data = array(
32
  array('value' => "", 'label' => $helper->__('Any')),
app/code/community/ET/PaymentRobokassa/controllers/GateController.php CHANGED
@@ -45,8 +45,17 @@ class ET_PaymentRobokassa_GateController extends Mage_Core_Controller_Front_Acti
45
  //$status = 'pending';
46
  $status = Mage::getModel('sales/order')->getConfig()->getStateDefaultStatus($state);
47
  }
 
48
  /* @var $order Mage_Sales_Model_Order */
49
- $order = Mage::getModel('sales/order')->load($session->getLastOrderId());
 
 
 
 
 
 
 
 
50
  $order->setState($state,
51
  $status,
52
  $this->__('Customer redirected to payment Gateway Robokassa'),
@@ -145,12 +154,14 @@ class ET_PaymentRobokassa_GateController extends Mage_Core_Controller_Front_Acti
145
  /** @var $order Mage_Sales_Model_Order */
146
  //$order = Mage::getModel('sales/order')->load($payment->getOrderId($answer));
147
  $order = Mage::getModel('sales/order')->loadByIncrementId($payment->getOrderId($answer));
148
- $result = new Varien_Object(array(
149
- 'answer' => $answer,
 
150
  'order' => $order,
151
- ));
 
152
  Mage::dispatchEvent('robokassa_failure_answer', $result);
153
- $answer = $result->getData('answer');
154
  $answer = array_merge(array('Data transfer' => 'From Robokassa'), $answer);
155
  $helper->log($answer);
156
  if (Mage::getStoreConfig('payment/' . self::PAYMENTNAME . '/cart_refill')) {
45
  //$status = 'pending';
46
  $status = Mage::getModel('sales/order')->getConfig()->getStateDefaultStatus($state);
47
  }
48
+
49
  /* @var $order Mage_Sales_Model_Order */
50
+ $lastOrderId = $session->getLastOrderId();
51
+ if (empty($lastOrderId)) {
52
+ $helper->log("Error. Redirect to robokassa failed. No data in session about order.");
53
+ $this->getResponse()->setHeader('Content-type', 'text/html; charset=UTF8');
54
+ $this->getResponse()->setBody(
55
+ $this->getLayout()->createBlock('etpaymentrobokassa/error')->toHtml());
56
+ return;
57
+ }
58
+ $order = Mage::getModel('sales/order')->load($lastOrderId);
59
  $order->setState($state,
60
  $status,
61
  $this->__('Customer redirected to payment Gateway Robokassa'),
154
  /** @var $order Mage_Sales_Model_Order */
155
  //$order = Mage::getModel('sales/order')->load($payment->getOrderId($answer));
156
  $order = Mage::getModel('sales/order')->loadByIncrementId($payment->getOrderId($answer));
157
+
158
+ $result = array(
159
+ 'answer' => new Varien_Object($answer),
160
  'order' => $order,
161
+ );
162
+
163
  Mage::dispatchEvent('robokassa_failure_answer', $result);
164
+ $answer = $result['answer']->getData();
165
  $answer = array_merge(array('Data transfer' => 'From Robokassa'), $answer);
166
  $helper->log($answer);
167
  if (Mage::getStoreConfig('payment/' . self::PAYMENTNAME . '/cart_refill')) {
app/code/community/ET/PaymentRobokassa/etc/config.xml CHANGED
@@ -1,200 +1,204 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * NOTICE OF LICENSE
5
- *
6
- * You may not sell, sub-license, rent or lease
7
- * any portion of the Software or Documentation to anyone.
8
- *
9
- * DISCLAIMER
10
- *
11
- * Do not edit or add to this file if you wish to upgrade to newer
12
- * versions in the future.
13
- *
14
- * @category ET
15
- * @package ET_PaymentRobokassa
16
- * @copyright Copyright (c) 2013 ET Web Solutions (http://etwebsolutions.com)
17
- * @contacts support@etwebsolutions.com
18
- * @license http://shop.etwebsolutions.com/etws-license-free-v1/ ETWS Free License (EFL1)
19
- */
20
- -->
21
- <config>
22
- <modules>
23
- <ET_PaymentRobokassa>
24
- <name>ET Payment Robokassa</name>
25
- <version>1.0.6</version>
26
- <descr>
27
- <ru_RU><![CDATA[Платёжный модуль Robokassa. Позволяет использовать сервис приёма платежей Robokassa (robokassa.ru) на вашем Magento сайте.]]>
28
- </ru_RU>
29
- <en_US><![CDATA[Payment extension Robokassa. Allows to use payment service Robokassa (robokassa.ru) on your Magento site.]]>
30
- </en_US>
31
- </descr>
32
- <permanentlink>
33
- <ru_RU>http://shop.etwebsolutions.com/rus/et-payment-robokassa.html</ru_RU>
34
- <en_US>http://shop.etwebsolutions.com/eng/et-payment-robokassa.html</en_US>
35
- </permanentlink>
36
- <license>
37
- <ru_RU><![CDATA[ETWS Свободная лицензия (EFL1)]]></ru_RU>
38
- <en_US><![CDATA[ETWS Free License (EFL1)]]></en_US>
39
- </license>
40
- <licenselink>
41
- <ru_RU>http://shop.etwebsolutions.com/rus/etws-license-free-v1</ru_RU>
42
- <en_US>http://shop.etwebsolutions.com/eng/etws-license-free-v1</en_US>
43
- </licenselink>
44
- <redminelink>http://support.etwebsolutions.com/projects/et-payment-robokassa/roadmap</redminelink>
45
- <ourserviceslink>
46
- <ru_RU>http://shop.etwebsolutions.com/rus/our-services</ru_RU>
47
- <en_US>http://shop.etwebsolutions.com/eng/our-services</en_US>
48
- </ourserviceslink>
49
- </ET_PaymentRobokassa>
50
- </modules>
51
-
52
- <global>
53
- <helpers>
54
- <etpaymentrobokassa>
55
- <class>ET_PaymentRobokassa_Helper</class>
56
- </etpaymentrobokassa>
57
- </helpers>
58
-
59
- <blocks>
60
- <etpaymentrobokassa>
61
- <class>ET_PaymentRobokassa_Block</class>
62
- </etpaymentrobokassa>
63
- </blocks>
64
-
65
- <models>
66
- <etpaymentrobokassa>
67
- <class>ET_PaymentRobokassa_Model</class>
68
- <resourceModel>etpaymentrobokassa_mysql4</resourceModel>
69
- </etpaymentrobokassa>
70
- </models>
71
- <resources>
72
- <etpaymentrobokassa_setup>
73
- <setup>
74
- <module>ET_PaymentRobokassa</module>
75
- <class>Mage_Sales_Model_Mysql4_Setup</class>
76
- </setup>
77
- <connection>
78
- <use>core_setup</use>
79
- </connection>
80
- </etpaymentrobokassa_setup>
81
- <etpaymentrobokassa_write>
82
- <connection>
83
- <use>core_write</use>
84
- </connection>
85
- </etpaymentrobokassa_write>
86
- <etpaymentrobokassa_read>
87
- <connection>
88
- <use>core_read</use>
89
- </connection>
90
- </etpaymentrobokassa_read>
91
- </resources>
92
-
93
- <sales>
94
- <order>
95
- <statuses>
96
- <waiting_robokassa translate="label"><label>Waiting Robokassa payment</label></waiting_robokassa>
97
- <paid_robokassa translate="label"><label>Paid by Robokassa</label></paid_robokassa>
98
- <error_robokassa translate="label"><label>Error data from Robokassa</label></error_robokassa>
99
- </statuses>
100
- <states>
101
- <new>
102
- <statuses>
103
- <waiting_robokassa/>
104
- <error_robokassa/>
105
- </statuses>
106
- <visible_on_front/>
107
- </new>
108
- <processing translate="label">
109
- <label>Processing</label>
110
- <statuses>
111
- <paid_robokassa/>
112
- </statuses>
113
- <visible_on_front/>
114
- </processing>
115
- </states>
116
- </order>
117
- </sales>
118
- <events>
119
- <controller_front_init_routers>
120
- <observers>
121
- <etrobokassa>
122
- <class>ET_PaymentRobokassa_Controller_Router</class>
123
- <method>initControllerRouters</method>
124
- </etrobokassa>
125
- </observers>
126
- </controller_front_init_routers>
127
- </events>
128
- </global>
129
-
130
- <frontend>
131
- <translate>
132
- <modules>
133
- <ET_PaymentRobokassa>
134
- <files>
135
- <default>ET_PaymentRobokassa.csv</default>
136
- </files>
137
- </ET_PaymentRobokassa>
138
- </modules>
139
- </translate>
140
- <routers>
141
- <etpaymentrobokassa>
142
- <use>standard</use>
143
- <args>
144
- <module>ET_PaymentRobokassa</module>
145
- <frontName>etpaymentrobokassa</frontName>
146
- </args>
147
- </etpaymentrobokassa>
148
- </routers>
149
- </frontend>
150
-
151
- <adminhtml>
152
- <acl>
153
- <resources>
154
- <admin>
155
- <children>
156
- <system>
157
- <children>
158
- <config>
159
- <children>
160
- <etpaymentrobokassa translate="title" module="etpaymentrobokassa">
161
- <title>ET Payment Robokassa Section</title>
162
- <sort_order>400</sort_order>
163
- </etpaymentrobokassa>
164
- </children>
165
- </config>
166
- </children>
167
- </system>
168
- </children>
169
- </admin>
170
- </resources>
171
- </acl>
172
- <translate>
173
- <modules>
174
- <ET_PaymentRobokassa>
175
- <files>
176
- <default>ET_PaymentRobokassa.csv</default>
177
- </files>
178
- </ET_PaymentRobokassa>
179
- </modules>
180
- </translate>
181
- </adminhtml>
182
-
183
- <default>
184
- <payment>
185
- <etrobokassa>
186
- <active>0</active>
187
- <title>Сервис приёма платежей Робокасса</title>
188
- <payment_text><![CDATA[Платите с помощью банковских карт, в любой электронной валюте, с помощью сервисов мобильной коммерции (МТС, Мегафон, Билайн), платежи через интернет-банк ведущих Банков РФ, платежи через банкоматы, через терминалы мгновенной оплаты, через систему денежных переводов Contact.]]></payment_text>
189
- <cart_refill>0</cart_refill>
190
- <allowspecific>0</allowspecific>
191
- <order_status>waiting_robokassa</order_status>
192
- <model>etpaymentrobokassa/method_etrobokassa</model>
193
- <order_status>waiting_robokassa</order_status>
194
- <test_mode>0</test_mode>
195
- <enable_log>1</enable_log>
196
- <sInvDesc>Покупка в интернет магазине</sInvDesc>
197
- </etrobokassa>
198
- </payment>
199
- </default>
200
- </config>
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * You may not sell, sub-license, rent or lease
7
+ * any portion of the Software or Documentation to anyone.
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade to newer
12
+ * versions in the future.
13
+ *
14
+ * @category ET
15
+ * @package ET_PaymentRobokassa
16
+ * @copyright Copyright (c) 2013 ET Web Solutions (http://etwebsolutions.com)
17
+ * @contacts support@etwebsolutions.com
18
+ * @license http://shop.etwebsolutions.com/etws-license-free-v1/ ETWS Free License (EFL1)
19
+ */
20
+ -->
21
+ <config>
22
+ <modules>
23
+ <ET_PaymentRobokassa>
24
+ <name>ET Payment Robokassa</name>
25
+ <version>1.0.7</version>
26
+ <descr>
27
+ <ru_RU><![CDATA[Платёжный модуль Robokassa. Позволяет использовать сервис приёма платежей Robokassa (robokassa.ru) на вашем Magento сайте.]]>
28
+ </ru_RU>
29
+ <en_US><![CDATA[Payment extension Robokassa. Allows to use payment service Robokassa (robokassa.ru) on your Magento site.]]>
30
+ </en_US>
31
+ </descr>
32
+ <permanentlink>
33
+ <ru_RU>http://shop.etwebsolutions.com/rus/et-payment-robokassa.html</ru_RU>
34
+ <en_US>http://shop.etwebsolutions.com/eng/et-payment-robokassa.html</en_US>
35
+ </permanentlink>
36
+ <license>
37
+ <ru_RU><![CDATA[ETWS Свободная лицензия (EFL1)]]></ru_RU>
38
+ <en_US><![CDATA[ETWS Free License (EFL1)]]></en_US>
39
+ </license>
40
+ <licenselink>
41
+ <ru_RU>http://shop.etwebsolutions.com/rus/etws-license-free-v1</ru_RU>
42
+ <en_US>http://shop.etwebsolutions.com/eng/etws-license-free-v1</en_US>
43
+ </licenselink>
44
+ <redminelink>http://support.etwebsolutions.com/projects/et-payment-robokassa/roadmap</redminelink>
45
+ <ourserviceslink>
46
+ <ru_RU>http://shop.etwebsolutions.com/rus/our-services</ru_RU>
47
+ <en_US>http://shop.etwebsolutions.com/eng/our-services</en_US>
48
+ </ourserviceslink>
49
+ </ET_PaymentRobokassa>
50
+ </modules>
51
+
52
+ <global>
53
+ <helpers>
54
+ <etpaymentrobokassa>
55
+ <class>ET_PaymentRobokassa_Helper</class>
56
+ </etpaymentrobokassa>
57
+ </helpers>
58
+
59
+ <blocks>
60
+ <etpaymentrobokassa>
61
+ <class>ET_PaymentRobokassa_Block</class>
62
+ </etpaymentrobokassa>
63
+ </blocks>
64
+
65
+ <models>
66
+ <etpaymentrobokassa>
67
+ <class>ET_PaymentRobokassa_Model</class>
68
+ <resourceModel>etpaymentrobokassa_mysql4</resourceModel>
69
+ </etpaymentrobokassa>
70
+ </models>
71
+ <resources>
72
+ <etpaymentrobokassa_setup>
73
+ <setup>
74
+ <module>ET_PaymentRobokassa</module>
75
+ <class>Mage_Sales_Model_Mysql4_Setup</class>
76
+ </setup>
77
+ <connection>
78
+ <use>core_setup</use>
79
+ </connection>
80
+ </etpaymentrobokassa_setup>
81
+ <etpaymentrobokassa_write>
82
+ <connection>
83
+ <use>core_write</use>
84
+ </connection>
85
+ </etpaymentrobokassa_write>
86
+ <etpaymentrobokassa_read>
87
+ <connection>
88
+ <use>core_read</use>
89
+ </connection>
90
+ </etpaymentrobokassa_read>
91
+ </resources>
92
+
93
+ <sales>
94
+ <order>
95
+ <statuses>
96
+ <waiting_robokassa translate="label"><label>Waiting Robokassa payment</label></waiting_robokassa>
97
+ <paid_robokassa translate="label"><label>Paid by Robokassa</label></paid_robokassa>
98
+ <error_robokassa translate="label"><label>Error data from Robokassa</label></error_robokassa>
99
+ </statuses>
100
+ <states>
101
+ <new>
102
+ <statuses>
103
+ <waiting_robokassa/>
104
+ <error_robokassa/>
105
+ </statuses>
106
+ <visible_on_front/>
107
+ </new>
108
+ <processing translate="label">
109
+ <label>Processing</label>
110
+ <statuses>
111
+ <paid_robokassa/>
112
+ </statuses>
113
+ <visible_on_front/>
114
+ </processing>
115
+ </states>
116
+ </order>
117
+ </sales>
118
+ <events>
119
+ <controller_front_init_routers>
120
+ <observers>
121
+ <etrobokassa>
122
+ <class>ET_PaymentRobokassa_Controller_Router</class>
123
+ <method>initControllerRouters</method>
124
+ </etrobokassa>
125
+ </observers>
126
+ </controller_front_init_routers>
127
+ </events>
128
+ </global>
129
+
130
+ <frontend>
131
+ <translate>
132
+ <modules>
133
+ <ET_PaymentRobokassa>
134
+ <files>
135
+ <default>ET_PaymentRobokassa.csv</default>
136
+ </files>
137
+ </ET_PaymentRobokassa>
138
+ </modules>
139
+ </translate>
140
+ <routers>
141
+ <etpaymentrobokassa>
142
+ <use>standard</use>
143
+ <args>
144
+ <module>ET_PaymentRobokassa</module>
145
+ <frontName>etpaymentrobokassa</frontName>
146
+ </args>
147
+ </etpaymentrobokassa>
148
+ </routers>
149
+ </frontend>
150
+
151
+ <adminhtml>
152
+ <acl>
153
+ <resources>
154
+ <admin>
155
+ <children>
156
+ <system>
157
+ <children>
158
+ <config>
159
+ <children>
160
+ <etpaymentrobokassa translate="title" module="etpaymentrobokassa">
161
+ <title>ET Payment Robokassa Section</title>
162
+ <sort_order>400</sort_order>
163
+ </etpaymentrobokassa>
164
+ </children>
165
+ </config>
166
+ </children>
167
+ </system>
168
+ </children>
169
+ </admin>
170
+ </resources>
171
+ </acl>
172
+ <translate>
173
+ <modules>
174
+ <ET_PaymentRobokassa>
175
+ <files>
176
+ <default>ET_PaymentRobokassa.csv</default>
177
+ </files>
178
+ </ET_PaymentRobokassa>
179
+ </modules>
180
+ </translate>
181
+ </adminhtml>
182
+
183
+ <default>
184
+ <payment>
185
+ <etrobokassa>
186
+ <active>0</active>
187
+ <title>Сервис приёма платежей Робокасса</title>
188
+ <payment_text><![CDATA[Платите с помощью банковских карт, в любой электронной валюте, с помощью сервисов мобильной коммерции (МТС, Мегафон, Билайн), платежи через интернет-банк ведущих Банков РФ, платежи через банкоматы, через терминалы мгновенной оплаты, через систему денежных переводов Contact.]]></payment_text>
189
+ <cart_refill>0</cart_refill>
190
+ <allowspecific>0</allowspecific>
191
+ <order_status>waiting_robokassa</order_status>
192
+ <model>etpaymentrobokassa/method_etrobokassa</model>
193
+ <order_status>waiting_robokassa</order_status>
194
+ <test_mode>0</test_mode>
195
+ <enable_log>1</enable_log>
196
+ <sInvDesc>Покупка в интернет магазине</sInvDesc>
197
+ <result_url>http://example.com/etrobokassa/status</result_url>
198
+ <success_url>http://example.com/etrobokassa/success</success_url>
199
+ <fail_url>http://example.com/etrobokassa/failure</fail_url>
200
+ <documentation_link>&lt;a href="http://shop.etwebsolutions.com/eng/et-payment-robokassa.html#documentation"&gt;http://shop.etwebsolutions.com/eng/et-payment-robokassa.html#documentation&lt;a&gt;</documentation_link>
201
+ </etrobokassa>
202
+ </payment>
203
+ </default>
204
+ </config>
app/code/community/ET/PaymentRobokassa/etc/system.xml CHANGED
@@ -1,299 +1,316 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * NOTICE OF LICENSE
5
- *
6
- * You may not sell, sub-license, rent or lease
7
- * any portion of the Software or Documentation to anyone.
8
- *
9
- * DISCLAIMER
10
- *
11
- * Do not edit or add to this file if you wish to upgrade to newer
12
- * versions in the future.
13
- *
14
- * @category ET
15
- * @package ET_PaymentRobokassa
16
- * @copyright Copyright (c) 2013 ET Web Solutions (http://etwebsolutions.com)
17
- * @contacts support@etwebsolutions.com
18
- * @license http://shop.etwebsolutions.com/etws-license-free-v1/ ETWS Free License (EFL1)
19
- */
20
- -->
21
- <config>
22
- <tabs>
23
- <etall translate="label">
24
- <label>ET Extensions</label>
25
- <sort_order>400</sort_order>
26
- </etall>
27
- </tabs>
28
-
29
- <sections>
30
- <etpaymentrobokassa translate="label" module="etpaymentrobokassa">
31
- <label>Payment Robokassa</label>
32
- <tab>etall</tab>
33
- <frontend_type>text</frontend_type>
34
- <sort_order>300</sort_order>
35
- <show_in_default>1</show_in_default>
36
- <show_in_website>1</show_in_website>
37
- <show_in_store>1</show_in_store>
38
- <groups>
39
- <info translate="label">
40
- <label>Payment Robokassa information</label>
41
- <sort_order>1</sort_order>
42
- <show_in_default>1</show_in_default>
43
- <show_in_website>1</show_in_website>
44
- <show_in_store>1</show_in_store>
45
- <fields>
46
- <support_information>
47
- <frontend_model>etpaymentrobokassa/adminhtml_support</frontend_model>
48
- <sort_order>100</sort_order>
49
- <show_in_default>1</show_in_default>
50
- <show_in_website>1</show_in_website>
51
- <show_in_store>1</show_in_store>
52
- </support_information>
53
- </fields>
54
- </info>
55
- <general translate="label comment" module="etpaymentrobokassa">
56
- <label>Payment Robokassa Options</label>
57
- <frontend_type>text</frontend_type>
58
- <sort_order>10</sort_order>
59
- <show_in_default>1</show_in_default>
60
- <show_in_website>1</show_in_website>
61
- <show_in_store>1</show_in_store>
62
- <fields>
63
- <linktooptions translate="label comment">
64
- <label>Settings</label>
65
- <comment><![CDATA[Extension options available in System -> Configuration -> Sales -> Payment Methods -> Robokassa by ET Web Solutions]]></comment>
66
- <frontend_type>label</frontend_type>
67
- <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_linktooptions</frontend_model>
68
- <sort_order>100</sort_order>
69
- <show_in_default>1</show_in_default>
70
- <show_in_website>1</show_in_website>
71
- <show_in_store>1</show_in_store>
72
- </linktooptions>
73
- </fields>
74
- </general>
75
- </groups>
76
- </etpaymentrobokassa>
77
-
78
- <payment translate="label" module="etpaymentrobokassa">
79
- <groups>
80
- <etrobokassa translate="label" module="etpaymentrobokassa">
81
- <label>Robokassa by ET Web Solutions</label>
82
- <frontend_type>text</frontend_type>
83
- <sort_order>1</sort_order>
84
- <show_in_default>1</show_in_default>
85
- <show_in_website>1</show_in_website>
86
- <show_in_store>1</show_in_store>
87
- <fields>
88
- <linktoinfo translate="label">
89
- <label>ET Payment Robokassa</label>
90
- <frontend_type>label</frontend_type>
91
- <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_linktoinfo</frontend_model>
92
- <sort_order>1</sort_order>
93
- <show_in_default>1</show_in_default>
94
- <show_in_website>1</show_in_website>
95
- <show_in_store>1</show_in_store>
96
- </linktoinfo>
97
- <active translate="label">
98
- <label>Enabled</label>
99
- <frontend_type>select</frontend_type>
100
- <source_model>adminhtml/system_config_source_yesno</source_model>
101
- <sort_order>10</sort_order>
102
- <show_in_default>1</show_in_default>
103
- <show_in_website>1</show_in_website>
104
- <show_in_store>0</show_in_store>
105
- </active>
106
- <title translate="label">
107
- <label>Title</label>
108
- <frontend_type>text</frontend_type>
109
- <sort_order>20</sort_order>
110
- <show_in_default>1</show_in_default>
111
- <show_in_website>1</show_in_website>
112
- <show_in_store>1</show_in_store>
113
- </title>
114
- <payment_text translate="label">
115
- <label>Description</label>
116
- <frontend_type>textarea</frontend_type>
117
- <sort_order>30</sort_order>
118
- <show_in_default>1</show_in_default>
119
- <show_in_website>1</show_in_website>
120
- <show_in_store>1</show_in_store>
121
- </payment_text>
122
- <sort_order translate="label">
123
- <label>Sort order</label>
124
- <frontend_type>text</frontend_type>
125
- <sort_order>40</sort_order>
126
- <show_in_default>1</show_in_default>
127
- <show_in_website>1</show_in_website>
128
- <show_in_store>1</show_in_store>
129
- </sort_order>
130
-
131
- <heading_robokassa translate="label">
132
- <label>Robokassa Gateway options</label>
133
- <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_heading</frontend_model>
134
- <sort_order>100</sort_order>
135
- <show_in_default>1</show_in_default>
136
- <show_in_website>1</show_in_website>
137
- </heading_robokassa>
138
- <test_mode translate="label comment">
139
- <label>Test Mode</label>
140
- <comment><![CDATA[If Enabled - module will connect Robokassa test server for transactions. This server available only for new merchants (not activated).]]></comment>
141
- <frontend_type>select</frontend_type>
142
- <source_model>adminhtml/system_config_source_yesno</source_model>
143
- <sort_order>110</sort_order>
144
- <show_in_default>1</show_in_default>
145
- <show_in_website>1</show_in_website>
146
- <show_in_store>0</show_in_store>
147
- </test_mode>
148
- <enable_log translate="label comment">
149
- <label>Debug Mode</label>
150
- <comment><![CDATA[If Enabled - technical information records into a log file /var/log/et_robokassa.log]]></comment>
151
- <frontend_type>select</frontend_type>
152
- <source_model>adminhtml/system_config_source_yesno</source_model>
153
- <sort_order>115</sort_order>
154
- <show_in_default>1</show_in_default>
155
- <show_in_website>0</show_in_website>
156
- <show_in_store>0</show_in_store>
157
- </enable_log>
158
-
159
- <sMerchantLogin translate="label comment">
160
- <label>Merchant Login</label>
161
- <comment><![CDATA[Merchant login of Robokassa merchant account]]></comment>
162
- <frontend_type>text</frontend_type>
163
- <sort_order>120</sort_order>
164
- <show_in_default>1</show_in_default>
165
- <show_in_website>1</show_in_website>
166
- </sMerchantLogin>
167
-
168
- <sMerchantPass1 translate="label comment">
169
- <label>Merchant Pass #1</label>
170
- <comment><![CDATA[Password #1 in administration section of Robokassa merchant account]]></comment>
171
- <frontend_type>obscure</frontend_type>
172
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
173
- <sort_order>130</sort_order>
174
- <show_in_default>1</show_in_default>
175
- <show_in_website>1</show_in_website>
176
- </sMerchantPass1>
177
-
178
- <sMerchantPass2 translate="label comment">
179
- <label>Merchant Pass #2</label>
180
- <comment><![CDATA[Password #2 in administration section of Robokassa merchant account]]></comment>
181
- <frontend_type>obscure</frontend_type>
182
- <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
183
- <sort_order>140</sort_order>
184
- <show_in_default>1</show_in_default>
185
- <show_in_website>1</show_in_website>
186
- </sMerchantPass2>
187
-
188
- <sCulture translate="label comment">
189
- <label>Language</label>
190
- <comment><![CDATA[Language on Payment Robokassa website]]></comment>
191
- <frontend_type>select</frontend_type>
192
- <source_model>etpaymentrobokassa/culture</source_model>
193
- <sort_order>150</sort_order>
194
- <show_in_default>1</show_in_default>
195
- <show_in_website>1</show_in_website>
196
- <show_in_store>1</show_in_store>
197
- </sCulture>
198
-
199
- <sInvDesc>
200
- <label>Order description</label>
201
- <comment><![CDATA[Order description on Payment Robokassa website]]></comment>
202
- <frontend_type>text</frontend_type>
203
- <sort_order>160</sort_order>
204
- <show_in_default>1</show_in_default>
205
- <show_in_website>1</show_in_website>
206
- <show_in_store>1</show_in_store>
207
- </sInvDesc>
208
-
209
- <sIncCurrLabel translate="label comment">
210
- <label>Payment System</label>
211
- <comment><![CDATA[Default payment system. Customer can choose other payment system on Robokassa website. If you do not know what to choose, keep the default value - Any.]]></comment>
212
- <frontend_type>select</frontend_type>
213
- <source_model>etpaymentrobokassa/paysystem</source_model>
214
- <sort_order>170</sort_order>
215
- <show_in_default>1</show_in_default>
216
- <show_in_website>1</show_in_website>
217
- <show_in_store>1</show_in_store>
218
- </sIncCurrLabel>
219
-
220
- <heading_restrictions translate="label">
221
- <label>Restrictions</label>
222
- <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_heading</frontend_model>
223
- <sort_order>700</sort_order>
224
- <show_in_default>1</show_in_default>
225
- <show_in_website>1</show_in_website>
226
- </heading_restrictions>
227
- <allowspecific translate="label">
228
- <label>Payment from Applicable Countries</label>
229
- <frontend_type>allowspecific</frontend_type>
230
- <sort_order>710</sort_order>
231
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
232
- <show_in_default>1</show_in_default>
233
- <show_in_website>1</show_in_website>
234
- <show_in_store>0</show_in_store>
235
- </allowspecific>
236
- <specificcountry translate="label">
237
- <label>Payment from Specific Countries</label>
238
- <frontend_type>multiselect</frontend_type>
239
- <sort_order>720</sort_order>
240
- <source_model>adminhtml/system_config_source_country</source_model>
241
- <show_in_default>1</show_in_default>
242
- <show_in_website>1</show_in_website>
243
- <show_in_store>0</show_in_store>
244
- <!--depends><allowspecific>1</allowspecific></depends-->
245
- </specificcountry>
246
- <min_order_total translate="label">
247
- <label>Minimum Order Total</label>
248
- <frontend_type>text</frontend_type>
249
- <sort_order>730</sort_order>
250
- <show_in_default>1</show_in_default>
251
- <show_in_website>1</show_in_website>
252
- <show_in_store>0</show_in_store>
253
- </min_order_total>
254
- <max_order_total translate="label">
255
- <label>Maximum Order Total</label>
256
- <frontend_type>text</frontend_type>
257
- <sort_order>740</sort_order>
258
- <show_in_default>1</show_in_default>
259
- <show_in_website>1</show_in_website>
260
- <show_in_store>0</show_in_store>
261
- </max_order_total>
262
-
263
- <heading_ordercart translate="label">
264
- <label>Order and Shopping Cart</label>
265
- <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_heading</frontend_model>
266
- <sort_order>810</sort_order>
267
- <show_in_default>1</show_in_default>
268
- <show_in_website>1</show_in_website>
269
- </heading_ordercart>
270
- <order_status translate="label">
271
- <label>New Order Status</label>
272
- <comment><![CDATA[Order will receive this status right after creation. Status will be changed the moment payment is received.]]></comment>
273
- <frontend_type>select</frontend_type>
274
- <source_model>adminhtml/system_config_source_order_status_new</source_model>
275
- <sort_order>820</sort_order>
276
- <show_in_default>1</show_in_default>
277
- <show_in_website>1</show_in_website>
278
- <show_in_store>0</show_in_store>
279
- </order_status>
280
- <cart_refill translate="label comment">
281
- <label>Do not empty Cart</label>
282
- <comment><![CDATA[If Yes - Shopping cart will be refilled if payment failed.]]></comment>
283
- <frontend_type>select</frontend_type>
284
- <source_model>adminhtml/system_config_source_yesno</source_model>
285
- <sort_order>830</sort_order>
286
- <show_in_default>1</show_in_default>
287
- <show_in_website>1</show_in_website>
288
- <show_in_store>0</show_in_store>
289
- </cart_refill>
290
- </fields>
291
- </etrobokassa>
292
- </groups>
293
- </payment>
294
- </sections>
295
- </config>
296
-
297
-
298
-
299
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * You may not sell, sub-license, rent or lease
7
+ * any portion of the Software or Documentation to anyone.
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade to newer
12
+ * versions in the future.
13
+ *
14
+ * @category ET
15
+ * @package ET_PaymentRobokassa
16
+ * @copyright Copyright (c) 2013 ET Web Solutions (http://etwebsolutions.com)
17
+ * @contacts support@etwebsolutions.com
18
+ * @license http://shop.etwebsolutions.com/etws-license-free-v1/ ETWS Free License (EFL1)
19
+ */
20
+ -->
21
+ <config>
22
+ <tabs>
23
+ <etall translate="label">
24
+ <label>ET Extensions</label>
25
+ <sort_order>400</sort_order>
26
+ </etall>
27
+ </tabs>
28
+
29
+ <sections>
30
+ <etpaymentrobokassa translate="label" module="etpaymentrobokassa">
31
+ <label>Payment Robokassa</label>
32
+ <tab>etall</tab>
33
+ <frontend_type>text</frontend_type>
34
+ <sort_order>300</sort_order>
35
+ <show_in_default>1</show_in_default>
36
+ <show_in_website>1</show_in_website>
37
+ <show_in_store>1</show_in_store>
38
+ <groups>
39
+ <info translate="label">
40
+ <label>Payment Robokassa information</label>
41
+ <sort_order>1</sort_order>
42
+ <show_in_default>1</show_in_default>
43
+ <show_in_website>1</show_in_website>
44
+ <show_in_store>1</show_in_store>
45
+ <fields>
46
+ <support_information>
47
+ <frontend_model>etpaymentrobokassa/adminhtml_support</frontend_model>
48
+ <sort_order>100</sort_order>
49
+ <show_in_default>1</show_in_default>
50
+ <show_in_website>1</show_in_website>
51
+ <show_in_store>1</show_in_store>
52
+ </support_information>
53
+ </fields>
54
+ </info>
55
+ <general translate="label comment" module="etpaymentrobokassa">
56
+ <label>Payment Robokassa Options</label>
57
+ <frontend_type>text</frontend_type>
58
+ <sort_order>10</sort_order>
59
+ <show_in_default>1</show_in_default>
60
+ <show_in_website>1</show_in_website>
61
+ <show_in_store>1</show_in_store>
62
+ <fields>
63
+ <linktooptions translate="label comment">
64
+ <label>Settings</label>
65
+ <comment><![CDATA[Extension options available in System -> Configuration -> Sales -> Payment Methods -> Robokassa by ET Web Solutions]]></comment>
66
+ <frontend_type>label</frontend_type>
67
+ <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_linktooptions</frontend_model>
68
+ <sort_order>100</sort_order>
69
+ <show_in_default>1</show_in_default>
70
+ <show_in_website>1</show_in_website>
71
+ <show_in_store>1</show_in_store>
72
+ </linktooptions>
73
+ </fields>
74
+ </general>
75
+ </groups>
76
+ </etpaymentrobokassa>
77
+
78
+ <payment translate="label" module="etpaymentrobokassa">
79
+ <groups>
80
+ <etrobokassa translate="label" module="etpaymentrobokassa">
81
+ <label>Robokassa by ET Web Solutions</label>
82
+ <frontend_type>text</frontend_type>
83
+ <sort_order>1</sort_order>
84
+ <show_in_default>1</show_in_default>
85
+ <show_in_website>1</show_in_website>
86
+ <show_in_store>1</show_in_store>
87
+ <fields>
88
+ <linktoinfo translate="label">
89
+ <label>ET Payment Robokassa</label>
90
+ <frontend_type>label</frontend_type>
91
+ <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_linktoinfo</frontend_model>
92
+ <sort_order>1</sort_order>
93
+ <show_in_default>1</show_in_default>
94
+ <show_in_website>1</show_in_website>
95
+ <show_in_store>1</show_in_store>
96
+ </linktoinfo>
97
+ <active translate="label">
98
+ <label>Enabled</label>
99
+ <frontend_type>select</frontend_type>
100
+ <source_model>adminhtml/system_config_source_yesno</source_model>
101
+ <sort_order>10</sort_order>
102
+ <show_in_default>1</show_in_default>
103
+ <show_in_website>1</show_in_website>
104
+ <show_in_store>0</show_in_store>
105
+ </active>
106
+ <title translate="label">
107
+ <label>Title</label>
108
+ <frontend_type>text</frontend_type>
109
+ <sort_order>20</sort_order>
110
+ <show_in_default>1</show_in_default>
111
+ <show_in_website>1</show_in_website>
112
+ <show_in_store>1</show_in_store>
113
+ </title>
114
+ <payment_text translate="label">
115
+ <label>Description</label>
116
+ <frontend_type>textarea</frontend_type>
117
+ <sort_order>30</sort_order>
118
+ <show_in_default>1</show_in_default>
119
+ <show_in_website>1</show_in_website>
120
+ <show_in_store>1</show_in_store>
121
+ </payment_text>
122
+ <sort_order translate="label">
123
+ <label>Sort order</label>
124
+ <frontend_type>text</frontend_type>
125
+ <sort_order>40</sort_order>
126
+ <show_in_default>1</show_in_default>
127
+ <show_in_website>1</show_in_website>
128
+ <show_in_store>1</show_in_store>
129
+ </sort_order>
130
+
131
+ <heading_robokassa translate="label">
132
+ <label>Robokassa Gateway options</label>
133
+ <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_heading</frontend_model>
134
+ <sort_order>100</sort_order>
135
+ <show_in_default>1</show_in_default>
136
+ <show_in_website>1</show_in_website>
137
+ </heading_robokassa>
138
+ <test_mode translate="label comment">
139
+ <label>Test Mode</label>
140
+ <comment><![CDATA[If Enabled - module will connect Robokassa test server for transactions. This server available only for new merchants (not activated).]]></comment>
141
+ <frontend_type>select</frontend_type>
142
+ <source_model>adminhtml/system_config_source_yesno</source_model>
143
+ <sort_order>110</sort_order>
144
+ <show_in_default>1</show_in_default>
145
+ <show_in_website>1</show_in_website>
146
+ <show_in_store>0</show_in_store>
147
+ </test_mode>
148
+ <enable_log translate="label comment">
149
+ <label>Debug Mode</label>
150
+ <comment><![CDATA[If Enabled - technical information records into a log file /var/log/et_robokassa.log]]></comment>
151
+ <frontend_type>select</frontend_type>
152
+ <source_model>adminhtml/system_config_source_yesno</source_model>
153
+ <sort_order>115</sort_order>
154
+ <show_in_default>1</show_in_default>
155
+ <show_in_website>0</show_in_website>
156
+ <show_in_store>0</show_in_store>
157
+ </enable_log>
158
+
159
+ <sMerchantLogin translate="label comment">
160
+ <label>Merchant Login</label>
161
+ <comment><![CDATA[Merchant login of Robokassa merchant account]]></comment>
162
+ <frontend_type>text</frontend_type>
163
+ <sort_order>120</sort_order>
164
+ <show_in_default>1</show_in_default>
165
+ <show_in_website>1</show_in_website>
166
+ </sMerchantLogin>
167
+
168
+ <sMerchantPass1 translate="label comment">
169
+ <label>Merchant Pass #1</label>
170
+ <comment><![CDATA[Password #1 in administration section of Robokassa merchant account]]></comment>
171
+ <frontend_type>obscure</frontend_type>
172
+ <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
173
+ <sort_order>130</sort_order>
174
+ <show_in_default>1</show_in_default>
175
+ <show_in_website>1</show_in_website>
176
+ </sMerchantPass1>
177
+
178
+ <sMerchantPass2 translate="label comment">
179
+ <label>Merchant Pass #2</label>
180
+ <comment><![CDATA[Password #2 in administration section of Robokassa merchant account]]></comment>
181
+ <frontend_type>obscure</frontend_type>
182
+ <backend_model>adminhtml/system_config_backend_encrypted</backend_model>
183
+ <sort_order>140</sort_order>
184
+ <show_in_default>1</show_in_default>
185
+ <show_in_website>1</show_in_website>
186
+ </sMerchantPass2>
187
+
188
+ <sCulture translate="label comment">
189
+ <label>Language</label>
190
+ <comment><![CDATA[Language on Payment Robokassa website]]></comment>
191
+ <frontend_type>select</frontend_type>
192
+ <source_model>etpaymentrobokassa/culture</source_model>
193
+ <sort_order>150</sort_order>
194
+ <show_in_default>1</show_in_default>
195
+ <show_in_website>1</show_in_website>
196
+ <show_in_store>1</show_in_store>
197
+ </sCulture>
198
+
199
+ <sInvDesc>
200
+ <label>Order description</label>
201
+ <comment><![CDATA[Order description on Payment Robokassa website]]></comment>
202
+ <frontend_type>text</frontend_type>
203
+ <sort_order>160</sort_order>
204
+ <show_in_default>1</show_in_default>
205
+ <show_in_website>1</show_in_website>
206
+ <show_in_store>1</show_in_store>
207
+ </sInvDesc>
208
+
209
+ <sIncCurrLabel translate="label comment">
210
+ <label>Payment System</label>
211
+ <comment><![CDATA[Default payment system. Customer can choose other payment system on Robokassa website. If you do not know what to choose, keep the default value - Any.]]></comment>
212
+ <frontend_type>select</frontend_type>
213
+ <source_model>etpaymentrobokassa/paysystem</source_model>
214
+ <sort_order>170</sort_order>
215
+ <show_in_default>1</show_in_default>
216
+ <show_in_website>1</show_in_website>
217
+ <show_in_store>1</show_in_store>
218
+ </sIncCurrLabel>
219
+
220
+ <callback_urls translate="label">
221
+ <label>Callback URLs</label>
222
+ <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_callbackUrls</frontend_model>
223
+ <sort_order>200</sort_order>
224
+ <show_in_default>1</show_in_default>
225
+ <show_in_website>1</show_in_website>
226
+ <show_in_store>1</show_in_store>
227
+ </callback_urls>
228
+
229
+ <heading_restrictions translate="label">
230
+ <label>Restrictions</label>
231
+ <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_heading</frontend_model>
232
+ <sort_order>700</sort_order>
233
+ <show_in_default>1</show_in_default>
234
+ <show_in_website>1</show_in_website>
235
+ </heading_restrictions>
236
+
237
+ <heading_restrictions translate="label">
238
+ <label>Restrictions</label>
239
+ <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_heading</frontend_model>
240
+ <sort_order>700</sort_order>
241
+ <show_in_default>1</show_in_default>
242
+ <show_in_website>1</show_in_website>
243
+ </heading_restrictions>
244
+ <allowspecific translate="label">
245
+ <label>Payment from Applicable Countries</label>
246
+ <frontend_type>allowspecific</frontend_type>
247
+ <sort_order>710</sort_order>
248
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
249
+ <show_in_default>1</show_in_default>
250
+ <show_in_website>1</show_in_website>
251
+ <show_in_store>0</show_in_store>
252
+ </allowspecific>
253
+ <specificcountry translate="label">
254
+ <label>Payment from Specific Countries</label>
255
+ <frontend_type>multiselect</frontend_type>
256
+ <sort_order>720</sort_order>
257
+ <source_model>adminhtml/system_config_source_country</source_model>
258
+ <show_in_default>1</show_in_default>
259
+ <show_in_website>1</show_in_website>
260
+ <show_in_store>0</show_in_store>
261
+ <!--depends><allowspecific>1</allowspecific></depends-->
262
+ </specificcountry>
263
+ <min_order_total translate="label">
264
+ <label>Minimum Order Total</label>
265
+ <frontend_type>text</frontend_type>
266
+ <sort_order>730</sort_order>
267
+ <show_in_default>1</show_in_default>
268
+ <show_in_website>1</show_in_website>
269
+ <show_in_store>0</show_in_store>
270
+ </min_order_total>
271
+ <max_order_total translate="label">
272
+ <label>Maximum Order Total</label>
273
+ <frontend_type>text</frontend_type>
274
+ <sort_order>740</sort_order>
275
+ <show_in_default>1</show_in_default>
276
+ <show_in_website>1</show_in_website>
277
+ <show_in_store>0</show_in_store>
278
+ </max_order_total>
279
+
280
+ <heading_ordercart translate="label">
281
+ <label>Order and Shopping Cart</label>
282
+ <frontend_model>etpaymentrobokassa/adminhtml_system_config_form_field_heading</frontend_model>
283
+ <sort_order>810</sort_order>
284
+ <show_in_default>1</show_in_default>
285
+ <show_in_website>1</show_in_website>
286
+ </heading_ordercart>
287
+ <order_status translate="label">
288
+ <label>New Order Status</label>
289
+ <comment><![CDATA[Order will receive this status right after creation. Status will be changed the moment payment is received.]]></comment>
290
+ <frontend_type>select</frontend_type>
291
+ <source_model>adminhtml/system_config_source_order_status_new</source_model>
292
+ <sort_order>820</sort_order>
293
+ <show_in_default>1</show_in_default>
294
+ <show_in_website>1</show_in_website>
295
+ <show_in_store>0</show_in_store>
296
+ </order_status>
297
+ <cart_refill translate="label comment">
298
+ <label>Do not empty Cart</label>
299
+ <comment><![CDATA[If Yes - Shopping cart will be refilled if payment failed.]]></comment>
300
+ <frontend_type>select</frontend_type>
301
+ <source_model>adminhtml/system_config_source_yesno</source_model>
302
+ <sort_order>830</sort_order>
303
+ <show_in_default>1</show_in_default>
304
+ <show_in_website>1</show_in_website>
305
+ <show_in_store>0</show_in_store>
306
+ </cart_refill>
307
+ </fields>
308
+ </etrobokassa>
309
+ </groups>
310
+ </payment>
311
+ </sections>
312
+ </config>
313
+
314
+
315
+
316
+
app/locale/ru_RU/ET_PaymentRobokassa.csv CHANGED
@@ -1,64 +1,70 @@
1
- "Extension:","Модуль:"
2
- "<strong>%s</strong> (version %s)","<strong>%s</strong> (версия %s)"
3
- "License:","Лицензия:"
4
- "Short Description:","Краткое описание:"
5
- "Documentation:","Документация:"
6
- "Support:","Поддержка:"
7
- "Advertisement:","Реклама:"
8
- "You can see description of extension features and answers to the frequently asked questions on <a href=""%s"" target=""_balnk"">our website</a>.","Описание позможностей модуля и ответы на часто задаваемые вопросы смотрите на <a href=""%s"" target=""_balnk"">нашем сайте</a>."
9
- "You can hire our team to customize the extension. E-mail us on sales@etwebsolutions.com.<br><br>You can see a list of provided services on <a href=""%s"" target=""_blank"">our website</a>.","Вы можете нанять нашу команду для любых работ по модификации модуля. Пишите на адрес sales@etwebsolutions.com.<br><br>Со списком предоставляемых нами услуг вы можете ознакомиться <a href=""%s"" target=""_blank"">на нашем сайте</a>."
10
- "Extension support is available through <a href=""%s"" target=""_blank"">issue tracking system</a>.<br>You can see information freely, but you will have to sign up to open a ticket.<br><br>Please, report all bugs and feature requests that are related to this extension.<br><br>If by some reason you can not submit a question, bug report or feature request to our ticket system, you can write us an email - support@etwebsolutions.com.","Поддержка модуля осуществляется через <a href=""%s"" target=""_blank"">систему отслеживания заданий</a>.<br>Для создания задачи будет необходимо зарегистрироваться. Для просмотра информации регистрация не требуется.<br><br>Пожалуйста, сообщайте нам о найденных ошибках и о своих пожеланиях в рамках этого модуля.<br><br>Если по каким-либо причинам вы не можете размеситить вопрос/сообщение об ошибке/пожелание в списке задач, то можете написать нам по адресу support@etwebsolutions.com."
11
-
12
- "Payment Robokassa information","Информация о платёжном модуле Робокасса"
13
- "Payment Robokassa Options","Настройки модуля Робокасса"
14
- "Settings","Настройки"
15
- "Go to Payment Methods settings section","Перейти к секции настроек Методов Оплаты"
16
- "Extension options available in System -> Configuration -> Sales -> Payment Methods -> Robokassa by ET Web Solutions","Настройки модуля находятся в Система -> Конфигурация -> Продажи -> Методы оплаты"
17
- "Extension information","Информация о модуле"
18
- "Enabled","Включен"
19
- "Title","Заголовок"
20
- "Description","Описание"
21
- "Sort order","Порядок сортировки"
22
- "Robokassa Gateway options","Настройки соединения с платёжным сервисом Робокасса"
23
- "Test Mode","Тестовый режим"
24
- "If Enabled - module will connect Robokassa test server for transactions. This server available only for new merchants (not activated).","Если включен - модуль будет подключаться к тестовому серверу Робокассы для транзакций. Данный сервер доступен для использования только для новых продавцов (непрошедших процедуру активации)."
25
- "Debug Mode","Режим отладки"
26
- "Merchant Login","Логин продавца"
27
- "If Enabled - technical information records into a log file /var/log/et_robokassa.log","Если включён - ведётся запись технической информации в файл журнала /var/log/et_robokassa.log"
28
- "Merchant login of Robokassa merchant account","Логин продавца в Личный кабинет сервиса по приёму платежей Robokassa"
29
- "Merchant Pass #1","Пароль #1"
30
- "Merchant Pass #2","Пароль #2"
31
- "Password #1 in administration section of Robokassa merchant account","Пароль #1 в разделе администрирования в Личном кабинете продавца Робокассы"
32
- "Password #2 in administration section of Robokassa merchant account","Пароль #2 в разделе администрирования в Личном кабинете продавца Робокассы"
33
- "Language","Язык"
34
- "Language on Payment Robokassa website","Язык общения с клиентом на сайте платёжного сервиса Робокасса"
35
- "Payment System","Платёжная валюта"
36
- "Default payment system. Customer can choose other payment system on Robokassa website. If you do not know what to choose, keep the default value - Any.","Платёжная валюта по умолчанию. Клиент сможет выбрать другую на сайте Робокасса. Если не знаете что выбрать, оставьте значение по умолчанию - Любая."
37
- "Restrictions","Ограничения"
38
- "Payment from Applicable Countries","Оплата из доступных стран"
39
- "Payment from Specific Countries","Оплата из выбранных стран"
40
- "Minimum Order Total","Минимальная сумма заказа"
41
- "Maximum Order Total","Максимальная сумма заказа"
42
- "Order and Shopping Cart","Заказ и корзина"
43
- "New Order Status","Статус нового заказа"
44
- "Do not empty Cart","Не очищать корзину"
45
- "If Yes - Shopping cart will be refilled if payment failed.","Если Да - корзина будет перезаполнена, если оплата не удалась."
46
-
47
- "You will be redirected to payment form in a few seconds.","Вы будете перенаправлены на форму оплаты через несколько секунд."
48
- "Click here, if not redirected for 30 seconds","Нажмите сюда, если вас не перенаправило в течении 30 секунд"
49
- "Customer redirected to payment Gateway Robokassa","Клиент перенаправлен на сайт платёжного сервиса Робокасса для оплаты"
50
- "The amount has been authorized and captured by Robokassa.","Сумма подтверждена и получена платёжным сервисом Робокасса."
51
- "Incorrect order number.","Неправильный номер заказа."
52
- "Payment failed","Оплата не удалась"
53
- "Cannot add the item to shopping cart.","Невозможно добавить товар в корзину."
54
- "English","Английский"
55
- "Russian","Русский"
56
- "All Allowed Countries","Все разрешённые страны"
57
- "Specific Countries","Определённые страны"
58
- "Any","Любая"
59
- "Order description","Описание заказа"
60
- "Order description on Payment Robokassa website","Описание заказа на сайте платёжного сервиса Робокасса"
61
-
62
- "Order will receive this status right after creation. Status will be changed the moment payment is received.","Заказ получит данный статус, как только будет создан. После оплаты заказа статус изменится."
63
- "Incorrect answer. No order number.","Неправильный ответ. Нет номера заказа."
64
- "No answer data.","Нет данных в ответе."
 
 
 
 
 
 
1
+ "Extension:","Модуль:"
2
+ "<strong>%s</strong> (version %s)","<strong>%s</strong> (версия %s)"
3
+ "License:","Лицензия:"
4
+ "Short Description:","Краткое описание:"
5
+ "Documentation:","Документация:"
6
+ "Support:","Поддержка:"
7
+ "Advertisement:","Реклама:"
8
+ "You can see description of extension features and answers to the frequently asked questions on <a href=""%s"" target=""_balnk"">our website</a>.","Описание позможностей модуля и ответы на часто задаваемые вопросы смотрите на <a href=""%s"" target=""_balnk"">нашем сайте</a>."
9
+ "You can hire our team to customize the extension. E-mail us on sales@etwebsolutions.com.<br><br>You can see a list of provided services on <a href=""%s"" target=""_blank"">our website</a>.","Вы можете нанять нашу команду для любых работ по модификации модуля. Пишите на адрес sales@etwebsolutions.com.<br><br>Со списком предоставляемых нами услуг вы можете ознакомиться <a href=""%s"" target=""_blank"">на нашем сайте</a>."
10
+ "Extension support is available through <a href=""%s"" target=""_blank"">issue tracking system</a>.<br>You can see information freely, but you will have to sign up to open a ticket.<br><br>Please, report all bugs and feature requests that are related to this extension.<br><br>If by some reason you can not submit a question, bug report or feature request to our ticket system, you can write us an email - support@etwebsolutions.com.","Поддержка модуля осуществляется через <a href=""%s"" target=""_blank"">систему отслеживания заданий</a>.<br>Для создания задачи будет необходимо зарегистрироваться. Для просмотра информации регистрация не требуется.<br><br>Пожалуйста, сообщайте нам о найденных ошибках и о своих пожеланиях в рамках этого модуля.<br><br>Если по каким-либо причинам вы не можете размеситить вопрос/сообщение об ошибке/пожелание в списке задач, то можете написать нам по адресу support@etwebsolutions.com."
11
+
12
+ "Payment Robokassa information","Информация о платёжном модуле Робокасса"
13
+ "Payment Robokassa Options","Настройки модуля Робокасса"
14
+ "Settings","Настройки"
15
+ "Go to Payment Methods settings section","Перейти к секции настроек Методов Оплаты"
16
+ "Extension options available in System -> Configuration -> Sales -> Payment Methods -> Robokassa by ET Web Solutions","Настройки модуля находятся в Система -> Конфигурация -> Продажи -> Методы оплаты"
17
+ "Extension information","Информация о модуле"
18
+ "Enabled","Включен"
19
+ "Title","Заголовок"
20
+ "Description","Описание"
21
+ "Sort order","Порядок сортировки"
22
+ "Robokassa Gateway options","Настройки соединения с платёжным сервисом Робокасса"
23
+ "Test Mode","Тестовый режим"
24
+ "If Enabled - module will connect Robokassa test server for transactions. This server available only for new merchants (not activated).","Если включен - модуль будет подключаться к тестовому серверу Робокассы для транзакций. Данный сервер доступен для использования только для новых продавцов (непрошедших процедуру активации)."
25
+ "Debug Mode","Режим отладки"
26
+ "Merchant Login","Логин продавца"
27
+ "If Enabled - technical information records into a log file /var/log/et_robokassa.log","Если включён - ведётся запись технической информации в файл журнала /var/log/et_robokassa.log"
28
+ "Merchant login of Robokassa merchant account","Логин продавца в Личный кабинет сервиса по приёму платежей Robokassa"
29
+ "Merchant Pass #1","Пароль #1"
30
+ "Merchant Pass #2","Пароль #2"
31
+ "Password #1 in administration section of Robokassa merchant account","Пароль #1 в разделе администрирования в Личном кабинете продавца Робокассы"
32
+ "Password #2 in administration section of Robokassa merchant account","Пароль #2 в разделе администрирования в Личном кабинете продавца Робокассы"
33
+ "Language","Язык"
34
+ "Language on Payment Robokassa website","Язык общения с клиентом на сайте платёжного сервиса Робокасса"
35
+ "Payment System","Платёжная валюта"
36
+ "Default payment system. Customer can choose other payment system on Robokassa website. If you do not know what to choose, keep the default value - Any.","Платёжная валюта по умолчанию. Клиент сможет выбрать другую на сайте Робокасса. Если не знаете что выбрать, оставьте значение по умолчанию - Любая."
37
+ "Restrictions","Ограничения"
38
+ "Payment from Applicable Countries","Оплата из доступных стран"
39
+ "Payment from Specific Countries","Оплата из выбранных стран"
40
+ "Minimum Order Total","Минимальная сумма заказа"
41
+ "Maximum Order Total","Максимальная сумма заказа"
42
+ "Order and Shopping Cart","Заказ и корзина"
43
+ "New Order Status","Статус нового заказа"
44
+ "Do not empty Cart","Не очищать корзину"
45
+ "If Yes - Shopping cart will be refilled if payment failed.","Если Да - корзина будет перезаполнена, если оплата не удалась."
46
+
47
+ "You will be redirected to payment form in a few seconds.","Вы будете перенаправлены на форму оплаты через несколько секунд."
48
+ "Click here, if not redirected for 30 seconds","Нажмите сюда, если вас не перенаправило в течении 30 секунд"
49
+ "Customer redirected to payment Gateway Robokassa","Клиент перенаправлен на сайт платёжного сервиса Робокасса для оплаты"
50
+ "The amount has been authorized and captured by Robokassa.","Сумма подтверждена и получена платёжным сервисом Робокасса."
51
+ "Incorrect order number.","Неправильный номер заказа."
52
+ "Payment failed","Оплата не удалась"
53
+ "Cannot add the item to shopping cart.","Невозможно добавить товар в корзину."
54
+ "English","Английский"
55
+ "Russian","Русский"
56
+ "All Allowed Countries","Все разрешённые страны"
57
+ "Specific Countries","Определённые страны"
58
+ "Any","Любая"
59
+ "Order description","Описание заказа"
60
+ "Order description on Payment Robokassa website","Описание заказа на сайте платёжного сервиса Робокасса"
61
+
62
+ "Order will receive this status right after creation. Status will be changed the moment payment is received.","Заказ получит данный статус, как только будет создан. После оплаты заказа статус изменится."
63
+ "Incorrect answer. No order number.","Неправильный ответ. Нет номера заказа."
64
+ "No answer data.","Нет данных в ответе."
65
+ "An error has occurred during the checkout process. Please, contact the store owner.","Произошла ошибка во время выполнения заказа. Пожалуйста, свяжитесь с владельцем магазина."
66
+ "Back to the main page","Вернуться на главную страницу"
67
+ "Documentation","Документация"
68
+ "POST or GET data transfer method","Метод передачи данных POST или GET"
69
+ "You have to set callback links for your shop in your account on Robokassa website to make extension work.","Для работы модуля необходимо настроить ссылки возврата на ваш магазин в личном кабинете сервиса Робокасса."
70
+ "Callback URLs","Ссылки возврата"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ET_PaymentRobokassa</name>
4
- <version>1.0.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://shop.etwebsolutions.com/eng/etws-license-free-v1">ETWS Free License (EFL1)</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>_Free payment extension ET Payment Robokassa allows you to use payment gateway Robokassa (robokassa.ru) on your website._</description>
11
  <notes>stable release</notes>
12
  <authors><author><name>Jurij</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author><author><name>Andrej</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author></authors>
13
- <date>2014-11-07</date>
14
- <time>09:53:27</time>
15
- <contents><target name="magecommunity"><dir name="ET"><dir name="PaymentRobokassa"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Heading.php" hash="71c419849070047ca9f024b08ea2cd1e"/><file name="Linktoinfo.php" hash="c4dc4b21897d093dbd9736c3079ce03b"/><file name="Linktooptions.php" hash="687813f8551ed509486fc7da6dc60540"/></dir></dir></dir></dir><file name="Support.php" hash="1e98b88c9d5a482c9f698637f3db0c21"/></dir><dir name="Single"><file name="Form.php" hash="748fa65742a34d66a80209dad81f23ea"/><file name="Info.php" hash="6ca2b3f7f318164f520144419ac3720e"/></dir><file name="Form.php" hash="3f3773311e029601aa6755fd2fc6a7f2"/><file name="Info.php" hash="3fc0ac20cd14002acdf8deff3359c68e"/><file name="Redirect.php" hash="45e05f5cc2869584eb90bd0a05e8fbc1"/></dir><dir name="Controller"><file name="Router.php" hash="8271139fa6af2cd57d6a5f45d767d4a1"/></dir><dir name="Helper"><file name="Data.php" hash="8e427557290d5bee091f3a181af45a4e"/></dir><dir name="Model"><dir name="Method"><file name="Etrobokassa.php" hash="d33e1721a9bb54ea821574771dcc4543"/></dir><file name="Culture.php" hash="1f549bdc0bcb2dcf53b656bcf2bc4677"/><file name="Paysystem.php" hash="dbe855edb31265e13c389fc5d964fc62"/></dir><dir name="controllers"><file name="GateController.php" hash="8a14c909a69b7012d43a0f6fec47a728"/></dir><dir name="etc"><file name="config.xml" hash="7f33f75cd845135bf1c4086137f9cd2e"/><file name="system.xml" hash="75d61cc3824fbc62e4d89c67b320d4fd"/></dir><dir name="sql"><dir name="etpaymentrobokassa_setup"><file name="mysql4-install-1.0.0.php" hash="550cabe108b7453b09d2de7e8720459d"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="ru_RU"><file name="ET_PaymentRobokassa.csv" hash="9df34388c47b662f17b5161e7c3fb242"/></dir><dir name="en_US"><file name="ET_PaymentRobokassa.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="mageetc"><dir name="modules"><file name="ET_PaymentRobokassa.xml" hash="29a6a6d442729714e93aded22ce4b1b2"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="et_paymentrobokassa"><dir name="single"><file name="form.phtml" hash="ffdb96cd7677d5b256a49bb8fe5d9145"/><file name="info.phtml" hash="460b5111ae8b9d78e0a320c5878cc30d"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="et_paymentrobokassa"><dir name="single"><file name="form.phtml" hash="594645a04acfd21185ba89fbc3752f60"/><file name="info.phtml" hash="460b5111ae8b9d78e0a320c5878cc30d"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ET_PaymentRobokassa</name>
4
+ <version>1.0.7</version>
5
  <stability>stable</stability>
6
  <license uri="http://shop.etwebsolutions.com/eng/etws-license-free-v1">ETWS Free License (EFL1)</license>
7
  <channel>community</channel>
10
  <description>_Free payment extension ET Payment Robokassa allows you to use payment gateway Robokassa (robokassa.ru) on your website._</description>
11
  <notes>stable release</notes>
12
  <authors><author><name>Jurij</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author><author><name>Andrej</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author></authors>
13
+ <date>2015-03-27</date>
14
+ <time>07:27:22</time>
15
+ <contents><target name="magecommunity"><dir name="ET"><dir name="PaymentRobokassa"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="CallbackUrls.php" hash="c34ef1dbae6dcfe7adaf4739a08136d6"/><file name="Heading.php" hash="71c419849070047ca9f024b08ea2cd1e"/><file name="Linktoinfo.php" hash="c4dc4b21897d093dbd9736c3079ce03b"/><file name="Linktooptions.php" hash="687813f8551ed509486fc7da6dc60540"/></dir></dir></dir></dir><file name="Support.php" hash="1e98b88c9d5a482c9f698637f3db0c21"/></dir><dir name="Single"><file name="Form.php" hash="748fa65742a34d66a80209dad81f23ea"/><file name="Info.php" hash="6ca2b3f7f318164f520144419ac3720e"/></dir><file name="Error.php" hash="9915cfd47f14285dcacbfc5f82442e78"/><file name="Form.php" hash="3f3773311e029601aa6755fd2fc6a7f2"/><file name="Info.php" hash="3fc0ac20cd14002acdf8deff3359c68e"/><file name="Redirect.php" hash="45e05f5cc2869584eb90bd0a05e8fbc1"/></dir><dir name="Controller"><file name="Router.php" hash="8271139fa6af2cd57d6a5f45d767d4a1"/></dir><dir name="Helper"><file name="Data.php" hash="8e427557290d5bee091f3a181af45a4e"/></dir><dir name="Model"><dir name="Method"><file name="Etrobokassa.php" hash="d33e1721a9bb54ea821574771dcc4543"/></dir><file name="Culture.php" hash="1f549bdc0bcb2dcf53b656bcf2bc4677"/><file name="Paysystem.php" hash="7c081594dc111b4698da9c55be70ecca"/></dir><dir name="controllers"><file name="GateController.php" hash="c286db619b5238b935c5d9276c562646"/></dir><dir name="etc"><file name="config.xml" hash="ee6aacdbc01442e0bc91c1c8d635fb48"/><file name="system.xml" hash="0883de56d65e4732dfe588fda8378338"/></dir><dir name="sql"><dir name="etpaymentrobokassa_setup"><file name="mysql4-install-1.0.0.php" hash="550cabe108b7453b09d2de7e8720459d"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="ru_RU"><file name="ET_PaymentRobokassa.csv" hash="d01d3b5d7c66f80b02053293b3a06ce6"/></dir><dir name="en_US"><file name="ET_PaymentRobokassa.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="mageetc"><dir name="modules"><file name="ET_PaymentRobokassa.xml" hash="29a6a6d442729714e93aded22ce4b1b2"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="et_paymentrobokassa"><dir name="single"><file name="form.phtml" hash="ffdb96cd7677d5b256a49bb8fe5d9145"/><file name="info.phtml" hash="460b5111ae8b9d78e0a320c5878cc30d"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="et_paymentrobokassa"><dir name="single"><file name="form.phtml" hash="594645a04acfd21185ba89fbc3752f60"/><file name="info.phtml" hash="460b5111ae8b9d78e0a320c5878cc30d"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>