CDev_XPaymentsConnector - Version 1.2.2

Version Notes

Version number: 1.2.2

Download this release

Release Info

Developer Valerii Demidov
Extension CDev_XPaymentsConnector
Version 1.2.2
Comparing to
See all releases


Code changes from version 1.2.1 to 1.2.2

app/code/community/Cdev/XPaymentsConnector/Helper/Data.php CHANGED
@@ -452,28 +452,31 @@ class Cdev_XPaymentsConnector_Helper_Data extends Mage_Payment_Helper_Data
452
  public function checkStartDateData(){
453
  $result = array();
454
  $quoteItem = current(Mage::getSingleton("checkout/session")->getQuote()->getAllItems());
455
- $productAdditionalInfo = unserialize($quoteItem->getProduct()->getCustomOption('info_buyRequest')->getValue());
456
- $dateTimeStamp = strtotime($productAdditionalInfo["recurring_profile_start_datetime"]);
457
- if ($dateTimeStamp) {
458
- $userSetTime = new Zend_Date($productAdditionalInfo["recurring_profile_start_datetime"]);
459
- $currentZendDate = new Zend_Date(time());
460
- if ($userSetTime->getTimestamp() > $currentZendDate->getTimestamp()) {
461
- $result["success"] = true;
462
- $recurringProfileData = $quoteItem->getProduct()->getData("recurring_profile");
463
- $initAmount = $recurringProfileData["init_amount"];
464
- $defaultMinimumPayment = floatval(Mage::getStoreConfig("xpaymentsconnector/settings/xpay_minimum_payment_recurring_amount"));
465
- $minimumPaymentAmount = ($initAmount) ? $initAmount : $defaultMinimumPayment;
466
- $result["minimal_payment_amount"] = $minimumPaymentAmount;
467
- return $result;
 
 
 
 
 
468
  } else {
469
  $result["success"] = false;
470
  return $result;
471
  }
472
- } else {
473
- $result["success"] = false;
474
- return $result;
475
  }
476
-
 
477
  }
478
 
479
  public function getRecurringProfileState(){
452
  public function checkStartDateData(){
453
  $result = array();
454
  $quoteItem = current(Mage::getSingleton("checkout/session")->getQuote()->getAllItems());
455
+ if($quoteItem){
456
+ $productAdditionalInfo = unserialize($quoteItem->getProduct()->getCustomOption('info_buyRequest')->getValue());
457
+ $dateTimeStamp = strtotime($productAdditionalInfo["recurring_profile_start_datetime"]);
458
+ if ($dateTimeStamp) {
459
+ $userSetTime = new Zend_Date($productAdditionalInfo["recurring_profile_start_datetime"]);
460
+ $currentZendDate = new Zend_Date(time());
461
+ if ($userSetTime->getTimestamp() > $currentZendDate->getTimestamp()) {
462
+ $result["success"] = true;
463
+ $recurringProfileData = $quoteItem->getProduct()->getData("recurring_profile");
464
+ $initAmount = $recurringProfileData["init_amount"];
465
+ $defaultMinimumPayment = floatval(Mage::getStoreConfig("xpaymentsconnector/settings/xpay_minimum_payment_recurring_amount"));
466
+ $minimumPaymentAmount = ($initAmount) ? $initAmount : $defaultMinimumPayment;
467
+ $result["minimal_payment_amount"] = $minimumPaymentAmount;
468
+ return $result;
469
+ } else {
470
+ $result["success"] = false;
471
+ return $result;
472
+ }
473
  } else {
474
  $result["success"] = false;
475
  return $result;
476
  }
 
 
 
477
  }
478
+ $result["success"] = false;
479
+ return $result;
480
  }
481
 
482
  public function getRecurringProfileState(){
app/code/community/Cdev/XPaymentsConnector/Model/Payment/Cc.php CHANGED
@@ -999,15 +999,16 @@ class Cdev_XPaymentsConnector_Model_Payment_Cc extends Mage_Payment_Model_Method
999
  $result['items'][] = array(
1000
  'sku' => $product->getData('sku'),
1001
  'name' => $product->getData('name'),
1002
- 'price' => number_format($product->getPrice(), 2, '.',''),
1003
  'quantity' => intval($product->getData('qty_ordered')),
1004
  );
1005
  }
1006
 
1007
  // Set costs
1008
- $result['shippingCost'] = number_format($order->getData('shipping_amount'), 2, '.','');
1009
- $result['taxCost'] = number_format($order->getData('tax_amount'), 2, '.','');
1010
- $result['totalCost'] = number_format($order->getGrandTotal(), 2, '.','');
 
1011
 
1012
  return $result;
1013
  }
