Version Notes
stable release
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | ET_PaymentRobokassa |
| Version | 1.1.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.0 to 1.1.1
- app/code/community/ET/PaymentRobokassa/Controller/Router.php +3 -3
- app/code/community/ET/PaymentRobokassa/Helper/Data.php +31 -1
- app/code/community/ET/PaymentRobokassa/Model/Method/Etrobokassa.php +30 -23
- app/code/community/ET/PaymentRobokassa/controllers/GateController.php +3 -8
- app/code/community/ET/PaymentRobokassa/etc/config.xml +12 -4
- package.xml +4 -4
app/code/community/ET/PaymentRobokassa/Controller/Router.php
CHANGED
|
@@ -82,10 +82,10 @@ class ET_PaymentRobokassa_Controller_Router extends Mage_Core_Controller_Varien_
|
|
| 82 |
$allPath[1] = 'gate';
|
| 83 |
|
| 84 |
if ($orderId = $request->getParam("InvId")) {
|
| 85 |
-
Mage::
|
|
|
|
| 86 |
}
|
| 87 |
-
|
| 88 |
-
//exit();
|
| 89 |
$request->setModuleName($this->_moduleName)
|
| 90 |
->setControllerName(isset($allPath[1]) ? $allPath[1] : 'gate')
|
| 91 |
->setActionName(isset($allPath[2]) ? $allPath[2] : 'success');
|
| 82 |
$allPath[1] = 'gate';
|
| 83 |
|
| 84 |
if ($orderId = $request->getParam("InvId")) {
|
| 85 |
+
$order = Mage::helper('etpaymentrobokassa')->getOrder($orderId);
|
| 86 |
+
Mage::app()->getStore()->load($order->getStoreId());
|
| 87 |
}
|
| 88 |
+
|
|
|
|
| 89 |
$request->setModuleName($this->_moduleName)
|
| 90 |
->setControllerName(isset($allPath[1]) ? $allPath[1] : 'gate')
|
| 91 |
->setActionName(isset($allPath[2]) ? $allPath[2] : 'success');
|
app/code/community/ET/PaymentRobokassa/Helper/Data.php
CHANGED
|
@@ -22,7 +22,6 @@
|
|
| 22 |
*/
|
| 23 |
class ET_PaymentRobokassa_Helper_Data extends Mage_Core_Helper_Abstract
|
| 24 |
{
|
| 25 |
-
|
| 26 |
/**
|
| 27 |
* Refilling cart after failed payment
|
| 28 |
*
|
|
@@ -111,4 +110,35 @@ class ET_PaymentRobokassa_Helper_Data extends Mage_Core_Helper_Abstract
|
|
| 111 |
}
|
| 112 |
|
| 113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
}
|
| 22 |
*/
|
| 23 |
class ET_PaymentRobokassa_Helper_Data extends Mage_Core_Helper_Abstract
|
| 24 |
{
|
|
|
|
| 25 |
/**
|
| 26 |
* Refilling cart after failed payment
|
| 27 |
*
|
| 110 |
}
|
| 111 |
|
| 112 |
|
| 113 |
+
/**
|
| 114 |
+
* Extension can use two types of order id, that will be transferred to payment system Robokassa
|
| 115 |
+
* 1 - order internal id (1 - 9999999) - $order->getId();
|
| 116 |
+
* 0 - order incremental id (x00000001) - $order->getIncrementId() - by default
|
| 117 |
+
*
|
| 118 |
+
* @return int
|
| 119 |
+
*/
|
| 120 |
+
public function getIncrementalIdType()
|
| 121 |
+
{
|
| 122 |
+
return (int)Mage::getStoreConfig('payment/etrobokassa/invoice_id_type');
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
/**
|
| 126 |
+
* Gets an order by its internal or incremental id depending on the settings
|
| 127 |
+
*
|
| 128 |
+
* @param string|int $id
|
| 129 |
+
* @return Mage_Sales_Model_Order
|
| 130 |
+
*/
|
| 131 |
+
public function getOrder($id)
|
| 132 |
+
{
|
| 133 |
+
/** @var $order Mage_Sales_Model_Order */
|
| 134 |
+
$order = Mage::getModel("sales/order");
|
| 135 |
+
|
| 136 |
+
if (!$this->getIncrementalIdType()) {
|
| 137 |
+
$order->loadByIncrementId($id);
|
| 138 |
+
} else {
|
| 139 |
+
$order->load($id);
|
| 140 |
+
}
|
| 141 |
+
return $order;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
}
|
app/code/community/ET/PaymentRobokassa/Model/Method/Etrobokassa.php
CHANGED
|
@@ -89,20 +89,14 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 89 |
$this->_isActive = $this->getConfigData('active');
|
| 90 |
$this->_title = $this->getConfigData('title');
|
| 91 |
$this->_testMode = $this->getConfigDataRobo('test_mode');
|
| 92 |
-
$this->_hashType = $this->
|
| 93 |
$this->_paymentText = $this->getConfigData('payment_text');
|
| 94 |
$this->_description = Mage::helper('cms')->getBlockTemplateProcessor()->filter($this->_paymentText);
|
| 95 |
-
|
| 96 |
$this->_sMerchantLogin = $this->getConfigDataRobo('sMerchantLogin');
|
| 97 |
-
|
| 98 |
$this->_sInvDesc = $this->getConfigDataRobo('sInvDesc');
|
| 99 |
-
|
| 100 |
$this->_sIncCurrLabel = $this->getConfigData('sIncCurrLabel');
|
| 101 |
$this->_transferCurrency = Mage::app()->getWebsite()->getBaseCurrencyCode();
|
| 102 |
-
|
| 103 |
$this->_sCulture = $this->getConfigDataRobo('sCulture');
|
| 104 |
-
|
| 105 |
-
|
| 106 |
$passwordFieldOne = 'sMerchantPass1';
|
| 107 |
$passwordFieldTwo = 'sMerchantPass2';
|
| 108 |
if ($this->_testMode) {
|
|
@@ -112,9 +106,7 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 112 |
|
| 113 |
$this->_sMerchantPassOne = $this->getConfigDataRobo($passwordFieldOne, null, true);
|
| 114 |
$this->_sMerchantPassTwo = $this->getConfigDataRobo($passwordFieldTwo, null, true);
|
| 115 |
-
|
| 116 |
$this->_cartRefill = $this->getConfigDataRobo('cart_refill');
|
| 117 |
-
|
| 118 |
$this->_configRead = true;
|
| 119 |
|
| 120 |
return;
|
|
@@ -158,6 +150,7 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 158 |
|
| 159 |
/**
|
| 160 |
* Redirect URL to robokassa controller after order place
|
|
|
|
| 161 |
* @return string
|
| 162 |
*/
|
| 163 |
public function getOrderPlaceRedirectUrl()
|
|
@@ -179,6 +172,7 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 179 |
|
| 180 |
/**
|
| 181 |
* Check whether payment method can be used
|
|
|
|
| 182 |
* @param Mage_Sales_Model_Quote
|
| 183 |
* @return bool
|
| 184 |
*/
|
|
@@ -210,7 +204,6 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 210 |
*/
|
| 211 |
public function preparePaymentData($order)
|
| 212 |
{
|
| 213 |
-
|
| 214 |
$this->readConfig();
|
| 215 |
/** @var ET_PaymentRobokassa_Helper_Data $helper */
|
| 216 |
$helper = Mage::helper("etpaymentrobokassa");
|
|
@@ -229,8 +222,7 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 229 |
$postData = array(
|
| 230 |
"MrchLogin" => $this->_sMerchantLogin,
|
| 231 |
"OutSum" => round($outSum, 2),
|
| 232 |
-
|
| 233 |
-
"InvId" => $order->getIncrementId(),
|
| 234 |
"Desc" => $this->_sInvDesc,
|
| 235 |
"SignatureValue" => $hash,
|
| 236 |
"IncCurrLabel" => $this->_sIncCurrLabel,
|
|
@@ -245,9 +237,28 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 245 |
|
| 246 |
Mage::dispatchEvent('robokassa_prepare_payment_data', $result);
|
| 247 |
$postData = $result['postData']->getData();
|
|
|
|
| 248 |
return $postData;
|
| 249 |
}
|
| 250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
/**
|
| 252 |
* Check answer from Robokassa
|
| 253 |
*
|
|
@@ -259,10 +270,11 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 259 |
try {
|
| 260 |
$errors = array();
|
| 261 |
$this->readConfig();
|
| 262 |
-
|
|
|
|
| 263 |
/** @var $order Mage_Sales_Model_Order */
|
| 264 |
-
$order =
|
| 265 |
-
|
| 266 |
$hashArray = array(
|
| 267 |
$answer["OutSum"],
|
| 268 |
$answer["InvId"],
|
|
@@ -278,9 +290,6 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 278 |
$errors[] = "Maybe success payment";
|
| 279 |
}
|
| 280 |
|
| 281 |
-
/**
|
| 282 |
-
* @var $order Mage_Sales_Model_Order
|
| 283 |
-
*/
|
| 284 |
if ($this->_transferCurrency != $order->getOrderCurrencyCode()) {
|
| 285 |
$outSum = round(
|
| 286 |
$order->getBaseCurrency()->convert($order->getBaseGrandTotal(), $this->_transferCurrency),
|
|
@@ -314,7 +323,6 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 314 |
}
|
| 315 |
|
| 316 |
|
| 317 |
-
|
| 318 |
/**
|
| 319 |
* Generates Hash string using order data to prepare an array
|
| 320 |
* or direct from array
|
|
@@ -332,7 +340,7 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 332 |
$hashData = array(
|
| 333 |
"MrchLogin" => $this->_sMerchantLogin,
|
| 334 |
"OutSum" => round($outSum, 2),
|
| 335 |
-
"InvId" => $
|
| 336 |
"pass" => $this->_sMerchantPassOne,
|
| 337 |
);
|
| 338 |
} else if (is_array($data)) {
|
|
@@ -362,13 +370,12 @@ class ET_PaymentRobokassa_Model_Method_Etrobokassa extends Mage_Payment_Model_Me
|
|
| 362 |
$helper->log($helper->__('Not supported hash type - %s.', $this->_hashType));
|
| 363 |
}
|
| 364 |
|
| 365 |
-
|
| 366 |
-
|
| 367 |
return $hash;
|
| 368 |
}
|
| 369 |
|
| 370 |
|
| 371 |
-
|
| 372 |
/**
|
| 373 |
* Get order amount in Base Currency
|
| 374 |
*
|
| 89 |
$this->_isActive = $this->getConfigData('active');
|
| 90 |
$this->_title = $this->getConfigData('title');
|
| 91 |
$this->_testMode = $this->getConfigDataRobo('test_mode');
|
| 92 |
+
$this->_hashType = $this->getConfigDataRobo('hash_type');
|
| 93 |
$this->_paymentText = $this->getConfigData('payment_text');
|
| 94 |
$this->_description = Mage::helper('cms')->getBlockTemplateProcessor()->filter($this->_paymentText);
|
|
|
|
| 95 |
$this->_sMerchantLogin = $this->getConfigDataRobo('sMerchantLogin');
|
|
|
|
| 96 |
$this->_sInvDesc = $this->getConfigDataRobo('sInvDesc');
|
|
|
|
| 97 |
$this->_sIncCurrLabel = $this->getConfigData('sIncCurrLabel');
|
| 98 |
$this->_transferCurrency = Mage::app()->getWebsite()->getBaseCurrencyCode();
|
|
|
|
| 99 |
$this->_sCulture = $this->getConfigDataRobo('sCulture');
|
|
|
|
|
|
|
| 100 |
$passwordFieldOne = 'sMerchantPass1';
|
| 101 |
$passwordFieldTwo = 'sMerchantPass2';
|
| 102 |
if ($this->_testMode) {
|
| 106 |
|
| 107 |
$this->_sMerchantPassOne = $this->getConfigDataRobo($passwordFieldOne, null, true);
|
| 108 |
$this->_sMerchantPassTwo = $this->getConfigDataRobo($passwordFieldTwo, null, true);
|
|
|
|
| 109 |
$this->_cartRefill = $this->getConfigDataRobo('cart_refill');
|
|
|
|
| 110 |
$this->_configRead = true;
|
| 111 |
|
| 112 |
return;
|
| 150 |
|
| 151 |
/**
|
| 152 |
* Redirect URL to robokassa controller after order place
|
| 153 |
+
*
|
| 154 |
* @return string
|
| 155 |
*/
|
| 156 |
public function getOrderPlaceRedirectUrl()
|
| 172 |
|
| 173 |
/**
|
| 174 |
* Check whether payment method can be used
|
| 175 |
+
*
|
| 176 |
* @param Mage_Sales_Model_Quote
|
| 177 |
* @return bool
|
| 178 |
*/
|
| 204 |
*/
|
| 205 |
public function preparePaymentData($order)
|
| 206 |
{
|
|
|
|
| 207 |
$this->readConfig();
|
| 208 |
/** @var ET_PaymentRobokassa_Helper_Data $helper */
|
| 209 |
$helper = Mage::helper("etpaymentrobokassa");
|
| 222 |
$postData = array(
|
| 223 |
"MrchLogin" => $this->_sMerchantLogin,
|
| 224 |
"OutSum" => round($outSum, 2),
|
| 225 |
+
"InvId" => $this->getOrderIncrementalId($order),
|
|
|
|
| 226 |
"Desc" => $this->_sInvDesc,
|
| 227 |
"SignatureValue" => $hash,
|
| 228 |
"IncCurrLabel" => $this->_sIncCurrLabel,
|
| 237 |
|
| 238 |
Mage::dispatchEvent('robokassa_prepare_payment_data', $result);
|
| 239 |
$postData = $result['postData']->getData();
|
| 240 |
+
|
| 241 |
return $postData;
|
| 242 |
}
|
| 243 |
|
| 244 |
+
/**
|
| 245 |
+
* Gets orders internal or incremental id depending on the settings
|
| 246 |
+
*
|
| 247 |
+
* @param Mage_Sales_Model_Order $order
|
| 248 |
+
* @return string|int
|
| 249 |
+
*/
|
| 250 |
+
public function getOrderIncrementalId($order)
|
| 251 |
+
{
|
| 252 |
+
/** @var ET_PaymentRobokassa_Helper_Data $helper */
|
| 253 |
+
$helper = Mage::helper("etpaymentrobokassa");
|
| 254 |
+
|
| 255 |
+
if (!$helper->getIncrementalIdType()) {
|
| 256 |
+
return $order->getIncrementId();
|
| 257 |
+
} else {
|
| 258 |
+
return $order->getId();
|
| 259 |
+
}
|
| 260 |
+
}
|
| 261 |
+
|
| 262 |
/**
|
| 263 |
* Check answer from Robokassa
|
| 264 |
*
|
| 270 |
try {
|
| 271 |
$errors = array();
|
| 272 |
$this->readConfig();
|
| 273 |
+
|
| 274 |
+
$helper = Mage::helper('etpaymentrobokassa');
|
| 275 |
/** @var $order Mage_Sales_Model_Order */
|
| 276 |
+
$order = $helper->getOrder($this->getOrderId($answer));
|
| 277 |
+
|
| 278 |
$hashArray = array(
|
| 279 |
$answer["OutSum"],
|
| 280 |
$answer["InvId"],
|
| 290 |
$errors[] = "Maybe success payment";
|
| 291 |
}
|
| 292 |
|
|
|
|
|
|
|
|
|
|
| 293 |
if ($this->_transferCurrency != $order->getOrderCurrencyCode()) {
|
| 294 |
$outSum = round(
|
| 295 |
$order->getBaseCurrency()->convert($order->getBaseGrandTotal(), $this->_transferCurrency),
|
| 323 |
}
|
| 324 |
|
| 325 |
|
|
|
|
| 326 |
/**
|
| 327 |
* Generates Hash string using order data to prepare an array
|
| 328 |
* or direct from array
|
| 340 |
$hashData = array(
|
| 341 |
"MrchLogin" => $this->_sMerchantLogin,
|
| 342 |
"OutSum" => round($outSum, 2),
|
| 343 |
+
"InvId" => $this->getOrderIncrementalId($data),
|
| 344 |
"pass" => $this->_sMerchantPassOne,
|
| 345 |
);
|
| 346 |
} else if (is_array($data)) {
|
| 370 |
$helper->log($helper->__('Not supported hash type - %s.', $this->_hashType));
|
| 371 |
}
|
| 372 |
|
| 373 |
+
$hash = strtoupper(hash($this->_hashType , implode(":", $hashData)));
|
| 374 |
+
|
| 375 |
return $hash;
|
| 376 |
}
|
| 377 |
|
| 378 |
|
|
|
|
| 379 |
/**
|
| 380 |
* Get order amount in Base Currency
|
| 381 |
*
|
app/code/community/ET/PaymentRobokassa/controllers/GateController.php
CHANGED
|
@@ -92,10 +92,8 @@ class ET_PaymentRobokassa_GateController extends Mage_Core_Controller_Front_Acti
|
|
| 92 |
$payment = Mage::getSingleton(self::MODULENAME . "/method_" . self::PAYMENTNAME);
|
| 93 |
if ($payment->getOrderId($answer)) {
|
| 94 |
/* @var $order Mage_Sales_Model_Order */
|
| 95 |
-
|
| 96 |
-
$order = Mage::getModel('sales/order')->loadByIncrementId($payment->getOrderId($answer));
|
| 97 |
//true un success, false on fail or array of text on error
|
| 98 |
-
|
| 99 |
/** @var ET_PaymentRobokassa_Model_Method_Etrobokassa $orderPaymentMethod */
|
| 100 |
$orderPaymentMethod = $order->getPayment()->getMethodInstance();
|
| 101 |
$checkedAnswer = $orderPaymentMethod->checkAnswerData($answer);
|
|
@@ -182,9 +180,7 @@ class ET_PaymentRobokassa_GateController extends Mage_Core_Controller_Front_Acti
|
|
| 182 |
|
| 183 |
if ($payment->getOrderId($answer)) {
|
| 184 |
/** @var $order Mage_Sales_Model_Order */
|
| 185 |
-
|
| 186 |
-
$order = Mage::getModel('sales/order')->loadByIncrementId($payment->getOrderId($answer));
|
| 187 |
-
|
| 188 |
$result = array(
|
| 189 |
'answer' => new Varien_Object($answer),
|
| 190 |
'order' => $order,
|
|
@@ -230,11 +226,9 @@ class ET_PaymentRobokassa_GateController extends Mage_Core_Controller_Front_Acti
|
|
| 230 |
$answer = $this->getRequest()->getParams();
|
| 231 |
Mage::dispatchEvent('robokassa_no_session_data_for_success', $answer);
|
| 232 |
}
|
| 233 |
-
|
| 234 |
$this->_redirect("checkout/onepage/success");
|
| 235 |
}
|
| 236 |
|
| 237 |
-
|
| 238 |
/**
|
| 239 |
* Send new order email
|
| 240 |
* @param $order Mage_Sales_Model_Order
|
|
@@ -250,4 +244,5 @@ class ET_PaymentRobokassa_GateController extends Mage_Core_Controller_Front_Acti
|
|
| 250 |
}
|
| 251 |
return $result;
|
| 252 |
}
|
|
|
|
| 253 |
}
|
| 92 |
$payment = Mage::getSingleton(self::MODULENAME . "/method_" . self::PAYMENTNAME);
|
| 93 |
if ($payment->getOrderId($answer)) {
|
| 94 |
/* @var $order Mage_Sales_Model_Order */
|
| 95 |
+
$order = $helper->getOrder($payment->getOrderId($answer));
|
|
|
|
| 96 |
//true un success, false on fail or array of text on error
|
|
|
|
| 97 |
/** @var ET_PaymentRobokassa_Model_Method_Etrobokassa $orderPaymentMethod */
|
| 98 |
$orderPaymentMethod = $order->getPayment()->getMethodInstance();
|
| 99 |
$checkedAnswer = $orderPaymentMethod->checkAnswerData($answer);
|
| 180 |
|
| 181 |
if ($payment->getOrderId($answer)) {
|
| 182 |
/** @var $order Mage_Sales_Model_Order */
|
| 183 |
+
$order = $helper->getOrder($payment->getOrderId($answer));
|
|
|
|
|
|
|
| 184 |
$result = array(
|
| 185 |
'answer' => new Varien_Object($answer),
|
| 186 |
'order' => $order,
|
| 226 |
$answer = $this->getRequest()->getParams();
|
| 227 |
Mage::dispatchEvent('robokassa_no_session_data_for_success', $answer);
|
| 228 |
}
|
|
|
|
| 229 |
$this->_redirect("checkout/onepage/success");
|
| 230 |
}
|
| 231 |
|
|
|
|
| 232 |
/**
|
| 233 |
* Send new order email
|
| 234 |
* @param $order Mage_Sales_Model_Order
|
| 244 |
}
|
| 245 |
return $result;
|
| 246 |
}
|
| 247 |
+
|
| 248 |
}
|
app/code/community/ET/PaymentRobokassa/etc/config.xml
CHANGED
|
@@ -22,7 +22,7 @@
|
|
| 22 |
<modules>
|
| 23 |
<ET_PaymentRobokassa>
|
| 24 |
<name>ET Payment Robokassa</name>
|
| 25 |
-
<version>1.1.
|
| 26 |
<descr>
|
| 27 |
<ru_RU><![CDATA[Платёжный модуль Robokassa. Позволяет использовать сервис приёма платежей Robokassa (robokassa.ru) на вашем Magento сайте.]]>
|
| 28 |
</ru_RU>
|
|
@@ -93,9 +93,15 @@
|
|
| 93 |
<sales>
|
| 94 |
<order>
|
| 95 |
<statuses>
|
| 96 |
-
<waiting_robokassa translate="label"
|
| 97 |
-
|
| 98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
</statuses>
|
| 100 |
<states>
|
| 101 |
<new>
|
|
@@ -199,6 +205,8 @@
|
|
| 199 |
<success_url>http://example.com/etrobokassa/success</success_url>
|
| 200 |
<fail_url>http://example.com/etrobokassa/failure</fail_url>
|
| 201 |
<documentation_link><a href="http://shop.etwebsolutions.com/eng/et-payment-robokassa.html#documentation">http://shop.etwebsolutions.com/eng/et-payment-robokassa.html#documentation<a></documentation_link>
|
|
|
|
|
|
|
| 202 |
</etrobokassa>
|
| 203 |
</payment>
|
| 204 |
</default>
|
| 22 |
<modules>
|
| 23 |
<ET_PaymentRobokassa>
|
| 24 |
<name>ET Payment Robokassa</name>
|
| 25 |
+
<version>1.1.1</version>
|
| 26 |
<descr>
|
| 27 |
<ru_RU><![CDATA[Платёжный модуль Robokassa. Позволяет использовать сервис приёма платежей Robokassa (robokassa.ru) на вашем Magento сайте.]]>
|
| 28 |
</ru_RU>
|
| 93 |
<sales>
|
| 94 |
<order>
|
| 95 |
<statuses>
|
| 96 |
+
<waiting_robokassa translate="label">
|
| 97 |
+
<label>Waiting Robokassa payment</label>
|
| 98 |
+
</waiting_robokassa>
|
| 99 |
+
<paid_robokassa translate="label">
|
| 100 |
+
<label>Paid by Robokassa</label>
|
| 101 |
+
</paid_robokassa>
|
| 102 |
+
<error_robokassa translate="label">
|
| 103 |
+
<label>Error data from Robokassa</label>
|
| 104 |
+
</error_robokassa>
|
| 105 |
</statuses>
|
| 106 |
<states>
|
| 107 |
<new>
|
| 205 |
<success_url>http://example.com/etrobokassa/success</success_url>
|
| 206 |
<fail_url>http://example.com/etrobokassa/failure</fail_url>
|
| 207 |
<documentation_link><a href="http://shop.etwebsolutions.com/eng/et-payment-robokassa.html#documentation">http://shop.etwebsolutions.com/eng/et-payment-robokassa.html#documentation<a></documentation_link>
|
| 208 |
+
<!-- default value 0 (getIncrementId()) -->
|
| 209 |
+
<invoice_id_type>0</invoice_id_type>
|
| 210 |
</etrobokassa>
|
| 211 |
</payment>
|
| 212 |
</default>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>ET_PaymentRobokassa</name>
|
| 4 |
-
<version>1.1.
|
| 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>
|
| 14 |
-
<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="04e1786ab6d23e2de189271149538a19"/><file name="Heading.php" hash="ea2b78c217034671778d27101c0a7ffc"/><file name="Linktoinfo.php" hash="bc2a3f55b6d24bf43a41b7f73f060754"/><file name="Linktooptions.php" hash="3e1d44dc057eafac6f7f239261a18a77"/></dir></dir></dir></dir><file name="Support.php" hash="ffc0fd12e423db232cfb926cd1db57c6"/></dir><dir name="Single"><file name="Form.php" hash="a02546ee81500b243b38d68947b77066"/><file name="Info.php" hash="df188e5c31e6855cda3244c01b0857fb"/></dir><file name="Redirect.php" hash="7bc6ac869cae025ced8ae2d3ab6a582c"/></dir><dir name="Controller"><file name="Router.php" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies/>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>ET_PaymentRobokassa</name>
|
| 4 |
+
<version>1.1.1</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>2016-02-26</date>
|
| 14 |
+
<time>14:25:31</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="04e1786ab6d23e2de189271149538a19"/><file name="Heading.php" hash="ea2b78c217034671778d27101c0a7ffc"/><file name="Linktoinfo.php" hash="bc2a3f55b6d24bf43a41b7f73f060754"/><file name="Linktooptions.php" hash="3e1d44dc057eafac6f7f239261a18a77"/></dir></dir></dir></dir><file name="Support.php" hash="ffc0fd12e423db232cfb926cd1db57c6"/></dir><dir name="Single"><file name="Form.php" hash="a02546ee81500b243b38d68947b77066"/><file name="Info.php" hash="df188e5c31e6855cda3244c01b0857fb"/></dir><file name="Redirect.php" hash="7bc6ac869cae025ced8ae2d3ab6a582c"/></dir><dir name="Controller"><file name="Router.php" hash="7ff724ca9393b3f1c580de22904a1d01"/></dir><dir name="Helper"><file name="Data.php" hash="2f74c483650d0e368cce389d4eb91d25"/></dir><dir name="Model"><dir name="Method"><file name="Etrobokassa.php" hash="64e03816f1a90ac3becc58af05c4f4df"/></dir><file name="Culture.php" hash="6f6203f8af1071400e24753a7f1ec846"/><file name="Hashtype.php" hash="3a25df44c28f7985b635418bda183809"/><file name="Paysystem.php" hash="cd9e2921b59a78f3f9d1ec9df99e22db"/></dir><dir name="controllers"><file name="GateController.php" hash="bfe819265fb27a17b7ad5cd31853d465"/></dir><dir name="etc"><file name="config.xml" hash="49077ca0b26795306ed9f63c115b5e71"/><file name="system.xml" hash="91a946bade54b124f7f1226492729c5a"/></dir><dir name="sql"><dir name="etpaymentrobokassa_setup"><file name="mysql4-install-1.0.0.php" hash="827064e7fb32b4873a84fc3640790fdf"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="ru_RU"><file name="ET_PaymentRobokassa.csv" hash="b58e67df997c5f1d158ac65438833b58"/></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>
|
