Version Notes
Added stock reduction setting for pending order statuses. See 'Deduct Stock When Order Is Pending' in configuration area for more information.
Fix to ensure that the hosted payment form values cannot exceed allowed amounts.
Download this release
Release Info
Developer | CardSave |
Extension | Cardsave_Cardsaveonlinepayments |
Version | 1.15.1 |
Comparing to | |
See all releases |
Code changes from version 1.15.0 to 1.15.1
- app/code/local/Cardsave/Cardsaveonlinepayments/Model/Direct.php +26 -18
- app/code/local/Cardsave/Cardsaveonlinepayments/controllers/PaymentController.php +30 -1
- app/code/local/Cardsave/Cardsaveonlinepayments/etc/system.xml +6 -3
- app/code/local/Cardsave/Sales/Model/Order/Invoice.php +1 -1
- app/code/local/Cardsave/Sales/Model/Order/Payment.php +1 -2
- app/code/local/Cardsave/Sales/Model/Service/Quote.php +14 -1
- package.xml +7 -9
app/code/local/Cardsave/Cardsaveonlinepayments/Model/Direct.php
CHANGED
@@ -528,6 +528,7 @@ class Cardsave_Cardsaveonlinepayments_Model_Direct extends Mage_Payment_Model_Me
|
|
528 |
|
529 |
// add the success message
|
530 |
Mage::getSingleton('core/session')->addSuccess($szNotificationMessage);
|
|
|
531 |
break;
|
532 |
case 3:
|
533 |
// status code of 3 - means 3D Secure authentication required
|
@@ -544,6 +545,15 @@ class Cardsave_Cardsaveonlinepayments_Model_Direct extends Mage_Payment_Model_Me
|
|
544 |
Mage::getSingleton('checkout/session')->setRedirectionmethod('_run3DSecureTransaction');
|
545 |
$order->setIsThreeDSecurePending(true);
|
546 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
547 |
break;
|
548 |
case 5:
|
549 |
// status code of 5 - means transaction declined
|
@@ -724,13 +734,14 @@ class Cardsave_Cardsaveonlinepayments_Model_Direct extends Mage_Payment_Model_Me
|
|
724 |
{
|
725 |
$szCustomerName = $szCustomerName.' '.$billingAddress->getlastname();
|
726 |
}
|
727 |
-
$
|
728 |
-
$
|
729 |
-
$
|
730 |
-
$
|
731 |
-
$
|
732 |
-
$
|
733 |
-
$
|
|
|
734 |
|
735 |
if($this->getConfigData('cv2mandatory'))
|
736 |
{
|
@@ -1361,6 +1372,7 @@ class Cardsave_Cardsaveonlinepayments_Model_Direct extends Mage_Payment_Model_Me
|
|
1361 |
*/
|
1362 |
public function setPaymentAdditionalInformation($payment, $szCrossReference)
|
1363 |
{
|
|
|
1364 |
$arAdditionalInformationArray = array();
|
1365 |
|
1366 |
$paymentAction = $this->getConfigData('payment_action');
|
@@ -1386,7 +1398,8 @@ class Cardsave_Cardsaveonlinepayments_Model_Direct extends Mage_Payment_Model_Me
|
|
1386 |
$payment->setAdditionalInformation($arAdditionalInformationArray);
|
1387 |
}
|
1388 |
|
1389 |
-
|
|
|
1390 |
* Deduct the order items from the stock
|
1391 |
*
|
1392 |
* @param unknown_type $order
|
@@ -1394,10 +1407,7 @@ class Cardsave_Cardsaveonlinepayments_Model_Direct extends Mage_Payment_Model_Me
|
|
1394 |
public function subtractOrderedItemsFromStock($order)
|
1395 |
{
|
1396 |
$nVersion = Mage::getModel('cardsaveonlinepayments/direct')->getVersion();
|
1397 |
-
|
1398 |
-
|
1399 |
-
if($isCustomStockManagementEnabled)
|
1400 |
-
{
|
1401 |
$items = $order->getAllItems();
|
1402 |
foreach ($items as $itemId => $item)
|
1403 |
{
|
@@ -1414,7 +1424,6 @@ class Cardsave_Cardsaveonlinepayments_Model_Direct extends Mage_Payment_Model_Me
|
|
1414 |
$stock->save();
|
1415 |
}
|
1416 |
}
|
1417 |
-
}
|
1418 |
}
|
1419 |
|
1420 |
/**
|
@@ -1424,11 +1433,9 @@ class Cardsave_Cardsaveonlinepayments_Model_Direct extends Mage_Payment_Model_Me
|
|
1424 |
*/
|
1425 |
public function addOrderedItemsToStock($order)
|
1426 |
{
|
|
|
1427 |
$nVersion = Mage::getModel('cardsaveonlinepayments/direct')->getVersion();
|
1428 |
-
|
1429 |
-
|
1430 |
-
if($isCustomStockManagementEnabled)
|
1431 |
-
{
|
1432 |
$items = $order->getAllItems();
|
1433 |
foreach ($items as $itemId => $item)
|
1434 |
{
|
@@ -1445,7 +1452,7 @@ class Cardsave_Cardsaveonlinepayments_Model_Direct extends Mage_Payment_Model_Me
|
|
1445 |
$stock->save();
|
1446 |
}
|
1447 |
}
|
1448 |
-
|
1449 |
}
|
1450 |
|
1451 |
/**
|
@@ -1631,6 +1638,7 @@ class Cardsave_Cardsaveonlinepayments_Model_Direct extends Mage_Payment_Model_Me
|
|
1631 |
*/
|
1632 |
private function _captureAuthorizedPayment(Varien_Object $payment)
|
1633 |
{
|
|
|
1634 |
$error = false;
|
1635 |
$session = Mage::getSingleton('checkout/session');
|
1636 |
|
528 |
|
529 |
// add the success message
|
530 |
Mage::getSingleton('core/session')->addSuccess($szNotificationMessage);
|
531 |
+
|
532 |
break;
|
533 |
case 3:
|
534 |
// status code of 3 - means 3D Secure authentication required
|
545 |
Mage::getSingleton('checkout/session')->setRedirectionmethod('_run3DSecureTransaction');
|
546 |
$order->setIsThreeDSecurePending(true);
|
547 |
|
548 |
+
//if customstock not enabled re-add the stock as previously deducted.
|
549 |
+
$isCustomStockManagementEnabled = Mage::getModel('cardsaveonlinepayments/direct')->getConfigData('customstockmanagementenabled');
|
550 |
+
if(!$isCustomStockManagementEnabled)
|
551 |
+
{
|
552 |
+
$model = Mage::getModel('cardsaveonlinepayments/direct');
|
553 |
+
$model->addOrderedItemsToStock($order);
|
554 |
+
}
|
555 |
+
|
556 |
+
|
557 |
break;
|
558 |
case 5:
|
559 |
// status code of 5 - means transaction declined
|
734 |
{
|
735 |
$szCustomerName = $szCustomerName.' '.$billingAddress->getlastname();
|
736 |
}
|
737 |
+
$szCustomerName = substr($szCustomerName, 0,100);
|
738 |
+
$szAddress1 = substr($billingAddress->getStreet1(),0,100);
|
739 |
+
$szAddress2 = substr($billingAddress->getStreet2(),0,50);
|
740 |
+
$szAddress3 = substr($billingAddress->getStreet3(),0,50);
|
741 |
+
$szAddress4 = substr($billingAddress->getStreet4(),0,50);
|
742 |
+
$szCity = substr($billingAddress->getCity(),0,50);
|
743 |
+
$szState = substr($billingAddress->getRegion(),0,50);
|
744 |
+
$szPostCode = substr($billingAddress->getPostcode(),0,50);
|
745 |
|
746 |
if($this->getConfigData('cv2mandatory'))
|
747 |
{
|
1372 |
*/
|
1373 |
public function setPaymentAdditionalInformation($payment, $szCrossReference)
|
1374 |
{
|
1375 |
+
|
1376 |
$arAdditionalInformationArray = array();
|
1377 |
|
1378 |
$paymentAction = $this->getConfigData('payment_action');
|
1398 |
$payment->setAdditionalInformation($arAdditionalInformationArray);
|
1399 |
}
|
1400 |
|
1401 |
+
|
1402 |
+
/**
|
1403 |
* Deduct the order items from the stock
|
1404 |
*
|
1405 |
* @param unknown_type $order
|
1407 |
public function subtractOrderedItemsFromStock($order)
|
1408 |
{
|
1409 |
$nVersion = Mage::getModel('cardsaveonlinepayments/direct')->getVersion();
|
1410 |
+
|
|
|
|
|
|
|
1411 |
$items = $order->getAllItems();
|
1412 |
foreach ($items as $itemId => $item)
|
1413 |
{
|
1424 |
$stock->save();
|
1425 |
}
|
1426 |
}
|
|
|
1427 |
}
|
1428 |
|
1429 |
/**
|
1433 |
*/
|
1434 |
public function addOrderedItemsToStock($order)
|
1435 |
{
|
1436 |
+
|
1437 |
$nVersion = Mage::getModel('cardsaveonlinepayments/direct')->getVersion();
|
1438 |
+
|
|
|
|
|
|
|
1439 |
$items = $order->getAllItems();
|
1440 |
foreach ($items as $itemId => $item)
|
1441 |
{
|
1452 |
$stock->save();
|
1453 |
}
|
1454 |
}
|
1455 |
+
|
1456 |
}
|
1457 |
|
1458 |
/**
|
1638 |
*/
|
1639 |
private function _captureAuthorizedPayment(Varien_Object $payment)
|
1640 |
{
|
1641 |
+
|
1642 |
$error = false;
|
1643 |
$session = Mage::getSingleton('checkout/session');
|
1644 |
|
app/code/local/Cardsave/Cardsaveonlinepayments/controllers/PaymentController.php
CHANGED
@@ -74,6 +74,7 @@ class Cardsave_Cardsaveonlinepayments_PaymentController extends Mage_Core_Contro
|
|
74 |
$order = Mage::getModel('sales/order');
|
75 |
$order->load(Mage::getSingleton('checkout/session')->getLastOrderId());
|
76 |
$boCartIsEmpty = false;
|
|
|
77 |
|
78 |
try
|
79 |
{
|
@@ -140,6 +141,13 @@ class Cardsave_Cardsaveonlinepayments_PaymentController extends Mage_Core_Contro
|
|
140 |
}
|
141 |
else
|
142 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
// set the quote as inactive after back from paypal
|
144 |
Mage::getSingleton('checkout/session')->getQuote()->setIsActive(false)->save();
|
145 |
|
@@ -287,6 +295,13 @@ class Cardsave_Cardsaveonlinepayments_PaymentController extends Mage_Core_Contro
|
|
287 |
}
|
288 |
else
|
289 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
// set the quote as inactive after back from paypal
|
291 |
Mage::getSingleton('checkout/session')->getQuote()->setIsActive(false)->save();
|
292 |
|
@@ -511,6 +526,13 @@ class Cardsave_Cardsaveonlinepayments_PaymentController extends Mage_Core_Contro
|
|
511 |
}
|
512 |
else
|
513 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
514 |
// set the quote as inactive after back from paypal
|
515 |
Mage::getSingleton('checkout/session')->getQuote()->setIsActive(false)->save();
|
516 |
|
@@ -782,7 +804,14 @@ class Cardsave_Cardsaveonlinepayments_PaymentController extends Mage_Core_Contro
|
|
782 |
Mage::getSingleton('checkout/session')->getQuote()->setIsActive(false)->save();
|
783 |
|
784 |
if($boCartIsEmpty == false)
|
785 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
786 |
// send confirmation email to customer
|
787 |
if($order->getId())
|
788 |
{
|
74 |
$order = Mage::getModel('sales/order');
|
75 |
$order->load(Mage::getSingleton('checkout/session')->getLastOrderId());
|
76 |
$boCartIsEmpty = false;
|
77 |
+
$model = Mage::getModel('cardsaveonlinepayments/direct');
|
78 |
|
79 |
try
|
80 |
{
|
141 |
}
|
142 |
else
|
143 |
{
|
144 |
+
//if customstock not enabled reduce the stock as not previously deducted.
|
145 |
+
$isCustomStockManagementEnabled = Mage::getModel('cardsaveonlinepayments/direct')->getConfigData('customstockmanagementenabled');
|
146 |
+
if(!$isCustomStockManagementEnabled)
|
147 |
+
{
|
148 |
+
$model->subtractOrderedItemsFromStock($order);
|
149 |
+
}
|
150 |
+
|
151 |
// set the quote as inactive after back from paypal
|
152 |
Mage::getSingleton('checkout/session')->getQuote()->setIsActive(false)->save();
|
153 |
|
295 |
}
|
296 |
else
|
297 |
{
|
298 |
+
//if customstock not enabled reduced the stock as not previously deducted.
|
299 |
+
$isCustomStockManagementEnabled = Mage::getModel('cardsaveonlinepayments/direct')->getConfigData('customstockmanagementenabled');
|
300 |
+
if(!$isCustomStockManagementEnabled)
|
301 |
+
{
|
302 |
+
$model->subtractOrderedItemsFromStock($order);
|
303 |
+
}
|
304 |
+
|
305 |
// set the quote as inactive after back from paypal
|
306 |
Mage::getSingleton('checkout/session')->getQuote()->setIsActive(false)->save();
|
307 |
|
526 |
}
|
527 |
else
|
528 |
{
|
529 |
+
//if customstock not enabled reduced the stock as not previously deducted.
|
530 |
+
$isCustomStockManagementEnabled = Mage::getModel('cardsaveonlinepayments/direct')->getConfigData('customstockmanagementenabled');
|
531 |
+
if(!$isCustomStockManagementEnabled)
|
532 |
+
{
|
533 |
+
$model->subtractOrderedItemsFromStock($order);
|
534 |
+
}
|
535 |
+
|
536 |
// set the quote as inactive after back from paypal
|
537 |
Mage::getSingleton('checkout/session')->getQuote()->setIsActive(false)->save();
|
538 |
|
804 |
Mage::getSingleton('checkout/session')->getQuote()->setIsActive(false)->save();
|
805 |
|
806 |
if($boCartIsEmpty == false)
|
807 |
+
{
|
808 |
+
//if customstock not enabled reduced the stock as not previously deducted.
|
809 |
+
$isCustomStockManagementEnabled = Mage::getModel('cardsaveonlinepayments/direct')->getConfigData('customstockmanagementenabled');
|
810 |
+
if(!$isCustomStockManagementEnabled)
|
811 |
+
{
|
812 |
+
$model->subtractOrderedItemsFromStock($order);
|
813 |
+
}
|
814 |
+
|
815 |
// send confirmation email to customer
|
816 |
if($order->getId())
|
817 |
{
|
app/code/local/Cardsave/Cardsaveonlinepayments/etc/system.xml
CHANGED
@@ -108,7 +108,7 @@
|
|
108 |
<show_in_website>1</show_in_website>
|
109 |
<show_in_store>0</show_in_store>
|
110 |
<comment>
|
111 |
-
<![CDATA[<b>Please note:</b> The Direct (API) Integration method requires Outgoing Port 4430 TCP is open in your servers firewall to communicate with the CardSave Payment Gateway.]]>
|
112 |
</comment>
|
113 |
</mode>
|
114 |
<resultdeliverymethod>
|
@@ -120,7 +120,7 @@
|
|
120 |
<show_in_website>1</show_in_website>
|
121 |
<show_in_store>0</show_in_store>
|
122 |
<comment>
|
123 |
-
<![CDATA[<strong>Please note</strong>: The above value is only applicable to Hosted Payment Form payment mode]]>
|
124 |
</comment>
|
125 |
</resultdeliverymethod>
|
126 |
<takePaymentInStoreBaseCurrency translate="label">
|
@@ -204,13 +204,16 @@
|
|
204 |
<show_in_website>1</show_in_website>
|
205 |
</heading_additionalsettings>
|
206 |
<customstockmanagementenabled>
|
207 |
-
<label>
|
208 |
<sort_order>196</sort_order>
|
209 |
<frontend_type>select</frontend_type>
|
210 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
211 |
<show_in_default>1</show_in_default>
|
212 |
<show_in_website>1</show_in_website>
|
213 |
<show_in_store>0</show_in_store>
|
|
|
|
|
|
|
214 |
</customstockmanagementenabled>
|
215 |
<order_status translate="label">
|
216 |
<label>New order status</label>
|
108 |
<show_in_website>1</show_in_website>
|
109 |
<show_in_store>0</show_in_store>
|
110 |
<comment>
|
111 |
+
<![CDATA[<b>Please note:</b> The Direct (API) Integration method requires Outgoing Port 4430 TCP is open in your servers firewall to communicate with the CardSave Payment Gateway. <strong>SSL required</strong>.]]>
|
112 |
</comment>
|
113 |
</mode>
|
114 |
<resultdeliverymethod>
|
120 |
<show_in_website>1</show_in_website>
|
121 |
<show_in_store>0</show_in_store>
|
122 |
<comment>
|
123 |
+
<![CDATA[<strong>Please note</strong>: The above value is only applicable to Hosted Payment Form payment mode. SSL recommended when using the 'POST' method. SSL not required for 'SERVER PULL' method.]]>
|
124 |
</comment>
|
125 |
</resultdeliverymethod>
|
126 |
<takePaymentInStoreBaseCurrency translate="label">
|
204 |
<show_in_website>1</show_in_website>
|
205 |
</heading_additionalsettings>
|
206 |
<customstockmanagementenabled>
|
207 |
+
<label>Deduct Stock When Order Is Pending</label>
|
208 |
<sort_order>196</sort_order>
|
209 |
<frontend_type>select</frontend_type>
|
210 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
211 |
<show_in_default>1</show_in_default>
|
212 |
<show_in_website>1</show_in_website>
|
213 |
<show_in_store>0</show_in_store>
|
214 |
+
<comment>
|
215 |
+
<![CDATA[<strong>Please note</strong>: If set to Yes, the stock will be reduced when a pending order is created: <br /><strong>Direct and Transparent</strong> - when the customer is transferred to the 3D secure process. <br /><strong>Hosted Payment Form</strong> - when the customer is taken to the Hosted Payment Form. <br /> ]]>
|
216 |
+
</comment>
|
217 |
</customstockmanagementenabled>
|
218 |
<order_status translate="label">
|
219 |
<label>New order status</label>
|
app/code/local/Cardsave/Sales/Model/Order/Invoice.php
CHANGED
@@ -21,7 +21,7 @@ class Cardsave_Sales_Model_Order_Invoice extends Mage_Sales_Model_Order_Invoice
|
|
21 |
public function pay()
|
22 |
{
|
23 |
$nVersion = Mage::getModel('cardsaveonlinepayments/direct')->getVersion();
|
24 |
-
|
25 |
if($nVersion >= 1400)
|
26 |
{
|
27 |
if ($this->_wasPayCalled)
|
21 |
public function pay()
|
22 |
{
|
23 |
$nVersion = Mage::getModel('cardsaveonlinepayments/direct')->getVersion();
|
24 |
+
|
25 |
if($nVersion >= 1400)
|
26 |
{
|
27 |
if ($this->_wasPayCalled)
|
app/code/local/Cardsave/Sales/Model/Order/Payment.php
CHANGED
@@ -10,7 +10,6 @@ class Cardsave_Sales_Model_Order_Payment extends Mage_Sales_Model_Order_Payment
|
|
10 |
*/
|
11 |
public function place()
|
12 |
{
|
13 |
-
|
14 |
Mage::dispatchEvent('sales_order_payment_place_start', array('payment' => $this));
|
15 |
$order = $this->getOrder();
|
16 |
|
@@ -58,7 +57,7 @@ class Cardsave_Sales_Model_Order_Payment extends Mage_Sales_Model_Order_Payment
|
|
58 |
}
|
59 |
}
|
60 |
}
|
61 |
-
|
62 |
$this->_createBillingAgreement();
|
63 |
|
64 |
$orderIsNotified = null;
|
10 |
*/
|
11 |
public function place()
|
12 |
{
|
|
|
13 |
Mage::dispatchEvent('sales_order_payment_place_start', array('payment' => $this));
|
14 |
$order = $this->getOrder();
|
15 |
|
57 |
}
|
58 |
}
|
59 |
}
|
60 |
+
|
61 |
$this->_createBillingAgreement();
|
62 |
|
63 |
$orderIsNotified = null;
|
app/code/local/Cardsave/Sales/Model/Service/Quote.php
CHANGED
@@ -58,7 +58,20 @@ class Cardsave_Sales_Model_Service_Quote extends Mage_Sales_Model_Service_Quote
|
|
58 |
}
|
59 |
// make sure the customer can still use the quote if payment is failed
|
60 |
//$quote->setIsActive(false);
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
$transaction->addObject($order);
|
63 |
$transaction->addCommitCallback(array($order, 'place'));
|
64 |
$transaction->addCommitCallback(array($order, 'save'));
|
58 |
}
|
59 |
// make sure the customer can still use the quote if payment is failed
|
60 |
//$quote->setIsActive(false);
|
61 |
+
|
62 |
+
//check if direct isnt enabled.. if its not check the custom stock setting
|
63 |
+
$model = Mage::getModel('cardsaveonlinepayments/direct');
|
64 |
+
$pmPaymentMode = $model->getConfigData('mode');
|
65 |
+
if ($pmPaymentMode != 'direct'){
|
66 |
+
//if customstock not enabled DO NOT reduce stock
|
67 |
+
$isCustomStockManagementEnabled = Mage::getModel('cardsaveonlinepayments/direct')->getConfigData('customstockmanagementenabled');
|
68 |
+
if(!$isCustomStockManagementEnabled)
|
69 |
+
{
|
70 |
+
$quote->setInventoryProcessed(true);
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
+
|
75 |
$transaction->addObject($order);
|
76 |
$transaction->addCommitCallback(array($order, 'place'));
|
77 |
$transaction->addCommitCallback(array($order, 'save'));
|
package.xml
CHANGED
@@ -1,23 +1,21 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Cardsave_Cardsaveonlinepayments</name>
|
4 |
-
<version>1.15.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/gpl.html">GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Payment Plugin for the CardSave Payment Gateway.</summary>
|
10 |
<description>Fully supports 3D secure transactions and all of the integration methods provided by CardSave.</description>
|
11 |
-
<notes
|
12 |
-
|
13 |
-
|
14 |
-
* Ensured inputted values cannot exceed allowed amounts by the gateway (Direct).
|
15 |
-
* VOID, COLLECTION and REFUNDS now usable from within the back-end (Direct Integration Required).
|
16 |
</notes>
|
17 |
<authors><author><name>CardSave</name><user>CardSave</user><email>alistair.richardson@cardsave.net</email></author></authors>
|
18 |
-
<date>2014-
|
19 |
-
<time>
|
20 |
-
<contents><target name="magelocal"><dir name="Cardsave"><dir name="Cardsaveonlinepayments"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Payment.php" hash="1cff6196bd79d3989b960506cc87201e"/></dir></dir></dir><file name="Error.php" hash="660d3cbde48910ef271df9e05130a6d7"/><file name="Form.php" hash="ea5b3817c9607a94f4685d53d0b18569"/><file name="Info.php" hash="57a4bfec1a1c769de063be2b922f4a97"/><file name="Redirect.php" hash="f1d145c83982bdfbb7f73fc7a1acc950"/><file name="Threedsecure.php" hash="9d75776f34c5acaf6ea265f35f302c69"/></dir><dir name="Helper"><file name="Data.php" hash="e024ec0479d1e8e7efcf4751b05194d6"/></dir><dir name="Model"><dir name="Common"><file name="GlobalErrors.php" hash="e0f9062ca2db4c85d17e6939f9bd7641"/><file name="ISOCountries.php" hash="6c59574f190f6a67e38578d876c14edf"/><file name="ISOCurrencies.php" hash="2568f980f09bd8a7d4beaf3d16456d28"/><file name="PaymentFormHelper.php" hash="cf5a1ea6f653f4d5024adf491d5f5ba8"/><dir name="ThePaymentGateway"><file name="PaymentSystem.php" hash="e7d13200c853536cf641bde7f714b54e"/><file name="SOAP.php" hash="2b966f946889c6f151b222c322d7a0ee"/><file name="TPG_Common.php" hash="0170a3c7f6a01faf9aee9b0f94da6d2a"/></dir></dir><file name="CommonFunctions.php" hash="b667c1886391bbca86058c80dca1af79"/><file name="Direct.php" hash="
|
21 |
<compatible/>
|
22 |
<dependencies><required><php><min>5.1.0</min><max>5.6.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0</min><max>1.9.9</max></package></required></dependencies>
|
23 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Cardsave_Cardsaveonlinepayments</name>
|
4 |
+
<version>1.15.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/gpl.html">GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Payment Plugin for the CardSave Payment Gateway.</summary>
|
10 |
<description>Fully supports 3D secure transactions and all of the integration methods provided by CardSave.</description>
|
11 |
+
<notes>Added stock reduction setting for pending order statuses. See 'Deduct Stock When Order Is Pending' in configuration area for more information.
|
12 |
+

|
13 |
+
Fix to ensure that the hosted payment form values cannot exceed allowed amounts.
|
|
|
|
|
14 |
</notes>
|
15 |
<authors><author><name>CardSave</name><user>CardSave</user><email>alistair.richardson@cardsave.net</email></author></authors>
|
16 |
+
<date>2014-09-30</date>
|
17 |
+
<time>13:57:33</time>
|
18 |
+
<contents><target name="magelocal"><dir name="Cardsave"><dir name="Cardsaveonlinepayments"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Payment.php" hash="1cff6196bd79d3989b960506cc87201e"/></dir></dir></dir><file name="Error.php" hash="660d3cbde48910ef271df9e05130a6d7"/><file name="Form.php" hash="ea5b3817c9607a94f4685d53d0b18569"/><file name="Info.php" hash="57a4bfec1a1c769de063be2b922f4a97"/><file name="Redirect.php" hash="f1d145c83982bdfbb7f73fc7a1acc950"/><file name="Threedsecure.php" hash="9d75776f34c5acaf6ea265f35f302c69"/></dir><dir name="Helper"><file name="Data.php" hash="e024ec0479d1e8e7efcf4751b05194d6"/></dir><dir name="Model"><dir name="Common"><file name="GlobalErrors.php" hash="e0f9062ca2db4c85d17e6939f9bd7641"/><file name="ISOCountries.php" hash="6c59574f190f6a67e38578d876c14edf"/><file name="ISOCurrencies.php" hash="2568f980f09bd8a7d4beaf3d16456d28"/><file name="PaymentFormHelper.php" hash="cf5a1ea6f653f4d5024adf491d5f5ba8"/><dir name="ThePaymentGateway"><file name="PaymentSystem.php" hash="e7d13200c853536cf641bde7f714b54e"/><file name="SOAP.php" hash="2b966f946889c6f151b222c322d7a0ee"/><file name="TPG_Common.php" hash="0170a3c7f6a01faf9aee9b0f94da6d2a"/></dir></dir><file name="CommonFunctions.php" hash="b667c1886391bbca86058c80dca1af79"/><file name="Direct.php" hash="601a9d6d238c68019b819a3e85d17546"/><file name="Request.php" hash="370f028086d13ae1df470e93a67dea66"/><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="b2a7e887464ff91517dbb4fd62f13c66"/></dir></dir></dir><dir name="Source"><file name="HashMethod.php" hash="997928579b69d21ae9eebec698c715c6"/><file name="OrderStatus.php" hash="4c44f8ba1652f20d934aa200ed4c8d00"/><file name="PaymentAction.php" hash="3aab84053c69af1de2e743ee590fdf0c"/><file name="PaymentMode.php" hash="ea8af602bd09d54a123af64bc4b680d0"/><file name="ResultDeliveryMethod.php" hash="afb838319df715e604173d6aa143feab"/></dir></dir><dir name="controllers"><file name="PaymentController.php" hash="ecb152d90cd1ee25b6d0e555f0a21ea3"/></dir><dir name="etc"><file name="config.xml" hash="41d10598438bb48fa5397cdbdc34b493"/><file name="system.xml" hash="693774d47b6fb2262a4e98bc24566036"/></dir><dir name="sql"><dir name="cardsaveonlinepayments_setup"><file name="mysql4-install-0.1.0.php" hash="bda643d24b75e0dc527dc2caa6d47689"/></dir></dir></dir><dir name="Checkout"><dir name="Block"><dir name="Cart"><file name="Totals.php" hash="ca91395788c746c8eef3a4b4f09833f7"/></dir><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="75a8a2961be74499d47ab398a8e1ba8a"/></dir></dir></dir><dir name="Model"><dir name="Type"><file name="Onepage.php" hash="2dc7e8f4e2b0292dc9160e4f9cf9ae5b"/></dir></dir><dir name="etc"><file name="config.xml" hash="9dbd58b6b32491d65e5c7d5850aa3420"/></dir></dir><dir name="Sales"><dir name="Block"><dir name="Order"><file name="Totals.php" hash="ceeea63efb04baded1446aaaab94c825"/></dir></dir><dir name="Model"><dir name="Order"><file name="Invoice.php" hash="cb7816afd62acb20cae32ee665965c12"/><file name="Payment.php" hash="9f7b2b9d6ef5b63101a0991cd2333a9e"/></dir><file name="Order.php" hash="e84594434822e321f271e3e463ddbcb9"/><dir name="Service"><file name="Quote.php" hash="85d5bfcaf589ea7d21180ba97f92e136"/></dir></dir><dir name="etc"><file name="config.xml" hash="41f8d7978cb7e4cfffa0272d80e8f7bd"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="cardsaveonlinepayments"><file name="form.phtml" hash="45978066fc7ee981dec117306a33bb02"/><file name="info.phtml" hash="9765a5eae50cb6fa21dcec22e7767e79"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="cardsaveonlinepayments.xml" hash="65e413716658a000d659271cd174b1e2"/></dir><dir name="template"><dir name="cardsaveonlinepayments"><file name="form.phtml" hash="bf8cf94001d912f6d1e77b1d2b03cf6e"/><file name="info.phtml" hash="9765a5eae50cb6fa21dcec22e7767e79"/></dir><dir name="payment"><dir name="info"><file name="cc_cardsaveonlinepayments.phtml" hash="88065460669f1112779264bdbf710af4"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="cardsaveonlinepayments"><file name="form.phtml" hash="d8c32fe9d0d9584ac03ff7148c18e24a"/><file name="info.phtml" hash="c378bb59f085df95a4a6a5d866fc512d"/><file name="form.phtml" hash="d8c32fe9d0d9584ac03ff7148c18e24a"/><file name="info.phtml" hash="c378bb59f085df95a4a6a5d866fc512d"/></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="template"><dir name="cardsaveonlinepayments"><file name="form.phtml" hash="d8c32fe9d0d9584ac03ff7148c18e24a"/><file name="info.phtml" hash="c378bb59f085df95a4a6a5d866fc512d"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Cardsave_All.xml" hash="e1d59fd8c4d4b5d87607f43fecf47e59"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><file name="cardsaveonlinepayments.js" hash="e7b2422644d39f0eb98e63d54a55ae4d"/></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><file name="cardsave_online.png" hash="d24a379083a48ade742bddda6aa09103"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="images"><file name="cardsave_online.png" hash="d24a379083a48ade742bddda6aa09103"/></dir></dir></dir></dir></target></contents>
|
19 |
<compatible/>
|
20 |
<dependencies><required><php><min>5.1.0</min><max>5.6.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0</min><max>1.9.9</max></package></required></dependencies>
|
21 |
</package>
|