@@ -1483,41 +1484,51 @@ class Cdev_XPaymentsConnector_Model_Payment_Cc extends Mage_Payment_Model_Method
1483
  $result = array();
1484
  /*initial fee check*/
1485
  $quoteItem = current($checkoutData->getQuote()->getAllItems());
1486
- $totalCost = 0;
1487
  $forceTransactionType = ($this->isForceAuth()) ? 'A' : 'S';
1488
  $minimalPayment = false;
1489
  $cardAuthorizeAmount = 0;
1490
 
1491
- $result['description'] = 'Order(i-frame) #' . $refId;
 
 
 
 
 
 
 
1492
  if ($quoteItem && $quoteItem->getProduct()->getIsRecurring()) {
1493
  $useStartDateParam = Mage::helper("xpaymentsconnector")->checkStartDateData();
1494
  if ($useStartDateParam["success"]) {
1495
  $minimalPayment = $useStartDateParam["minimal_payment_amount"];
1496
 
1497
- $result['shippingCost'] = number_format(0, 2, '.', '');
1498
- $result['taxCost'] = number_format(0, 2, '.', '');
1499
- $result['totalCost'] = number_format($minimalPayment, 2, '.', '');
1500
  $description = "Recurring profile subscription.";
1501
- $result['description'] = $description;
1502
 
1503
  } else {
 
 
1504
  $totalCost = $quoteItem->getData("nominal_row_total");
1505
- $result['shippingCost'] = number_format($quoteItem->getData("shipping_amount"), 2, '.', '');
1506
- $result['taxCost'] = number_format($quoteItem->getData("tax_amount"), 2, '.', '');
1507
- $result['totalCost'] = number_format($totalCost, 2, '.', '');
1508
  }
1509
 
1510
  } elseif ($isCardAuthorizePayment) {
1511
- $cardAuthorizeAmount = floatval(Mage::getStoreConfig("xpaymentsconnector/settings/xpay_minimum_payment_recurring_amount"));
1512
- $result['shippingCost'] = number_format(0, 2, '.', '');
1513
- $result['taxCost'] = number_format(0, 2, '.', '');
1514
- $result['totalCost'] = number_format($cardAuthorizeAmount, 2, '.', '');
1515
  } else {
 
 
 
 
 
 
 
 
 
 
 
1516
  // Set costs
1517
  $totalCost = $quote->getGrandTotal();
1518
- $result['shippingCost'] = number_format($checkoutData->getData("shippingCost"), 2, '.', '');
1519
- $result['taxCost'] = number_format($checkoutData->getData("taxCost"), 2, '.', '');
1520
- $result['totalCost'] = number_format($totalCost, 2, '.', '');
1521
  }
1522
 
1523
  if(!$customer){
@@ -1526,7 +1537,6 @@ class Cdev_XPaymentsConnector_Model_Payment_Cc extends Mage_Payment_Model_Method
1526
  $customerEmail = $customer->getEmail();
1527
  }
1528
 
1529
-
1530
  $result['billingAddress'] = array(
1531
  'email' => $customerEmail,
1532
  );
@@ -1535,11 +1545,19 @@ class Cdev_XPaymentsConnector_Model_Payment_Cc extends Mage_Payment_Model_Method
1535
  );
1536
  $result['items'] = array();
1537
  $result['currency'] = $this->getCurrency();
1538
- $result['discount'] = 0.00;
 
 
 
 
 
 
1539
  $result['merchantEmail'] = $customerEmail;
1540
  $result['forceTransactionType'] = $forceTransactionType;
1541
  $result['login'] = $customerEmail;
1542
 
 
 
1543
  $namePrefixes = array(
1544
  'billing' => $billingAddress,
1545
  'shipping' => $shippingAddress,
@@ -1557,6 +1575,7 @@ class Cdev_XPaymentsConnector_Model_Payment_Cc extends Mage_Payment_Model_Method
1557
  'fax' => 'telephone',
1558
  );
1559
 
 
1560
  // Prepare shipping and billing address
1561
  $shippingIsEmpty = true;
1562
  foreach ($namePrefixes as $prefix => $data) {
@@ -1601,7 +1620,7 @@ class Cdev_XPaymentsConnector_Model_Payment_Cc extends Mage_Payment_Model_Method
1601
  $result['items'][] = array(
1602
  'sku' => $product->getData('sku'),
1603
  'name' => $product->getData('name'),
1604
- 'price' => number_format($price, 2, '.',''),
1605
  'quantity' => intval($quantity),
1606
  );
1607
  }
