Version Notes
* Fixed Email empty value in new order
* Changed description labels in configuration
* Updated order statuses list
Download this release
Release Info
Developer | PayU |
Extension | PayU_Account |
Version | 0.1.6.5.1 |
Comparing to | |
See all releases |
Code changes from version 0.1.6.4 to 0.1.6.5.1
- app/code/local/PayU/Account/Block/Adminhtml/Sales/Order/View.php +1 -1
- app/code/local/PayU/Account/Block/Advertisement.php +1 -1
- app/code/local/PayU/Account/Block/BeforeSummary.php +1 -1
- app/code/local/PayU/Account/Block/Button.php +1 -1
- app/code/local/PayU/Account/Block/Form.php +1 -1
- app/code/local/PayU/Account/Block/Onestep/Checkout.php +1 -1
- app/code/local/PayU/Account/Block/Redirect.php +1 -1
- app/code/local/PayU/Account/Block/UpdateInfo.php +1 -1
- app/code/local/PayU/Account/Helper/Data.php +1 -1
- app/code/local/PayU/Account/Model/Advertisement.php +1 -1
- app/code/local/PayU/Account/Model/Button.php +1 -1
- app/code/local/PayU/Account/Model/Config.php +2 -2
- app/code/local/PayU/Account/Model/Environment.php +4 -4
- app/code/local/PayU/Account/Model/PayU.php +1 -1
- app/code/local/PayU/Account/Model/Payment.php +105 -68
- app/code/local/PayU/Account/Model/Session.php +1 -1
- app/code/local/PayU/Account/Model/Thumbnail.php +1 -1
- app/code/local/PayU/Account/Model/ValidityTime.php +1 -1
- app/code/local/PayU/Account/controllers/Adminhtml/Sales/OrderController.php +1 -1
- app/code/local/PayU/Account/controllers/Checkout/CartController.php +1 -1
- app/code/local/PayU/Account/controllers/PaymentController.php +1 -1
- app/code/local/PayU/Account/etc/config.xml +2 -2
- app/code/local/PayU/Account/etc/system.xml +27 -19
- app/locale/pl_PL/PayU_Account.csv +19 -20
- package.xml +7 -5
app/code/local/PayU/Account/Block/Adminhtml/Sales/Order/View.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Adminhtml Sales Order View
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Adminhtml Sales Order View
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/Block/Advertisement.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Advertisement Block
|
6 |
* Payment
|
7 |
*
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Advertisement Block
|
6 |
* Payment
|
7 |
*
|
app/code/local/PayU/Account/Block/BeforeSummary.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU BeforeSummary Redirection Block
|
6 |
* Payment
|
7 |
*
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU BeforeSummary Redirection Block
|
6 |
* Payment
|
7 |
*
|
app/code/local/PayU/Account/Block/Button.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Button Block
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Button Block
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/Block/Form.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Form Block
|
6 |
* Payment
|
7 |
*
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Form Block
|
6 |
* Payment
|
7 |
*
|
app/code/local/PayU/Account/Block/Onestep/Checkout.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU One Step Checkout Block
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU One Step Checkout Block
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/Block/Redirect.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Payment Redirect Block
|
6 |
* Payment
|
7 |
*
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Payment Redirect Block
|
6 |
* Payment
|
7 |
*
|
app/code/local/PayU/Account/Block/UpdateInfo.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Update Info Block
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Update Info Block
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/Helper/Data.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Data Helper Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Data Helper Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/Model/Advertisement.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Logo Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Logo Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/Model/Button.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Button Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Button Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/Model/Config.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Config Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
@@ -14,7 +14,7 @@
|
|
14 |
class PayU_Account_Model_Config
|
15 |
{
|
16 |
/** @var string self version */
|
17 |
-
protected $_pluginVersion = '0.1.6.
|
18 |
|
19 |
/** @var string minimum Magento e-commerce version */
|
20 |
protected $_minimumMageVersion = '1.6.0';
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Config Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
14 |
class PayU_Account_Model_Config
|
15 |
{
|
16 |
/** @var string self version */
|
17 |
+
protected $_pluginVersion = '0.1.6.5.1';
|
18 |
|
19 |
/** @var string minimum Magento e-commerce version */
|
20 |
protected $_minimumMageVersion = '1.6.0';
|
app/code/local/PayU/Account/Model/Environment.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
|
4 |
/**
|
5 |
-
* ver. 0.1.6.
|
6 |
* PayU Environment Model
|
7 |
*
|
8 |
* @copyright Copyright (c) 2011-2012 PayU
|
@@ -24,13 +24,13 @@ class PayU_Account_Model_Environment
|
|
24 |
|
25 |
public function toOptionArray() {
|
26 |
return array(
|
27 |
-
|
28 |
'value' => PayU_Account_Model_Environment::PRODUCTION,
|
29 |
-
'label' => Mage::helper('payu_account')->__('
|
30 |
),
|
31 |
array(
|
32 |
'value' => PayU_Account_Model_Environment::SANDBOX,
|
33 |
-
'label' => '
|
34 |
)
|
35 |
);
|
36 |
}
|
2 |
|
3 |
|
4 |
/**
|
5 |
+
* ver. 0.1.6.5.1
|
6 |
* PayU Environment Model
|
7 |
*
|
8 |
* @copyright Copyright (c) 2011-2012 PayU
|
24 |
|
25 |
public function toOptionArray() {
|
26 |
return array(
|
27 |
+
array(
|
28 |
'value' => PayU_Account_Model_Environment::PRODUCTION,
|
29 |
+
'label' => Mage::helper('payu_account')->__('No')
|
30 |
),
|
31 |
array(
|
32 |
'value' => PayU_Account_Model_Environment::SANDBOX,
|
33 |
+
'label' => Mage::helper('payu_account')->__('Yes')
|
34 |
)
|
35 |
);
|
36 |
}
|
app/code/local/PayU/Account/Model/PayU.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Standard Payment Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Standard Payment Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/Model/Payment.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU -Standard Payment Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
@@ -164,56 +164,56 @@ class PayU_Account_Model_Payment extends Mage_Payment_Model_Method_Abstract
|
|
164 |
/** @var string Check wether the order is virtual or material */
|
165 |
$orderType = ($this->_order->getIsVirtual()) ? "VIRTUAL" : "MATERIAL";
|
166 |
|
167 |
-
// if the standard paying method has been selected
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
|
218 |
$shippingCost = array(
|
219 |
'CountryCode' => $orderCountryCode,
|
@@ -259,9 +259,10 @@ class PayU_Account_Model_Payment extends Mage_Payment_Model_Method_Abstract
|
|
259 |
'ShoppingCartItems' => $items
|
260 |
);
|
261 |
|
262 |
-
$orderInfo = array(
|
|
|
263 |
'SessionId' => $sessionid,
|
264 |
-
'OrderUrl' => $this->_myUrl . 'cancelPayment?order=' . $this->_order->getRealOrderId(),
|
265 |
'OrderCreateDate' => date("c"),
|
266 |
'OrderDescription' => 'Order no ' . $this->_order->getId(),
|
267 |
'MerchantAuthorizationKey' => OpenPayU_Configuration::getPosAuthKey(),
|
@@ -271,9 +272,10 @@ class PayU_Account_Model_Payment extends Mage_Payment_Model_Method_Abstract
|
|
271 |
);
|
272 |
|
273 |
|
274 |
-
$OCReq = array(
|
|
|
275 |
'CustomerIp' => Mage::app()->getFrontController()->getRequest()->getClientIp(),
|
276 |
-
'NotifyUrl' => $this->_myUrl . 'orderNotifyRequest',
|
277 |
'OrderCancelUrl' => $this->_myUrl . 'cancelPayment',
|
278 |
'OrderCompleteUrl' => $this->_myUrl . 'completePayment',
|
279 |
'Order' => $orderInfo,
|
@@ -282,10 +284,49 @@ class PayU_Account_Model_Payment extends Mage_Payment_Model_Method_Abstract
|
|
282 |
if (!$this->_order->getIsVirtual()) {
|
283 |
$OCReq['ShippingCost'] = array(
|
284 |
'AvailableShippingCost' => $shippingCost,
|
285 |
-
'ShippingCostsUpdateUrl' => $this->_myUrl . 'shippingCostRetrieve'
|
286 |
);
|
287 |
}
|
288 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
// send message OrderCreateRequest, $result->response = OrderCreateResponse message
|
290 |
$result = OpenPayU_Order::create($OCReq);
|
291 |
|
@@ -293,8 +334,7 @@ class PayU_Account_Model_Payment extends Mage_Payment_Model_Method_Abstract
|
|
293 |
|
294 |
/** @var array Assigning the redirect form data */
|
295 |
$result = OpenPayU_OAuth::accessTokenByClientCredentials();
|
296 |
-
if($result->getSuccess())
|
297 |
-
{
|
298 |
$locale = Mage::getStoreConfig('general/locale/code', Mage::app()->getStore()->getId());
|
299 |
$lang_code = explode('_', $locale, 2);
|
300 |
|
@@ -324,8 +364,6 @@ class PayU_Account_Model_Payment extends Mage_Payment_Model_Method_Abstract
|
|
324 |
*/
|
325 |
public function newOneStep()
|
326 |
{
|
327 |
-
|
328 |
-
|
329 |
$checkout = Mage::getSingleton('checkout/type_onepage');
|
330 |
|
331 |
$customerSession = Mage::getSingleton('customer/session');
|
@@ -347,10 +385,10 @@ class PayU_Account_Model_Payment extends Mage_Payment_Model_Method_Abstract
|
|
347 |
0 => $this->_tempInfo,
|
348 |
1 => $this->_tempInfo
|
349 |
),
|
350 |
-
'city' =>
|
351 |
-
'postcode' =>
|
352 |
-
'country_id' =>
|
353 |
-
'telephone' => "
|
354 |
'save_in_address_book' => 0
|
355 |
);
|
356 |
|
@@ -641,7 +679,8 @@ class PayU_Account_Model_Payment extends Mage_Payment_Model_Method_Abstract
|
|
641 |
|
642 |
/**
|
643 |
* Update order's customer information based on PayU information
|
644 |
-
* @var array result data from payu with billing and shipping info
|
|
|
645 |
protected function updateCustomerData($data)
|
646 |
{
|
647 |
|
@@ -689,9 +728,7 @@ class PayU_Account_Model_Payment extends Mage_Payment_Model_Method_Abstract
|
|
689 |
|
690 |
$this->_order->setShippingAddress($shipping)->save();
|
691 |
|
692 |
-
}
|
693 |
-
elseif(isset($data['Invoice']['Billing']))
|
694 |
-
{
|
695 |
$billingAddress = $data['Invoice']['Billing'];
|
696 |
|
697 |
$billing = $this->_order->getBillingAddress();
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU -Standard Payment Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
164 |
/** @var string Check wether the order is virtual or material */
|
165 |
$orderType = ($this->_order->getIsVirtual()) ? "VIRTUAL" : "MATERIAL";
|
166 |
|
167 |
+
// if the standard paying method has been selected
|
168 |
+
if (empty($allShippingRates)) {
|
169 |
+
|
170 |
+
// normal way of paying
|
171 |
+
$allShippingRates = Mage::getStoreConfig('carriers', Mage::app()->getStore()->getId());
|
172 |
+
|
173 |
+
$methodArr = explode("_", $this->_order->getShippingMethod());
|
174 |
+
|
175 |
+
foreach ($allShippingRates as $key => $rate) {
|
176 |
+
|
177 |
+
if ($rate['active'] == 1 && $methodArr[0] == $key) {
|
178 |
+
$shippingCostList[] = array(
|
179 |
+
'ShippingCost' => array(
|
180 |
+
'Type' => $rate['title'] . ' - ' . $rate['name'],
|
181 |
+
'CountryCode' => $orderCountryCode,
|
182 |
+
'Price' => array(
|
183 |
+
'Gross' => $this->toAmount($this->_order->getShippingAmount()),
|
184 |
+
'Net' => $this->toAmount($this->_order->getShippingAmount()),
|
185 |
+
'Tax' => $this->toAmount($this->_order->getShippingTaxAmount()),
|
186 |
+
'TaxRate' => $this->toAmount($this->calculateTaxRate()),
|
187 |
+
'CurrencyCode' => $orderCurrencyCode
|
188 |
+
)
|
189 |
+
)
|
190 |
+
);
|
191 |
+
}
|
192 |
+
|
193 |
+
}
|
194 |
+
|
195 |
+
$grandTotal = $this->_order->getGrandTotal() - $this->_order->getShippingAmount();
|
196 |
+
|
197 |
+
} else {
|
198 |
+
// assigning the shipping costs list
|
199 |
+
foreach ($allShippingRates as $rate) {
|
200 |
+
$shippingCostList[] = array(
|
201 |
+
'ShippingCost' => array(
|
202 |
+
'Type' => $rate->getCarrierTitle() . ' - ' . $rate->getMethodTitle(),
|
203 |
+
'CountryCode' => $orderCountryCode,
|
204 |
+
'Price' => array(
|
205 |
+
'Gross' => $this->toAmount($rate->getPrice()),
|
206 |
+
'Net' => $this->toAmount($rate->getPrice()),
|
207 |
+
'Tax' => $this->toAmount($this->_order->getShippingTaxAmount()),
|
208 |
+
'TaxRate' => $this->toAmount($this->calculateTaxRate()),
|
209 |
+
'CurrencyCode' => $orderCurrencyCode
|
210 |
+
)
|
211 |
+
)
|
212 |
+
);
|
213 |
+
}
|
214 |
+
|
215 |
+
$grandTotal = $this->_order->getGrandTotal();
|
216 |
+
}
|
217 |
|
218 |
$shippingCost = array(
|
219 |
'CountryCode' => $orderCountryCode,
|
259 |
'ShoppingCartItems' => $items
|
260 |
);
|
261 |
|
262 |
+
$orderInfo = array(
|
263 |
+
'MerchantPosId' => OpenPayU_Configuration::getMerchantPosId(),
|
264 |
'SessionId' => $sessionid,
|
265 |
+
'OrderUrl' => $this->_myUrl . 'cancelPayment?order=' . $this->_order->getRealOrderId(),
|
266 |
'OrderCreateDate' => date("c"),
|
267 |
'OrderDescription' => 'Order no ' . $this->_order->getId(),
|
268 |
'MerchantAuthorizationKey' => OpenPayU_Configuration::getPosAuthKey(),
|
272 |
);
|
273 |
|
274 |
|
275 |
+
$OCReq = array(
|
276 |
+
'ReqId' => md5(rand()),
|
277 |
'CustomerIp' => Mage::app()->getFrontController()->getRequest()->getClientIp(),
|
278 |
+
'NotifyUrl' => $this->_myUrl . 'orderNotifyRequest',
|
279 |
'OrderCancelUrl' => $this->_myUrl . 'cancelPayment',
|
280 |
'OrderCompleteUrl' => $this->_myUrl . 'completePayment',
|
281 |
'Order' => $orderInfo,
|
284 |
if (!$this->_order->getIsVirtual()) {
|
285 |
$OCReq['ShippingCost'] = array(
|
286 |
'AvailableShippingCost' => $shippingCost,
|
287 |
+
'ShippingCostsUpdateUrl' => $this->_myUrl . 'shippingCostRetrieve'
|
288 |
);
|
289 |
}
|
290 |
|
291 |
+
$customer_sheet = array();
|
292 |
+
|
293 |
+
$billingAddressId = $this->_order->getBillingAddressId();
|
294 |
+
|
295 |
+
if (!empty($billingAddressId)) {
|
296 |
+
|
297 |
+
$billingAddress = $this->_order->getBillingAddress();
|
298 |
+
|
299 |
+
$customer_mail = $billingAddress->getEmail();
|
300 |
+
|
301 |
+
if (!empty($customer_mail)) {
|
302 |
+
$customer_sheet = array(
|
303 |
+
'Email' => $billingAddress->getEmail(),
|
304 |
+
'Phone' => $billingAddress->getTelephone(),
|
305 |
+
'FirstName' => $billingAddress->getFirstname(),
|
306 |
+
'LastName' => $billingAddress->getLastname()
|
307 |
+
);
|
308 |
+
|
309 |
+
$shippingAddressId = $this->_order->getShippingAddressId();
|
310 |
+
|
311 |
+
if (!empty($shippingAddressId))
|
312 |
+
$shippingAddress = $this->_order->getShippingAddress();
|
313 |
+
|
314 |
+
$customer_sheet['Shipping'] = array(
|
315 |
+
'Street' => trim(implode(' ', $shippingAddress->getStreet())),
|
316 |
+
'PostalCode' => $shippingAddress->getPostcode(),
|
317 |
+
'City' => $shippingAddress->getCity(),
|
318 |
+
'CountryCode' => $shippingAddress->getCountry(),
|
319 |
+
'AddressType' => 'SHIPPING',
|
320 |
+
'RecipientName' => trim($shippingAddress->getFirstname() . ' ' . $shippingAddress->getLastname()),
|
321 |
+
'RecipientPhone' => $shippingAddress->getTelephone(),
|
322 |
+
'RecipientEmail' => $shippingAddress->getEmail()
|
323 |
+
);
|
324 |
+
|
325 |
+
$OCReq['Customer'] = $customer_sheet;
|
326 |
+
}
|
327 |
+
}
|
328 |
+
|
329 |
+
|
330 |
// send message OrderCreateRequest, $result->response = OrderCreateResponse message
|
331 |
$result = OpenPayU_Order::create($OCReq);
|
332 |
|
334 |
|
335 |
/** @var array Assigning the redirect form data */
|
336 |
$result = OpenPayU_OAuth::accessTokenByClientCredentials();
|
337 |
+
if ($result->getSuccess()) {
|
|
|
338 |
$locale = Mage::getStoreConfig('general/locale/code', Mage::app()->getStore()->getId());
|
339 |
$lang_code = explode('_', $locale, 2);
|
340 |
|
364 |
*/
|
365 |
public function newOneStep()
|
366 |
{
|
|
|
|
|
367 |
$checkout = Mage::getSingleton('checkout/type_onepage');
|
368 |
|
369 |
$customerSession = Mage::getSingleton('customer/session');
|
385 |
0 => $this->_tempInfo,
|
386 |
1 => $this->_tempInfo
|
387 |
),
|
388 |
+
'city' => $this->_tempInfo,
|
389 |
+
'postcode' => $this->_tempInfo,
|
390 |
+
'country_id' => Mage::helper('core')->getDefaultCountry(),
|
391 |
+
'telephone' => "0000000",
|
392 |
'save_in_address_book' => 0
|
393 |
);
|
394 |
|
679 |
|
680 |
/**
|
681 |
* Update order's customer information based on PayU information
|
682 |
+
* @var array result data from payu with billing and shipping info
|
683 |
+
*/
|
684 |
protected function updateCustomerData($data)
|
685 |
{
|
686 |
|
728 |
|
729 |
$this->_order->setShippingAddress($shipping)->save();
|
730 |
|
731 |
+
} elseif (isset($data['Invoice']['Billing'])) {
|
|
|
|
|
732 |
$billingAddress = $data['Invoice']['Billing'];
|
733 |
|
734 |
$billing = $this->_order->getBillingAddress();
|
app/code/local/PayU/Account/Model/Session.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Session Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Session Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/Model/Thumbnail.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Thumbnail Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Thumbnail Model
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/Model/ValidityTime.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
|
4 |
/**
|
5 |
-
* ver. 0.1.6.
|
6 |
* PayU Validity Time Model
|
7 |
*
|
8 |
* @copyright Copyright (c) 2011-2012 PayU
|
2 |
|
3 |
|
4 |
/**
|
5 |
+
* ver. 0.1.6.5.1
|
6 |
* PayU Validity Time Model
|
7 |
*
|
8 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/controllers/Adminhtml/Sales/OrderController.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Adminhtml Sales Order Controller
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Adminhtml Sales Order Controller
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/controllers/Checkout/CartController.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Cart Controller
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Cart Controller
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/controllers/PaymentController.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* ver. 0.1.6.
|
5 |
* PayU Standard Payment Controller
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* ver. 0.1.6.5.1
|
5 |
* PayU Standard Payment Controller
|
6 |
*
|
7 |
* @copyright Copyright (c) 2011-2012 PayU
|
app/code/local/PayU/Account/etc/config.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
|
4 |
<modules>
|
5 |
<PayU_Account>
|
6 |
-
<version>0.1.6.
|
7 |
</PayU_Account>
|
8 |
</modules>
|
9 |
|
@@ -115,7 +115,7 @@
|
|
115 |
<payu_account>
|
116 |
<active>1</active>
|
117 |
<model>payu_account/payment</model>
|
118 |
-
|
119 |
<payment_action>authorize</payment_action>
|
120 |
<allowspecific>0</allowspecific>
|
121 |
</payu_account>
|
3 |
|
4 |
<modules>
|
5 |
<PayU_Account>
|
6 |
+
<version>0.1.6.5.1</version>
|
7 |
</PayU_Account>
|
8 |
</modules>
|
9 |
|
115 |
<payu_account>
|
116 |
<active>1</active>
|
117 |
<model>payu_account/payment</model>
|
118 |
+
<order_status>1</order_status>
|
119 |
<payment_action>authorize</payment_action>
|
120 |
<allowspecific>0</allowspecific>
|
121 |
</payu_account>
|
app/code/local/PayU/Account/etc/system.xml
CHANGED
@@ -31,7 +31,7 @@
|
|
31 |
</active>
|
32 |
|
33 |
<onestepcheckoutenabled translate="label">
|
34 |
-
<label>
|
35 |
<frontend_type>select</frontend_type>
|
36 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
37 |
<sort_order>2</sort_order>
|
@@ -41,7 +41,7 @@
|
|
41 |
</onestepcheckoutenabled>
|
42 |
|
43 |
<selfreturn translate="label">
|
44 |
-
<label>
|
45 |
<frontend_type>select</frontend_type>
|
46 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
47 |
<sort_order>3</sort_order>
|
@@ -51,17 +51,17 @@
|
|
51 |
</selfreturn>
|
52 |
|
53 |
<order_status translate="label">
|
54 |
-
<label>New
|
55 |
<frontend_type>select</frontend_type>
|
56 |
-
<source_model>adminhtml/
|
57 |
-
<sort_order>
|
58 |
<show_in_default>1</show_in_default>
|
59 |
<show_in_website>1</show_in_website>
|
60 |
-
<show_in_store>
|
61 |
</order_status>
|
62 |
|
63 |
<validity_time translate="label comment">
|
64 |
-
<label>Order
|
65 |
<frontend_type>select</frontend_type>
|
66 |
<source_model>payu_account/validityTime</source_model>
|
67 |
<sort_order>5</sort_order>
|
@@ -71,7 +71,7 @@
|
|
71 |
</validity_time>
|
72 |
|
73 |
<environment translate="label">
|
74 |
-
<label>
|
75 |
<frontend_type>select</frontend_type>
|
76 |
<source_model>payu_account/environment</source_model>
|
77 |
<sort_order>6</sort_order>
|
@@ -90,7 +90,8 @@
|
|
90 |
</header2>
|
91 |
|
92 |
<oauth_client_name translate="label">
|
93 |
-
<label>
|
|
|
94 |
<frontend_type>text</frontend_type>
|
95 |
<sort_order>8</sort_order>
|
96 |
<show_in_default>1</show_in_default>
|
@@ -99,7 +100,8 @@
|
|
99 |
</oauth_client_name>
|
100 |
|
101 |
<oauth_client_secret translate="label">
|
102 |
-
<label>
|
|
|
103 |
<frontend_type>text</frontend_type>
|
104 |
<sort_order>9</sort_order>
|
105 |
<show_in_default>1</show_in_default>
|
@@ -108,7 +110,8 @@
|
|
108 |
</oauth_client_secret>
|
109 |
|
110 |
<signature_key translate="label">
|
111 |
-
<label>
|
|
|
112 |
<frontend_type>text</frontend_type>
|
113 |
<sort_order>11</sort_order>
|
114 |
<show_in_default>1</show_in_default>
|
@@ -118,6 +121,7 @@
|
|
118 |
|
119 |
<pos_auth_key translate="label">
|
120 |
<label>Pos Auth Key</label>
|
|
|
121 |
<frontend_type>text</frontend_type>
|
122 |
<sort_order>10</sort_order>
|
123 |
<show_in_default>1</show_in_default>
|
@@ -135,7 +139,8 @@
|
|
135 |
</header3>
|
136 |
|
137 |
<sandbox_oauth_client_name translate="label">
|
138 |
-
<label>
|
|
|
139 |
<frontend_type>text</frontend_type>
|
140 |
<sort_order>14</sort_order>
|
141 |
<show_in_default>1</show_in_default>
|
@@ -144,7 +149,8 @@
|
|
144 |
</sandbox_oauth_client_name>
|
145 |
|
146 |
<sandbox_oauth_client_secret translate="label">
|
147 |
-
<label>
|
|
|
148 |
<frontend_type>text</frontend_type>
|
149 |
<sort_order>15</sort_order>
|
150 |
<show_in_default>1</show_in_default>
|
@@ -153,7 +159,8 @@
|
|
153 |
</sandbox_oauth_client_secret>
|
154 |
|
155 |
<sandbox_signature_key translate="label">
|
156 |
-
<label>
|
|
|
157 |
<frontend_type>text</frontend_type>
|
158 |
<sort_order>17</sort_order>
|
159 |
<show_in_default>1</show_in_default>
|
@@ -162,7 +169,8 @@
|
|
162 |
</sandbox_signature_key>
|
163 |
|
164 |
<sandbox_pos_auth_key translate="label">
|
165 |
-
<label>
|
|
|
166 |
<frontend_type>text</frontend_type>
|
167 |
<sort_order>16</sort_order>
|
168 |
<show_in_default>1</show_in_default>
|
@@ -180,7 +188,7 @@
|
|
180 |
</header4>
|
181 |
|
182 |
<payubutton translate="label">
|
183 |
-
<label>
|
184 |
<frontend_type>select</frontend_type>
|
185 |
<source_model>payu_account/button</source_model>
|
186 |
<sort_order>19</sort_order>
|
@@ -190,7 +198,7 @@
|
|
190 |
</payubutton>
|
191 |
|
192 |
<payuthumbnail translate="label">
|
193 |
-
<label>Small logo
|
194 |
<frontend_type>select</frontend_type>
|
195 |
<source_model>payu_account/thumbnail</source_model>
|
196 |
<sort_order>20</sort_order>
|
@@ -200,7 +208,7 @@
|
|
200 |
</payuthumbnail>
|
201 |
|
202 |
<payuadvertisement translate="label">
|
203 |
-
<label>PayU
|
204 |
<source_model>payu_account/advertisement</source_model>
|
205 |
<frontend_type>select</frontend_type>
|
206 |
<sort_order>21</sort_order>
|
@@ -210,7 +218,7 @@
|
|
210 |
</payuadvertisement>
|
211 |
|
212 |
<header5 translate="label">
|
213 |
-
<label>
|
214 |
<frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
|
215 |
<sort_order>22</sort_order>
|
216 |
<show_in_default>1</show_in_default>
|
31 |
</active>
|
32 |
|
33 |
<onestepcheckoutenabled translate="label">
|
34 |
+
<label>OneStepCheckout Enabled</label>
|
35 |
<frontend_type>select</frontend_type>
|
36 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
37 |
<sort_order>2</sort_order>
|
41 |
</onestepcheckoutenabled>
|
42 |
|
43 |
<selfreturn translate="label">
|
44 |
+
<label>Self-Return Enabled</label>
|
45 |
<frontend_type>select</frontend_type>
|
46 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
47 |
<sort_order>3</sort_order>
|
51 |
</selfreturn>
|
52 |
|
53 |
<order_status translate="label">
|
54 |
+
<label>New Order Status</label>
|
55 |
<frontend_type>select</frontend_type>
|
56 |
+
<source_model>adminhtml/system_config_source_order_status</source_model>
|
57 |
+
<sort_order>3</sort_order>
|
58 |
<show_in_default>1</show_in_default>
|
59 |
<show_in_website>1</show_in_website>
|
60 |
+
<show_in_store>0</show_in_store>
|
61 |
</order_status>
|
62 |
|
63 |
<validity_time translate="label comment">
|
64 |
+
<label>Order Validity Time</label>
|
65 |
<frontend_type>select</frontend_type>
|
66 |
<source_model>payu_account/validityTime</source_model>
|
67 |
<sort_order>5</sort_order>
|
71 |
</validity_time>
|
72 |
|
73 |
<environment translate="label">
|
74 |
+
<label>Test Mode Enabled</label>
|
75 |
<frontend_type>select</frontend_type>
|
76 |
<source_model>payu_account/environment</source_model>
|
77 |
<sort_order>6</sort_order>
|
90 |
</header2>
|
91 |
|
92 |
<oauth_client_name translate="label">
|
93 |
+
<label>POS ID (pos_id)</label>
|
94 |
+
<comment>OAuth protocol - client_id</comment>
|
95 |
<frontend_type>text</frontend_type>
|
96 |
<sort_order>8</sort_order>
|
97 |
<show_in_default>1</show_in_default>
|
100 |
</oauth_client_name>
|
101 |
|
102 |
<oauth_client_secret translate="label">
|
103 |
+
<label>Key (MD5)</label>
|
104 |
+
<comment>OAuth protocol - client_secret</comment>
|
105 |
<frontend_type>text</frontend_type>
|
106 |
<sort_order>9</sort_order>
|
107 |
<show_in_default>1</show_in_default>
|
110 |
</oauth_client_secret>
|
111 |
|
112 |
<signature_key translate="label">
|
113 |
+
<label>Second key (MD5)</label>
|
114 |
+
<comment>Symmetrical key for encrypting communication</comment>
|
115 |
<frontend_type>text</frontend_type>
|
116 |
<sort_order>11</sort_order>
|
117 |
<show_in_default>1</show_in_default>
|
121 |
|
122 |
<pos_auth_key translate="label">
|
123 |
<label>Pos Auth Key</label>
|
124 |
+
<comment>pos_auth_key</comment>
|
125 |
<frontend_type>text</frontend_type>
|
126 |
<sort_order>10</sort_order>
|
127 |
<show_in_default>1</show_in_default>
|
139 |
</header3>
|
140 |
|
141 |
<sandbox_oauth_client_name translate="label">
|
142 |
+
<label>POS ID (pos_id)</label>
|
143 |
+
<comment>OAuth protocol - client_id</comment>
|
144 |
<frontend_type>text</frontend_type>
|
145 |
<sort_order>14</sort_order>
|
146 |
<show_in_default>1</show_in_default>
|
149 |
</sandbox_oauth_client_name>
|
150 |
|
151 |
<sandbox_oauth_client_secret translate="label">
|
152 |
+
<label>Key (MD5)</label>
|
153 |
+
<comment>OAuth protocol - client_secret</comment>
|
154 |
<frontend_type>text</frontend_type>
|
155 |
<sort_order>15</sort_order>
|
156 |
<show_in_default>1</show_in_default>
|
159 |
</sandbox_oauth_client_secret>
|
160 |
|
161 |
<sandbox_signature_key translate="label">
|
162 |
+
<label>Second key (MD5)</label>
|
163 |
+
<comment>Symmetrical key for encrypting communication</comment>
|
164 |
<frontend_type>text</frontend_type>
|
165 |
<sort_order>17</sort_order>
|
166 |
<show_in_default>1</show_in_default>
|
169 |
</sandbox_signature_key>
|
170 |
|
171 |
<sandbox_pos_auth_key translate="label">
|
172 |
+
<label>POS Auth Key</label>
|
173 |
+
<comment>pos_auth_key</comment>
|
174 |
<frontend_type>text</frontend_type>
|
175 |
<sort_order>16</sort_order>
|
176 |
<show_in_default>1</show_in_default>
|
188 |
</header4>
|
189 |
|
190 |
<payubutton translate="label">
|
191 |
+
<label>OneStepCheckout button</label>
|
192 |
<frontend_type>select</frontend_type>
|
193 |
<source_model>payu_account/button</source_model>
|
194 |
<sort_order>19</sort_order>
|
198 |
</payubutton>
|
199 |
|
200 |
<payuthumbnail translate="label">
|
201 |
+
<label>Small logo</label>
|
202 |
<frontend_type>select</frontend_type>
|
203 |
<source_model>payu_account/thumbnail</source_model>
|
204 |
<sort_order>20</sort_order>
|
208 |
</payuthumbnail>
|
209 |
|
210 |
<payuadvertisement translate="label">
|
211 |
+
<label>PayU advertisement</label>
|
212 |
<source_model>payu_account/advertisement</source_model>
|
213 |
<frontend_type>select</frontend_type>
|
214 |
<sort_order>21</sort_order>
|
218 |
</payuadvertisement>
|
219 |
|
220 |
<header5 translate="label">
|
221 |
+
<label>PayU Plugin Information</label>
|
222 |
<frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
|
223 |
<sort_order>22</sort_order>
|
224 |
<show_in_default>1</show_in_default>
|
app/locale/pl_PL/PayU_Account.csv
CHANGED
@@ -1,26 +1,24 @@
|
|
1 |
"PayU account","Konto PayU"
|
|
|
2 |
"Main parameters","Główne parametry"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"New
|
6 |
-
"
|
7 |
"Parameters of production environment","Parametry środowiska produkcyjnego"
|
8 |
-
"POS ID","ID POS (Id punktu płatności)"
|
9 |
-
"Client ID (POS ID)","Nazwa klienta (ID POS)"
|
10 |
-
"Key MD5 (OAuth protocol - client_secret )","Klucz MD5"
|
11 |
-
"Pos Auth Key (Payment authorisation key)","Klucz autoryzacji płatności"
|
12 |
-
"Second key MD5 (Symmetrical key)","Drugi klucz MD5 (Symetryczny klucz)"
|
13 |
"Parameters of test environment (Sandbox)","Parametry środowiska testowego (Sandbox)"
|
14 |
-
"POS ID","ID POS (Id punktu płatności)"
|
15 |
"Client ID (POS ID)","Nazwa klienta (ID POS)"
|
16 |
-
"Key MD5
|
17 |
-
"
|
18 |
-
"Second key MD5
|
|
|
|
|
|
|
19 |
"Settings of external resources","Ustawienia zewnętrznych zasobów"
|
20 |
-
"
|
21 |
-
"Small logo
|
22 |
-
"PayU
|
23 |
-
"The PayU account module latest version information","Informacje o najnowszej wersji modułu konto PayU"
|
24 |
"Credit Card or E-transfer","Karta kredytowa lub e-przelew"
|
25 |
"You are currently using version","Aktualnie zainstalowana wersja"
|
26 |
"for","dla"
|
@@ -28,7 +26,8 @@
|
|
28 |
"Get the latest version - ","Pobierz najnowszą wersję - "
|
29 |
"Documents attached to this implementation","Dokumenty dołączone do tej implementacji"
|
30 |
"Thank you.","Dziękujemy."
|
31 |
-
"
|
|
|
32 |
"There was a problem with the payment initialization, please contact system administrator.","Wystąpił problem podczas inicjalizacji płatności, prosimy o kontakt z obsługą sklepu."
|
33 |
"Transaction cancelled.","Transakcja anulowana."
|
34 |
"The transaction has been cancelled.","Transakcja została anulowana."
|
@@ -44,7 +43,7 @@
|
|
44 |
"You will be redirected to PayU after submitting the order.","Po złożeniu zamówienia nastąpi przekierowanie do PayU."
|
45 |
"Accept PayU order","Akceptuj zamówienie PayU"
|
46 |
"Cancel PayU order","Anuluj zamówienie PayU"
|
47 |
-
"Order
|
48 |
"More info on","Więcej informacji na"
|
49 |
"The order has been cancelled in PayU.","Zamówienie zostało anulowane w PayU."
|
50 |
"There was a problem while cancelling the order in PayU.","Wystąpił błąd podczas próby anulowania zamówienia w PayU."
|
@@ -54,4 +53,4 @@
|
|
54 |
"CAUTION: PayU plugin is not up to date.","UWAGA: Plugin PayU nie jest aktualny."
|
55 |
"OK: PayU account plugin is up to date.","OK: Plugin konto PayU jest aktualny."
|
56 |
"The latest version of PayU plugin is","Najnowszą wersją pluginu PayU jest"
|
57 |
-
"
|
1 |
"PayU account","Konto PayU"
|
2 |
+
"Enabled","Czy włączyć wtyczkę?"
|
3 |
"Main parameters","Główne parametry"
|
4 |
+
"OneStepCheckout Enabled","Czy OneStepCheckout włączony"
|
5 |
+
"Self-Return Enabled","Czy autoodbiór włączony"
|
6 |
+
"New Order Status","Status nowego zamówienia"
|
7 |
+
"Test Mode Enabled","Użyj środowiska testowego"
|
8 |
"Parameters of production environment","Parametry środowiska produkcyjnego"
|
|
|
|
|
|
|
|
|
|
|
9 |
"Parameters of test environment (Sandbox)","Parametry środowiska testowego (Sandbox)"
|
10 |
+
"POS ID (pos_id)","ID POS (Id punktu płatności)"
|
11 |
"Client ID (POS ID)","Nazwa klienta (ID POS)"
|
12 |
+
"Key (MD5)","Klucz MD5"
|
13 |
+
"POS Auth Key","Klucz autoryzacji płatności"
|
14 |
+
"Second key (MD5)","Drugi klucz MD5 (Symetryczny klucz)"
|
15 |
+
"OAuth protocol - client_id","Protokół OAuth - client_id"
|
16 |
+
"OAuth protocol - client_secret","Protokół OAuth - client_secret"
|
17 |
+
"Symmetrical key for encrypting communication","Symetryczny klucz do szyfrowania komunikacji"
|
18 |
"Settings of external resources","Ustawienia zewnętrznych zasobów"
|
19 |
+
"OneStepCheckout button","Przycisk OneStepCheckout"
|
20 |
+
"Small logo","Małe logo"
|
21 |
+
"PayU advertisement","Reklama PayU"
|
|
|
22 |
"Credit Card or E-transfer","Karta kredytowa lub e-przelew"
|
23 |
"You are currently using version","Aktualnie zainstalowana wersja"
|
24 |
"for","dla"
|
26 |
"Get the latest version - ","Pobierz najnowszą wersję - "
|
27 |
"Documents attached to this implementation","Dokumenty dołączone do tej implementacji"
|
28 |
"Thank you.","Dziękujemy."
|
29 |
+
"Yes","Tak"
|
30 |
+
"No","Nie"
|
31 |
"There was a problem with the payment initialization, please contact system administrator.","Wystąpił problem podczas inicjalizacji płatności, prosimy o kontakt z obsługą sklepu."
|
32 |
"Transaction cancelled.","Transakcja anulowana."
|
33 |
"The transaction has been cancelled.","Transakcja została anulowana."
|
43 |
"You will be redirected to PayU after submitting the order.","Po złożeniu zamówienia nastąpi przekierowanie do PayU."
|
44 |
"Accept PayU order","Akceptuj zamówienie PayU"
|
45 |
"Cancel PayU order","Anuluj zamówienie PayU"
|
46 |
+
"Order Validity Time","Czas ważności zamówienia"
|
47 |
"More info on","Więcej informacji na"
|
48 |
"The order has been cancelled in PayU.","Zamówienie zostało anulowane w PayU."
|
49 |
"There was a problem while cancelling the order in PayU.","Wystąpił błąd podczas próby anulowania zamówienia w PayU."
|
53 |
"CAUTION: PayU plugin is not up to date.","UWAGA: Plugin PayU nie jest aktualny."
|
54 |
"OK: PayU account plugin is up to date.","OK: Plugin konto PayU jest aktualny."
|
55 |
"The latest version of PayU plugin is","Najnowszą wersją pluginu PayU jest"
|
56 |
+
"PayU plugin information","Informacje o wtyczce PayU"
|
package.xml
CHANGED
@@ -1,18 +1,20 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>PayU_Account</name>
|
4 |
-
<version>0.1.6.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/LGPL-3.0">LGPL 3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Official PayU payment gateway module.</summary>
|
10 |
<description>PayU account is a new tool for making payments for items bought in several places on the Internet. By choosing it, you will increase transaction security and speed up the shopping process, as the time of waiting for funds from buyers is reduced to the minimum. The PayU account allows a buyer to define his favourite payment channels as well as save in one place personal and contact details needed to make payment for shopping. If a buyer uses a payment card, he may also save its details on the PayU account and afterwards, pay with one click, while data for delivery will be completed automatically. As a result, a payment is made within not more than a few seconds. An additional functionality for registered users of the PayU account is access to the whole transaction history in shops which have made this payment method available. Moreover, a special searcher allows you to sort items bought by such criteria as: date, transaction status, amount.</description>
|
11 |
-
<notes
|
|
|
|
|
12 |
<authors><author><name>PayU</name><user>PayU</user><email>openpayu@payu.pl</email></author></authors>
|
13 |
-
<date>2012-11-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir name="PayU"><dir name="Account"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="View.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>5.4.7</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>PayU_Account</name>
|
4 |
+
<version>0.1.6.5.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/LGPL-3.0">LGPL 3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Official PayU payment gateway module.</summary>
|
10 |
<description>PayU account is a new tool for making payments for items bought in several places on the Internet. By choosing it, you will increase transaction security and speed up the shopping process, as the time of waiting for funds from buyers is reduced to the minimum. The PayU account allows a buyer to define his favourite payment channels as well as save in one place personal and contact details needed to make payment for shopping. If a buyer uses a payment card, he may also save its details on the PayU account and afterwards, pay with one click, while data for delivery will be completed automatically. As a result, a payment is made within not more than a few seconds. An additional functionality for registered users of the PayU account is access to the whole transaction history in shops which have made this payment method available. Moreover, a special searcher allows you to sort items bought by such criteria as: date, transaction status, amount.</description>
|
11 |
+
<notes>* Fixed Email empty value in new order
|
12 |
+
* Changed description labels in configuration
|
13 |
+
* Updated order statuses list</notes>
|
14 |
<authors><author><name>PayU</name><user>PayU</user><email>openpayu@payu.pl</email></author></authors>
|
15 |
+
<date>2012-11-16</date>
|
16 |
+
<time>14:22:38</time>
|
17 |
+
<contents><target name="magelocal"><dir name="PayU"><dir name="Account"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="View.php" hash="f82428f58d5b15ba5f4bd9a4dd8bec39"/></dir></dir></dir><file name="Advertisement.php" hash="d0da1d6bb06f324d26eea648b7fa9e02"/><file name="BeforeSummary.php" hash="7080c1d5771ed5cb0bc69f8e776fd728"/><file name="Button.php" hash="e81ae633ebd864eac4158d756c266583"/><file name="Form.php" hash="dd3ae4a644f43e1313bdd0c51c5d4f21"/><dir name="Onestep"><file name="Checkout.php" hash="97f5c2a2699bea719af61daf1a3360a3"/></dir><file name="Redirect.php" hash="3e71ac5664ac67e234a10ddcd7df655a"/><file name="UpdateInfo.php" hash="c62bdbfced3aca7aab86e6ad6a369943"/></dir><dir name="Helper"><file name="Data.php" hash="1c7b2d1e5fed49ac12bb56de09decc91"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="Sales"><file name="Order.php" hash="faf6a7c3551674bbc4050d82b6900ae7"/></dir></dir><file name="Advertisement.php" hash="01b64fc8937fb81d3d407caac76fab4c"/><file name="Button.php" hash="55b5acc41cd8f19c1b44fe28a246bde6"/><file name="Config.php" hash="17307583e4486bd68e89487fc10a3631"/><file name="Environment.php" hash="0aa8943f090b85aac5fcceb0c99ea6bd"/><file name="PayU.php" hash="dede4435c2434c5658d6d38ee8c4c7bc"/><file name="Payment.php" hash="14c11b0c515f69c8456ab67447b3e62d"/><file name="Session.php" hash="0873e65998a8bb486a5ac752630e1194"/><file name="Thumbnail.php" hash="ca0ab08ce411d91606db7aa7985018a3"/><file name="ValidityTime.php" hash="6b0fe87971219061cbcd30da0becdf77"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><file name="OrderController.php" hash="135034b7624c96ecc747023c21880f7e"/></dir></dir><dir name="Checkout"><file name="CartController.php" hash="d069c4773562ddd72a4ceca13506ab99"/></dir><file name="PaymentController.php" hash="3bdb3564701ce0deefb93cf1b2864fdb"/></dir><dir name="etc"><file name="config.xml" hash="878dbd1417e427aed03209e70ed9f90e"/><file name="system.xml" hash="7075e0bc4f3debfe8858c3905b38c80d"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="payu_account.xml" hash="433c0d85f093a87658cca04fa2dcddd4"/></dir><dir name="template"><dir name="payu_account"><file name="advertisement.phtml" hash="2fc6547dc439c7a5c65b190b0b3bbd26"/><file name="form.phtml" hash="9dd9fd37672b2f249cd5b8701b8ce511"/><dir name="info"><file name="payu_account.phtml" hash="89ff5f164123bad98d94beafd8138532"/></dir><dir name="onestep"><file name="checkout.phtml" hash="e4149c323496f479233b48442ef99212"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="PayU_Account.xml" hash="aa06ac3ab552c6069423bcafd5c0140d"/></dir></target><target name="magelocale"><dir name="pl_PL"><file name="PayU_Account.csv" hash="e73b234da35f2cefa78ffa8f36a4123b"/></dir></target><target name="magelib"><dir name="payu"><dir name="sdk"><dir name="OpenPayU"><file name="Configuration.php" hash="247d5b8eee40df9f2328e44a513b302d"/><file name="OAuth.php" hash="22a906bd9ffd37a7f9720ac12efd3117"/><file name="OpenPayU.php" hash="4013d4d8aaa4b985a2a26e01ee97312d"/><file name="OpenPayUBase.php" hash="8ff7b263a1463d749fc14c5b5f02659c"/><file name="OpenPayUNetwork.php" hash="a6090839643a7279459f358ae2a0e410"/><file name="OpenPayUOAuth.php" hash="701a2c75af0b9f0df8471e7f108e389a"/><file name="Order.php" hash="20f94d108ab5d27c3ec3fbef3d647729"/><file name="Result.php" hash="6ad2be85b87dfc7410c11ed3a507079e"/><file name="ResultOAuth.php" hash="b7ac42eb16a0be6bd38f3b3310025a5b"/></dir><file name="openpayu.php" hash="04068271490f87c9bdd7f280c5da34d6"/><file name="openpayu_domain.php" hash="b38e5963a8ad5e515bca8864851722d6"/></dir></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.2.0</min><max>5.4.7</max></php></required></dependencies>
|
20 |
</package>
|