@@ -1610,7 +1629,7 @@ class Cdev_XPaymentsConnector_Model_Payment_Cc extends Mage_Payment_Model_Method
1610
  $result['items'][] = array(
1611
  'sku' => "000000",
1612
  'name' => 'Card Authorize',
1613
- 'price' => number_format($cardAuthorizeAmount, 2, '.',''),
1614
  'quantity' => intval(1),
1615
  );
1616
  }
999
  $result['items'][] = array(
1000
  'sku' => $product->getData('sku'),
1001
  'name' => $product->getData('name'),
1002
+ 'price' => number_format($product->getPrice(), 2, '.',0),
1003
  'quantity' => intval($product->getData('qty_ordered')),
1004
  );
1005
  }
1006
 
1007
  // Set costs
1008
+ $result['taxCost'] = number_format($order->getData('tax_amount'), 2, '.',0);
1009
+ $result['discount'] = number_format(abs($order->getDiscountAmount()), 2, '.',0);
1010
+ $result['shippingCost'] = number_format($order->getData('shipping_amount'), 2, '.',0);
1011
+ $result['totalCost'] = number_format($order->getGrandTotal(), 2, '.',0);
1012
 
1013
  return $result;
1014
  }
1484
  $result = array();
1485
  /*initial fee check*/
1486
  $quoteItem = current($checkoutData->getQuote()->getAllItems());
 
1487
  $forceTransactionType = ($this->isForceAuth()) ? 'A' : 'S';
1488
  $minimalPayment = false;
1489
  $cardAuthorizeAmount = 0;
1490
 
1491
+ $totals = $quote->getTotals(); //Total object
1492
+
1493
+ $totalCost = 0;
1494
+ $discount = 0;
1495
+ $tax = 0;
1496
+ $shipping = 0;
1497
+ $description = 'Order(i-frame) #' . $refId;
1498
+
1499
  if ($quoteItem && $quoteItem->getProduct()->getIsRecurring()) {
1500
  $useStartDateParam = Mage::helper("xpaymentsconnector")->checkStartDateData();
1501
  if ($useStartDateParam["success"]) {
1502
  $minimalPayment = $useStartDateParam["minimal_payment_amount"];
1503
 
1504
+ $totalCost = $minimalPayment;
 
 
1505
  $description = "Recurring profile subscription.";
 
1506
 
1507
  } else {
1508
+ $tax = $quoteItem->getData("tax_amount");
1509
+ $shipping = $quoteItem->getData("shipping_amount");
1510
  $totalCost = $quoteItem->getData("nominal_row_total");
1511
+ $discount = abs($quoteItem->getData("discount_amount"));
 
 
1512
  }
1513
 
1514
  } elseif ($isCardAuthorizePayment) {
1515
+
1516
+ $totalCost = floatval(Mage::getStoreConfig("xpaymentsconnector/settings/xpay_minimum_payment_recurring_amount"));
1517
+
 
1518
  } else {
1519
+
1520
+ if (isset($totals['discount']) && $totals['discount']->getValue()) {
1521
+ $discount = abs($totals['discount']->getValue());
1522
+ }
1523
+ if(isset($totals['tax']) && $totals['tax']->getValue()) {
1524
+ $tax = $totals['tax']->getValue();
1525
+ }
1526
+ if(isset($totals['shipping']) && $totals['shipping']->getValue()) {
1527
+ $shipping = $totals['shipping']->getValue();
1528
+ }
1529
+
1530
  // Set costs
1531
  $totalCost = $quote->getGrandTotal();
 
 
 
1532
  }
1533
 
1534
  if(!$customer){
1537
  $customerEmail = $customer->getEmail();
1538
  }
1539
 
 
1540
  $result['billingAddress'] = array(
1541
  'email' => $customerEmail,
1542
  );
1545
  );
1546
  $result['items'] = array();
1547
  $result['currency'] = $this->getCurrency();
1548
+ $result['description'] = $description;
1549
+
1550
+ $result['totalCost'] = number_format($totalCost, 2, '.', 0);
1551
+ $result['shippingCost'] = number_format($shipping, 2, '.', 0);
1552
+ $result['taxCost'] = number_format($tax, 2, '.', 0);
1553
+ $result['discount'] = number_format($discount, 2, '.', 0);
1554
+
1555
  $result['merchantEmail'] = $customerEmail;
1556
  $result['forceTransactionType'] = $forceTransactionType;
1557
  $result['login'] = $customerEmail;
1558
 
1559
+
1560
+
1561
  $namePrefixes = array(
1562
  'billing' => $billingAddress,
1563
  'shipping' => $shippingAddress,
1575
  'fax' => 'telephone',
1576
  );
1577
 
1578
+
1579
  // Prepare shipping and billing address
1580
  $shippingIsEmpty = true;
1581
  foreach ($namePrefixes as $prefix => $data) {
1620
  $result['items'][] = array(
1621
  'sku' => $product->getData('sku'),
1622
  'name' => $product->getData('name'),
1623
+ 'price' => number_format($price, 2, '.',0),
1624
  'quantity' => intval($quantity),
1625
  );
1626
  }
1629
  $result['items'][] = array(
1630
  'sku' => "000000",
1631
  'name' => 'Card Authorize',
1632
+ 'price' => number_format($totalCost, 2, '.',0),
1633
  'quantity' => intval(1),
1634
  );
1635
  }
js/xpayment/checkout-submit.js CHANGED
@@ -54,7 +54,7 @@ function submitXpaymentIframe(iframeCheckUrl) {
54
  }
55
  },
56
  error: function(){
57
- alert('error!');
58
  }
59
  });
60
  }
54
  }
55
  },
56
  error: function(){
57
+ alert("Can't check token state!");
58
  }
59
  });
60
  }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CDev_XPaymentsConnector</name>
4
- <version>1.2.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
@@ -10,11 +10,11 @@
10
  <description>X-Payments connector&#xD;
11
  This extension integrates Magento with X-Payments - a PA-DSS certified payment module.&#xD;
12
  </description>
13
- <notes>Version number: 1.2.1</notes>
14
  <authors><author><name>Valerii Demidov</name><user>Valerii</user><email>vdemidov@corp.web4pro.com.ua</email></author></authors>
15
- <date>2014-07-17</date>
16
- <time>08:09:31</time>
17
- <contents><target name="magecommunity"><dir name="Cdev"><dir name="XPaymentsConnector"><dir name="Block"><dir name="Adminhtml"><dir name="Customer"><dir name="Edit"><dir name="Renderer"><file name="Cardtype.php" hash="62499b375fa9c7ba091ff7763d54a95d"/><file name="Txnid.php" hash="13d4ed0d24df35cc9956dc155b3ce8b5"/></dir><dir name="Tab"><file name="Usercards.php" hash="248e454bc1c43d41013fd5d077b39961"/></dir></dir></dir><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Tab"><file name="Xporderstate.php" hash="c18f9945cc3a67e8687bc14b4a989fa1"/></dir></dir></dir></dir><dir name="Usercards"><file name="Grid.php" hash="ba4e515d5e9342b11d63dc796aa96e8a"/></dir></dir><file name="Beforesuccess.php" hash="60a7d25651a98f71ca67ed70380e1659"/><file name="Cancel.php" hash="3283657e21047278d81ac4478ac81de6"/><dir name="Checkout"><dir name="Onepage"><file name="Settings.php" hash="8d975592555c5f7dd52299f026ee5fb7"/></dir></dir><file name="Control.php" hash="e0ef77a236030598882937acb2a9c4e0"/><dir name="Customer"><dir name="Account"><file name="Navigation.php" hash="aad9aa09d20706f042f1deac00d04473"/></dir><file name="Cardadd.php" hash="6d065170bb39961c921bdb84eac6e209"/><file name="Success.php" hash="54f243e60b735cdd5cd879be65838fee"/><file name="Usercards.php" hash="ce4b7f73fb735a55d914ba0dad38d68a"/></dir><file name="Failure.php" hash="537aec3d3ee63ff1ac2d2300c2ca259e"/><dir name="Form"><file name="Cc.php" hash="ce7a6fe2a208cb736ccd3ccddf39d003"/><file name="Prepaidpayments.php" hash="66959c7b8e7714f80f44da9afde93936"/><file name="Savedcards.php" hash="552579e7918fc666dc6de8983fc185b3"/></dir><dir name="Info"><file name="Cc.php" hash="80ec2f2dd7691519d481977ab7bdcec4"/><file name="Prepaidpayments.php" hash="5046201a95c114c6020696b7d2855b7f"/><file name="Savedcards.php" hash="5e8b71515b6d516621aea6abfda332fe"/></dir><dir name="Recurring"><dir name="Profile"><file name="View.php" hash="ee800cc7d48e437d3e993e5bd6d42a96"/></dir></dir><file name="Redirect.php" hash="e4745b70dbe2d33b327a70eb195c9345"/><file name="Success.php" hash="d2f023bc2206cbb33997b791a57b1b4e"/></dir><dir name="Helper"><file name="Data.php" hash="c2f7dd0c2c7b06b623e06c2a7d8e74be"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Paymentconfiguration"><file name="Collection.php" hash="98760f276af5182d42801865cb116db4"/></dir><file name="Paymentconfiguration.php" hash="ca045f953ec018c583279340c137ff71"/><dir name="Usercards"><file name="Collection.php" hash="6df6d26bef085e86c6db625487006086"/></dir><file name="Usercards.php" hash="ffb98ad5a0c252bbbf14adb086cf0d3c"/></dir><file name="Observer.php" hash="69baec9d0a5d27766ad52c14b1778676"/><dir name="Payment"><file name="Cc.php" hash="7d32e75b3995813ec5a71947eede6a9e"/><file name="Prepaidpayments.php" hash="9bbab2a26748c59609d6c81d8fc37c41"/><dir name="Recurring"><file name="Profile.php" hash="7c0e5c707531e5d258b8c493243c00a1"/></dir><file name="Savedcards.php" hash="e97d591bcdf4b66231aa62cb72b32770"/></dir><file name="Paymentconfiguration.php" hash="c0a6c5b610e42037f9904247e657a0e6"/><dir name="Quote"><dir name="Address"><dir name="Total"><dir name="Nominal"><dir name="Recurring"><file name="Discount.php" hash="9c2ee0abac22865bb349dc11cebd66b2"/></dir></dir><file name="Nominal.php" hash="a835e5ed1692a8712571db963c22bd60"/></dir></dir></dir><file name="Quote.php" hash="6d9e11998cda75b478b0b03297db303a"/><dir name="Sales"><dir name="Recurring"><file name="Profile.php" hash="5f5486cb753946720ad932b6eb5d6831"/></dir></dir><dir name="Source"><file name="Paymentconfiguration.php" hash="eb9b8e1187a4a4f4614582d5f7932c37"/></dir><file name="Usercards.php" hash="049b38f03920a17d5dbd0ba5e3a834cc"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CustomerController.php" hash="8f2bc887259b9d5ae6f3a731e7a2eb6a"/></dir><file name="ControlController.php" hash="92e1380179483d97cd27be1d147833ba"/><file name="CustomerController.php" hash="38cb8af6cf9cf609fd31da5ec79ef263"/><file name="ProcessingController.php" hash="7ab567f40d731ed85bb38172ebcbebf5"/></dir><dir name="etc"><file name="config.xml" hash="cff33030e70acdd9b53b1970cf6bead0"/><file name="system.xml" hash="d9fd273ac8f7ea361a923696af286a8f"/></dir><dir name="sql"><dir name="xpaymentsconnector_setup"><file name="mysql4-install-1.0.0.php" hash="5b6ed901a54700d986dd81029104ed72"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="5e2da32a0f87b747a5e9f3d9095e962a"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="566cd8aa894ff488f60bd718ad8b2772"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="0f44cf02457c2b6a887b399e94b89e57"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="f353d20a6d6ac827be5cd581cc988660"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="9b71385496b9b42e5a79b0cbbc557dff"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="fa79555b4802a96579f314a670ab8ed3"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="b9708303f3160fc0c9347f4600e27aba"/><file name="mysql4-upgrade-1.0.7-1.0.8.php" hash="2d07945a0438bf29f1386e47b2b5498b"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="83a4aace7f0e389c5caaaf97675f6c24"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="xpaymentsconnector.xml" hash="bfe38bbacc0cc7d3a2bc4c51fc0c2a53"/></dir><dir name="template"><dir name="xpaymentsconnector"><file name="control.phtml" hash="66bb941b66f57585b2035f29afcea22d"/><dir name="form"><file name="prepaidpayments.phtml" hash="bfe70a3c62187bcd9915fb621eda58b9"/><file name="savedcards.phtml" hash="27ef4734f19ded0eb98214276a58e550"/></dir><dir name="info"><file name="cc.phtml" hash="67282ccf6f932de083bc477cc4238d22"/><file name="prepaidpayments.phtml" hash="f4bd2aa628257cb1f3450a1632a0b771"/><file name="savedcards.phtml" hash="299a1719dd63755b9d31f25c4d9738ac"/></dir><file name="info.phtml" hash="ab312e6f206c51ff3134b9a3ce5b5440"/><dir name="order"><dir name="view"><dir name="tab"><file name="xporderstate.phtml" hash="9a91a75622f7b2309e1fc16d61552952"/></dir></dir></dir><dir name="pdf"><file name="info.phtml" hash="9603c212b8efd1247ce36239d7365a73"/></dir><dir name="usercards"><dir name="tab"><file name="js.phtml" hash="ae8189ee0b9f0bd09d61692403527331"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="xpaymentsconnector.xml" hash="3c61c475430307e89459a92b44b140e6"/></dir><dir name="template"><dir name="xpaymentsconnector"><file name="blank.phtml" hash="a22778db8681a9aaee22eb2d8f8c6533"/><file name="cancel.phtml" hash="3ba9764fcbf85a3504664b342450ec2b"/><dir name="checkout"><dir name="onepage"><file name="beforesuccess.phtml" hash="8e05eff3705ac40d758c21523640f969"/><dir name="review"><file name="button.phtml" hash="ed96034bc129f74af1020384499840a9"/></dir><file name="settings.phtml" hash="3770940ac85ef9037160f4d1278069be"/><file name="xpayment-iframe.phtml" hash="26e89590e2390602a7c836a6c73d6d01"/></dir></dir><dir name="customer"><file name="cardaddsuccess.phtml" hash="6771721173b99c0cf70391c22d878276"/><dir name="usercards"><file name="cardadd.phtml" hash="6cee3d1ac74fcab72d9eb5284ce01139"/><file name="list.phtml" hash="5bf980a24c788af17cd80a8bf511807f"/></dir></dir><file name="failure.phtml" hash="3d0691440fda2d1f3a314cd151d6ea90"/><dir name="form"><file name="cc.phtml" hash="7c8766bc36d2f9a60e242ae551002437"/><file name="savedcards.phtml" hash="acbfcc5771443fcee06d715c3c049546"/></dir><dir name="info"><file name="cc.phtml" hash="9f96547c119d966eb26c67fb557cf1b8"/><file name="prepaidpayments.phtml" hash="f4bd2aa628257cb1f3450a1632a0b771"/><file name="savedcards.phtml" hash="b44b31ecdf8c653ea8299c9664061b27"/></dir><file name="redirect.phtml" hash="4c9c74e94c9a3015dee181a0ef978550"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Cdev_XPaymentsConnector.xml" hash="3b87bc5a9c17519d38e7de93b5ad13b9"/></dir></target><target name="mage"><dir name="js"><dir name="xpayment"><file name="checkout-submit.js" hash="2473c659fddf7c62d85f05ab4874745c"/><dir name="images"><file name="card_types.png" hash="d35ba97c55e2cc1273a0dd1d7862d84c"/><file name="loader.gif" hash="e67d85a8d2d4021514815d0ff4d65173"/></dir><file name="settings.css" hash="653c4d64a546ef82b63664bd569bafa8"/></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Cdev_XPaymentsConnector.csv" hash="b920adfca23deb393fc0a5a85f5c7527"/></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CDev_XPaymentsConnector</name>
4
+ <version>1.2.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
10
  <description>X-Payments connector&#xD;
11
  This extension integrates Magento with X-Payments - a PA-DSS certified payment module.&#xD;
12
  </description>
13
+ <notes>Version number: 1.2.2</notes>
14
  <authors><author><name>Valerii Demidov</name><user>Valerii</user><email>vdemidov@corp.web4pro.com.ua</email></author></authors>
15
+ <date>2014-08-01</date>
16
+ <time>07:55:37</time>
17
+ <contents><target name="magecommunity"><dir name="Cdev"><dir name="XPaymentsConnector"><dir name="Block"><dir name="Adminhtml"><dir name="Customer"><dir name="Edit"><dir name="Renderer"><file name="Cardtype.php" hash="62499b375fa9c7ba091ff7763d54a95d"/><file name="Txnid.php" hash="13d4ed0d24df35cc9956dc155b3ce8b5"/></dir><dir name="Tab"><file name="Usercards.php" hash="248e454bc1c43d41013fd5d077b39961"/></dir></dir></dir><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Tab"><file name="Xporderstate.php" hash="c18f9945cc3a67e8687bc14b4a989fa1"/></dir></dir></dir></dir><dir name="Usercards"><file name="Grid.php" hash="ba4e515d5e9342b11d63dc796aa96e8a"/></dir></dir><file name="Beforesuccess.php" hash="60a7d25651a98f71ca67ed70380e1659"/><file name="Cancel.php" hash="3283657e21047278d81ac4478ac81de6"/><dir name="Checkout"><dir name="Onepage"><file name="Settings.php" hash="8d975592555c5f7dd52299f026ee5fb7"/></dir></dir><file name="Control.php" hash="e0ef77a236030598882937acb2a9c4e0"/><dir name="Customer"><dir name="Account"><file name="Navigation.php" hash="aad9aa09d20706f042f1deac00d04473"/></dir><file name="Cardadd.php" hash="6d065170bb39961c921bdb84eac6e209"/><file name="Success.php" hash="54f243e60b735cdd5cd879be65838fee"/><file name="Usercards.php" hash="ce4b7f73fb735a55d914ba0dad38d68a"/></dir><file name="Failure.php" hash="537aec3d3ee63ff1ac2d2300c2ca259e"/><dir name="Form"><file name="Cc.php" hash="ce7a6fe2a208cb736ccd3ccddf39d003"/><file name="Prepaidpayments.php" hash="66959c7b8e7714f80f44da9afde93936"/><file name="Savedcards.php" hash="552579e7918fc666dc6de8983fc185b3"/></dir><dir name="Info"><file name="Cc.php" hash="80ec2f2dd7691519d481977ab7bdcec4"/><file name="Prepaidpayments.php" hash="5046201a95c114c6020696b7d2855b7f"/><file name="Savedcards.php" hash="5e8b71515b6d516621aea6abfda332fe"/></dir><dir name="Recurring"><dir name="Profile"><file name="View.php" hash="ee800cc7d48e437d3e993e5bd6d42a96"/></dir></dir><file name="Redirect.php" hash="e4745b70dbe2d33b327a70eb195c9345"/><file name="Success.php" hash="d2f023bc2206cbb33997b791a57b1b4e"/></dir><dir name="Helper"><file name="Data.php" hash="3ea663123bfa3b72a30df327c6fb8338"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Paymentconfiguration"><file name="Collection.php" hash="98760f276af5182d42801865cb116db4"/></dir><file name="Paymentconfiguration.php" hash="ca045f953ec018c583279340c137ff71"/><dir name="Usercards"><file name="Collection.php" hash="6df6d26bef085e86c6db625487006086"/></dir><file name="Usercards.php" hash="ffb98ad5a0c252bbbf14adb086cf0d3c"/></dir><file name="Observer.php" hash="69baec9d0a5d27766ad52c14b1778676"/><dir name="Payment"><file name="Cc.php" hash="1bc8598925fa5c6e21c3f61e915c7bd2"/><file name="Prepaidpayments.php" hash="9bbab2a26748c59609d6c81d8fc37c41"/><dir name="Recurring"><file name="Profile.php" hash="7c0e5c707531e5d258b8c493243c00a1"/></dir><file name="Savedcards.php" hash="e97d591bcdf4b66231aa62cb72b32770"/></dir><file name="Paymentconfiguration.php" hash="c0a6c5b610e42037f9904247e657a0e6"/><dir name="Quote"><dir name="Address"><dir name="Total"><dir name="Nominal"><dir name="Recurring"><file name="Discount.php" hash="9c2ee0abac22865bb349dc11cebd66b2"/></dir></dir><file name="Nominal.php" hash="a835e5ed1692a8712571db963c22bd60"/></dir></dir></dir><file name="Quote.php" hash="6d9e11998cda75b478b0b03297db303a"/><dir name="Sales"><dir name="Recurring"><file name="Profile.php" hash="5f5486cb753946720ad932b6eb5d6831"/></dir></dir><dir name="Source"><file name="Paymentconfiguration.php" hash="eb9b8e1187a4a4f4614582d5f7932c37"/></dir><file name="Usercards.php" hash="049b38f03920a17d5dbd0ba5e3a834cc"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CustomerController.php" hash="8f2bc887259b9d5ae6f3a731e7a2eb6a"/></dir><file name="ControlController.php" hash="92e1380179483d97cd27be1d147833ba"/><file name="CustomerController.php" hash="38cb8af6cf9cf609fd31da5ec79ef263"/><file name="ProcessingController.php" hash="7ab567f40d731ed85bb38172ebcbebf5"/></dir><dir name="etc"><file name="config.xml" hash="cff33030e70acdd9b53b1970cf6bead0"/><file name="system.xml" hash="d9fd273ac8f7ea361a923696af286a8f"/></dir><dir name="sql"><dir name="xpaymentsconnector_setup"><file name="mysql4-install-1.0.0.php" hash="5b6ed901a54700d986dd81029104ed72"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="5e2da32a0f87b747a5e9f3d9095e962a"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="566cd8aa894ff488f60bd718ad8b2772"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="0f44cf02457c2b6a887b399e94b89e57"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="f353d20a6d6ac827be5cd581cc988660"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="9b71385496b9b42e5a79b0cbbc557dff"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="fa79555b4802a96579f314a670ab8ed3"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="b9708303f3160fc0c9347f4600e27aba"/><file name="mysql4-upgrade-1.0.7-1.0.8.php" hash="2d07945a0438bf29f1386e47b2b5498b"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="83a4aace7f0e389c5caaaf97675f6c24"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="xpaymentsconnector.xml" hash="bfe38bbacc0cc7d3a2bc4c51fc0c2a53"/></dir><dir name="template"><dir name="xpaymentsconnector"><file name="control.phtml" hash="66bb941b66f57585b2035f29afcea22d"/><dir name="form"><file name="prepaidpayments.phtml" hash="bfe70a3c62187bcd9915fb621eda58b9"/><file name="savedcards.phtml" hash="27ef4734f19ded0eb98214276a58e550"/></dir><dir name="info"><file name="cc.phtml" hash="67282ccf6f932de083bc477cc4238d22"/><file name="prepaidpayments.phtml" hash="f4bd2aa628257cb1f3450a1632a0b771"/><file name="savedcards.phtml" hash="299a1719dd63755b9d31f25c4d9738ac"/></dir><file name="info.phtml" hash="ab312e6f206c51ff3134b9a3ce5b5440"/><dir name="order"><dir name="view"><dir name="tab"><file name="xporderstate.phtml" hash="9a91a75622f7b2309e1fc16d61552952"/></dir></dir></dir><dir name="pdf"><file name="info.phtml" hash="9603c212b8efd1247ce36239d7365a73"/></dir><dir name="usercards"><dir name="tab"><file name="js.phtml" hash="ae8189ee0b9f0bd09d61692403527331"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="xpaymentsconnector.xml" hash="3c61c475430307e89459a92b44b140e6"/></dir><dir name="template"><dir name="xpaymentsconnector"><file name="blank.phtml" hash="a22778db8681a9aaee22eb2d8f8c6533"/><file name="cancel.phtml" hash="3ba9764fcbf85a3504664b342450ec2b"/><dir name="checkout"><dir name="onepage"><file name="beforesuccess.phtml" hash="8e05eff3705ac40d758c21523640f969"/><dir name="review"><file name="button.phtml" hash="ed96034bc129f74af1020384499840a9"/></dir><file name="settings.phtml" hash="3770940ac85ef9037160f4d1278069be"/><file name="xpayment-iframe.phtml" hash="26e89590e2390602a7c836a6c73d6d01"/></dir></dir><dir name="customer"><file name="cardaddsuccess.phtml" hash="6771721173b99c0cf70391c22d878276"/><dir name="usercards"><file name="cardadd.phtml" hash="6cee3d1ac74fcab72d9eb5284ce01139"/><file name="list.phtml" hash="5bf980a24c788af17cd80a8bf511807f"/></dir></dir><file name="failure.phtml" hash="3d0691440fda2d1f3a314cd151d6ea90"/><dir name="form"><file name="cc.phtml" hash="7c8766bc36d2f9a60e242ae551002437"/><file name="savedcards.phtml" hash="acbfcc5771443fcee06d715c3c049546"/></dir><dir name="info"><file name="cc.phtml" hash="9f96547c119d966eb26c67fb557cf1b8"/><file name="prepaidpayments.phtml" hash="f4bd2aa628257cb1f3450a1632a0b771"/><file name="savedcards.phtml" hash="b44b31ecdf8c653ea8299c9664061b27"/></dir><file name="redirect.phtml" hash="4c9c74e94c9a3015dee181a0ef978550"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Cdev_XPaymentsConnector.xml" hash="3b87bc5a9c17519d38e7de93b5ad13b9"/></dir></target><target name="mage"><dir name="js"><dir name="xpayment"><file name="checkout-submit.js" hash="dc00ba3b3bc9183679272ab1aa7cf456"/><dir name="images"><file name="card_types.png" hash="d35ba97c55e2cc1273a0dd1d7862d84c"/><file name="loader.gif" hash="e67d85a8d2d4021514815d0ff4d65173"/></dir><file name="settings.css" hash="653c4d64a546ef82b63664bd569bafa8"/></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Cdev_XPaymentsConnector.csv" hash="b920adfca23deb393fc0a5a85f5c7527"/></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>