Ogone_ePayments - Version 15.11.09

Version Notes

Download this release

Release Info

Developer Michael Lühr
Extension Ogone_ePayments
Version 15.11.09
Comparing to
See all releases


Code changes from version 15.06.08 to 15.11.09

Files changed (56) hide show
  1. app/code/community/Netresearch/OPS/Block/Adminhtml/Customer/Edit/Tab/Alias.php +1 -1
  2. app/code/community/Netresearch/OPS/Block/Adminhtml/Kwixo/Shipping/Edit.php +1 -1
  3. app/code/community/Netresearch/OPS/Block/System/Config/Support.php +1 -1
  4. app/code/community/Netresearch/OPS/Helper/Payment.php +41 -18
  5. app/code/community/Netresearch/OPS/Helper/Payment/Request.php +57 -27
  6. app/code/community/Netresearch/OPS/Model/Config.php +5 -5
  7. app/code/community/Netresearch/OPS/Model/Payment/Abstract.php +29 -10
  8. app/code/community/Netresearch/OPS/Model/Payment/BelfiusDirectNet.php +3 -6
  9. app/code/community/Netresearch/OPS/Model/Payment/CashU.php +3 -0
  10. app/code/community/Netresearch/OPS/Model/Payment/CbcOnline.php +3 -6
  11. app/code/community/Netresearch/OPS/Model/Payment/ChinaUnionPay.php +2 -14
  12. app/code/community/Netresearch/OPS/Model/Payment/Cod.php +3 -5
  13. app/code/community/Netresearch/OPS/Model/Payment/DirectEbanking.php +1 -1
  14. app/code/community/Netresearch/OPS/Model/Payment/EDankort.php +3 -5
  15. app/code/community/Netresearch/OPS/Model/Payment/Eps.php +3 -7
  16. app/code/community/Netresearch/OPS/Model/Payment/FortisPayButton.php +3 -6
  17. app/code/community/Netresearch/OPS/Model/Payment/GiroPay.php +3 -4
  18. app/code/community/Netresearch/OPS/Model/Payment/IDeal.php +3 -6
  19. app/code/community/Netresearch/OPS/Model/Payment/IngHomePay.php +3 -5
  20. app/code/community/Netresearch/OPS/Model/Payment/InterSolve.php +3 -24
  21. app/code/community/Netresearch/OPS/Model/Payment/KbcOnline.php +3 -5
  22. app/code/community/Netresearch/OPS/Model/Payment/KwixoApresReception.php +1 -16
  23. app/code/community/Netresearch/OPS/Model/Payment/KwixoComptant.php +6 -21
  24. app/code/community/Netresearch/OPS/Model/Payment/KwixoCredit.php +5 -19
  25. app/code/community/Netresearch/OPS/Model/Payment/MiniTix.php +4 -0
  26. app/code/community/Netresearch/OPS/Model/Payment/Mpass.php +3 -6
  27. app/code/community/Netresearch/OPS/Model/Payment/OpenInvoice/Abstract.php +18 -10
  28. app/code/community/Netresearch/OPS/Model/Payment/OpenInvoiceDe.php +2 -7
  29. app/code/community/Netresearch/OPS/Model/Payment/OpenInvoiceNl.php +2 -7
  30. app/code/community/Netresearch/OPS/Model/Payment/Paypal.php +3 -4
  31. app/code/community/Netresearch/OPS/Model/Payment/Paysafecard.php +4 -0
  32. app/code/community/Netresearch/OPS/Model/Payment/PingPing.php +3 -4
  33. app/code/community/Netresearch/OPS/Model/Payment/PostFinanceEFinance.php +3 -6
  34. app/code/community/Netresearch/OPS/Model/Payment/Tunz.php +3 -4
  35. app/code/community/Netresearch/OPS/Model/Payment/Wallie.php +3 -4
  36. app/code/community/Netresearch/OPS/Test/Controller/Adminhtml/KwixocategoryControllerTest.php +22 -0
  37. app/code/community/Netresearch/OPS/Test/Controller/Adminhtml/KwixoshippingControllerTest.php +8 -2
  38. app/code/community/Netresearch/OPS/Test/Helper/DirectDebitTest.php +1 -0
  39. app/code/community/Netresearch/OPS/Test/Helper/Payment/RequestTest.php +1 -1
  40. app/code/community/Netresearch/OPS/Test/Helper/PaymentTest.php +3 -3
  41. app/code/community/Netresearch/OPS/Test/Model/ConfigTest.php +10 -0
  42. app/code/community/Netresearch/OPS/Test/Model/ObserverTest.php +2 -0
  43. app/code/community/Netresearch/OPS/Test/Model/Payment/AbstractTest.php +1 -17
  44. app/code/community/Netresearch/OPS/Test/Model/Payment/ChinaUnionPayTest.php +5 -3
  45. app/code/community/Netresearch/OPS/Test/Model/Payment/DirectEbankingTest.php +5 -10
  46. app/code/community/Netresearch/OPS/Test/Model/Payment/InterSolveTest.php +2 -1
  47. app/code/community/Netresearch/OPS/Test/Model/Payment/KwixoApresReceptionTest.php +3 -0
  48. app/code/community/Netresearch/OPS/Test/Model/Payment/KwixoComptantTest.php +3 -0
  49. app/code/community/Netresearch/OPS/Test/Model/Payment/KwixoCreditTest.php +14 -10
  50. app/code/community/Netresearch/OPS/controllers/Adminhtml/KwixocategoryController.php +24 -13
  51. app/code/community/Netresearch/OPS/controllers/Adminhtml/KwixoshippingController.php +7 -1
  52. app/code/community/Netresearch/OPS/controllers/PaymentController.php +2 -2
  53. app/code/community/Netresearch/OPS/data/ops_setup/data-upgrade-15.06.08-15.11.02.php +44 -0
  54. app/code/community/Netresearch/OPS/etc/config.xml +3 -9
  55. app/design/adminhtml/default/default/template/ops/form/kwixo/shipping.phtml +3 -3
  56. package.xml +1 -1
app/code/community/Netresearch/OPS/Block/Adminhtml/Customer/Edit/Tab/Alias.php CHANGED
@@ -150,7 +150,7 @@ class Netresearch_OPS_Block_Adminhtml_Customer_Edit_Tab_Alias
150
  'actions' => array(
151
  array(
152
  'caption' => Mage::helper('ops')->__('Delete'),
153
- 'url' => array('base' => 'ops/adminhtml_alias/delete'),
154
  'field' => 'id'
155
  )
156
  ),
150
  'actions' => array(
151
  array(
152
  'caption' => Mage::helper('ops')->__('Delete'),
153
+ 'url' => array('base' => 'adminhtml/alias/delete'),
154
  'field' => 'id'
155
  )
156
  ),
app/code/community/Netresearch/OPS/Block/Adminhtml/Kwixo/Shipping/Edit.php CHANGED
@@ -72,7 +72,7 @@ class Netresearch_OPS_Block_Adminhtml_Kwixo_Shipping_Edit
72
  'kwixo_shipping_speed' => '',
73
  'kwixo_shipping_details' => ''
74
  );
75
- if ($this->hasData('postData') && array_key_exists($carrierCode, $this->getData('postData'))) {
76
  $errorData = $this->getData('postData');
77
  $values = $errorData[$carrierCode];
78
  } else {
72
  'kwixo_shipping_speed' => '',
73
  'kwixo_shipping_details' => ''
74
  );
75
+ if (!is_null($this->getData('postData')) && array_key_exists($carrierCode, $this->getData('postData'))) {
76
  $errorData = $this->getData('postData');
77
  $values = $errorData[$carrierCode];
78
  } else {
app/code/community/Netresearch/OPS/Block/System/Config/Support.php CHANGED
@@ -4,7 +4,7 @@ class Netresearch_OPS_Block_System_Config_Support extends Mage_Adminhtml_Block_A
4
  implements Varien_Data_Form_Element_Renderer_Interface
5
  {
6
  protected $_template = 'ops/system/config/support.phtml';
7
- protected $_downloadLogPath = 'ops/adminhtml_admin/downloadlog';
8
 
9
  protected function getConfig()
10
  {
4
  implements Varien_Data_Form_Element_Renderer_Interface
5
  {
6
  protected $_template = 'ops/system/config/support.phtml';
7
+ protected $_downloadLogPath = 'admin/downloadlog';
8
 
9
  protected function getConfig()
10
  {
app/code/community/Netresearch/OPS/Helper/Payment.php CHANGED
@@ -441,11 +441,11 @@ class Netresearch_OPS_Helper_Payment extends Mage_Core_Helper_Abstract
441
  {
442
  try {
443
  Mage::register('ops_auto_void', true); //Set this session value to true to allow cancel
444
-
445
  $order->cancel();
446
  $order->setState(Mage_Sales_Model_Order::STATE_CANCELED, $status, $comment);
447
  $order->save();
448
- $this->cancelInvoices($order);
449
  try {
450
  $this->setPaymentTransactionInformation($order->getPayment(), $params, 'cancel');
451
  } catch (Exception $e) {
@@ -471,6 +471,7 @@ class Netresearch_OPS_Helper_Payment extends Mage_Core_Helper_Abstract
471
  {
472
  try {
473
  Mage::register('ops_auto_void', true); //Set this session value to true to allow cancel
 
474
  $order->cancel();
475
  $order->setState(
476
  Mage_Sales_Model_Order::STATE_CANCELED,
@@ -482,7 +483,7 @@ class Netresearch_OPS_Helper_Payment extends Mage_Core_Helper_Abstract
482
  )
483
  );
484
  $order->save();
485
- $this->cancelInvoices($order);
486
  $this->setPaymentTransactionInformation($order->getPayment(), $params, 'decline');
487
  } catch (Exception $e) {
488
  $this->_getCheckout()->addError(Mage::helper('ops')->__('Order can not be canceled for system reason.'));
@@ -534,7 +535,9 @@ class Netresearch_OPS_Helper_Payment extends Mage_Core_Helper_Abstract
534
  $this->_prepareCCInfo($order, $params);
535
  $order->getPayment()->setLastTransId($params['PAYID']);
536
  //to send new order email only when state is pending payment
537
- if ($order->getState() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT) {
 
 
538
  $order->sendNewOrderEmail();
539
 
540
  }
@@ -606,8 +609,9 @@ class Netresearch_OPS_Helper_Payment extends Mage_Core_Helper_Abstract
606
  Mage::helper('ops')->__('Authorization waiting from Ingenico Payment Services')
607
  );
608
  $order->save();
609
- } elseif ($order->getState() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT
610
- || $instantCapture
 
611
  ) {
612
  if ($status == Netresearch_OPS_Model_Payment_Abstract::OPS_AUTHORIZED) {
613
  if ($order->getStatus() != Mage_Sales_Model_Order::STATE_PENDING_PAYMENT) {
@@ -664,7 +668,11 @@ class Netresearch_OPS_Helper_Payment extends Mage_Core_Helper_Abstract
664
  $this->setInvoicesToPaid($order);
665
  $order->getPayment()->getAuthorizationTransaction()->setIsClosed(true)->save();
666
  $order->getPayment()->addTransaction(Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE, $order->getPayment())->setIsClosed(true)->save();
667
- $order->sendNewOrderEmail();
 
 
 
 
668
  $order->save();
669
  }
670
  if ($this->isInlinePayment($order->getPayment()) && Mage::getModel('ops/config')->getSendInvoice() && Mage::getModel('ops/config')->getPaymentAction($order->getStoreId()) === Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE_CAPTURE) {
@@ -741,21 +749,36 @@ class Netresearch_OPS_Helper_Payment extends Mage_Core_Helper_Abstract
741
  $order->sendNewOrderEmail();
742
  }
743
 
 
744
 
745
-
746
- $payId = $params['PAYID'];
747
- $order->setState(
748
- Mage_Sales_Model_Order::STATE_PROCESSING,
749
- Mage_Sales_Model_Order::STATE_PROCESSING,
750
- Mage::helper('ops')->__(
751
- 'Processed by Ingenico Payment Services. Payment ID: %s. Ingenico Payment Services status: %s.', $payId,
752
- Mage::helper('ops')->getStatusText($status)
753
- )
754
- );
755
  }
756
  $order->save();
757
  }
758
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
759
  /**
760
  * Fetches transaction with given transaction id
761
  *
@@ -1084,7 +1107,7 @@ class Netresearch_OPS_Helper_Payment extends Mage_Core_Helper_Abstract
1084
  {
1085
  /** @var $invoice Mage_Sales_Model_Order_Invoice */
1086
  foreach ($order->getInvoiceCollection() as $invoice) {
1087
- $invoice->setState(Mage_Sales_Model_Order_Invoice::STATE_CANCELED);
1088
  $invoice->save();
1089
  }
1090
 
441
  {
442
  try {
443
  Mage::register('ops_auto_void', true); //Set this session value to true to allow cancel
444
+ $this->cancelInvoices($order);
445
  $order->cancel();
446
  $order->setState(Mage_Sales_Model_Order::STATE_CANCELED, $status, $comment);
447
  $order->save();
448
+
449
  try {
450
  $this->setPaymentTransactionInformation($order->getPayment(), $params, 'cancel');
451
  } catch (Exception $e) {
471
  {
472
  try {
473
  Mage::register('ops_auto_void', true); //Set this session value to true to allow cancel
474
+ $this->cancelInvoices($order);
475
  $order->cancel();
476
  $order->setState(
477
  Mage_Sales_Model_Order::STATE_CANCELED,
483
  )
484
  );
485
  $order->save();
486
+
487
  $this->setPaymentTransactionInformation($order->getPayment(), $params, 'decline');
488
  } catch (Exception $e) {
489
  $this->_getCheckout()->addError(Mage::helper('ops')->__('Order can not be canceled for system reason.'));
535
  $this->_prepareCCInfo($order, $params);
536
  $order->getPayment()->setLastTransId($params['PAYID']);
537
  //to send new order email only when state is pending payment
538
+ if (!$order->getEmailSent() != 1
539
+ && $order->getState() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT
540
+ ) {
541
  $order->sendNewOrderEmail();
542
 
543
  }
609
  Mage::helper('ops')->__('Authorization waiting from Ingenico Payment Services')
610
  );
611
  $order->save();
612
+ } elseif (($order->getState() == Mage_Sales_Model_Order::STATE_PENDING_PAYMENT
613
+ || $instantCapture)
614
+ && !$this->isPaypalSpecialStatus($order->getPayment()->getMethodInstance(), $status)
615
  ) {
616
  if ($status == Netresearch_OPS_Model_Payment_Abstract::OPS_AUTHORIZED) {
617
  if ($order->getStatus() != Mage_Sales_Model_Order::STATE_PENDING_PAYMENT) {
668
  $this->setInvoicesToPaid($order);
669
  $order->getPayment()->getAuthorizationTransaction()->setIsClosed(true)->save();
670
  $order->getPayment()->addTransaction(Mage_Sales_Model_Order_Payment_Transaction::TYPE_CAPTURE, $order->getPayment())->setIsClosed(true)->save();
671
+
672
+ if($order->getEmailSent() != 1) {
673
+ $order->sendNewOrderEmail();
674
+ }
675
+
676
  $order->save();
677
  }
678
  if ($this->isInlinePayment($order->getPayment()) && Mage::getModel('ops/config')->getSendInvoice() && Mage::getModel('ops/config')->getPaymentAction($order->getStoreId()) === Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE_CAPTURE) {
749
  $order->sendNewOrderEmail();
750
  }
751
 
752
+ if(!$this->isPaypalSpecialStatus($order->getPayment()->getMethodInstance(), $status)) {
753
 
754
+ $payId = $params['PAYID'];
755
+ $order->setState(
756
+ Mage_Sales_Model_Order::STATE_PROCESSING,
757
+ Mage_Sales_Model_Order::STATE_PROCESSING,
758
+ Mage::helper('ops')->__(
759
+ 'Processed by Ingenico Payment Services. Payment ID: %s. Ingenico Payment Services status: %s.', $payId,
760
+ Mage::helper('ops')->getStatusText($status)
761
+ )
762
+ );
763
+ }
764
  }
765
  $order->save();
766
  }
767
 
768
+ /**
769
+ * Special status handling for Paypal and status 91
770
+ *
771
+ * @param $pm
772
+ * @param $status
773
+ *
774
+ * @return bool
775
+ */
776
+ protected function isPaypalSpecialStatus($pm, $status)
777
+ {
778
+ return $pm instanceof Netresearch_OPS_Model_Payment_Paypal
779
+ && $status == Netresearch_OPS_Model_Payment_Abstract::OPS_PAYMENT_PROCESSING;
780
+ }
781
+
782
  /**
783
  * Fetches transaction with given transaction id
784
  *
1107
  {
1108
  /** @var $invoice Mage_Sales_Model_Order_Invoice */
1109
  foreach ($order->getInvoiceCollection() as $invoice) {
1110
+ $invoice->cancel();
1111
  $invoice->save();
1112
  }
1113
 
app/code/community/Netresearch/OPS/Helper/Payment/Request.php CHANGED
@@ -12,7 +12,7 @@ class Netresearch_OPS_Helper_Payment_Request
12
  protected $config = null;
13
 
14
  /**
15
- * @param null $config
16
  */
17
  public function setConfig($config)
18
  {
@@ -31,52 +31,86 @@ class Netresearch_OPS_Helper_Payment_Request
31
  return $this->config;
32
  }
33
 
34
-
35
  /**
36
  * extracts the ship to information from a given address
37
  *
38
  * @param Mage_Customer_Model_Address_Abstract $address
39
- * @param Mage_Sales_Model_Quote $quote
40
  *
41
  * @return array - the parameters containing the ship to data
42
  */
43
- public function extractShipToParameters(
44
- Mage_Customer_Model_Address_Abstract $address, $order=null
45
- ) {
46
  $paramValues = array();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  $paramValues['ECOM_SHIPTO_POSTAL_NAME_FIRST'] = $address->getFirstname();
48
  $paramValues['ECOM_SHIPTO_POSTAL_NAME_LAST'] = $address->getLastname();
49
  $paramValues['ECOM_SHIPTO_POSTAL_STREET_LINE1'] = $address->getStreet(1);
50
  $paramValues['ECOM_SHIPTO_POSTAL_STREET_LINE2'] = $address->getStreet(2);
51
- $paramValues['ECOM_SHIPTO_POSTAL_COUNTRYCODE'] = $address->getCountry();
52
- $paramValues['ECOM_SHIPTO_POSTAL_CITY'] = $address->getCity();
53
- $paramValues['ECOM_SHIPTO_POSTAL_POSTALCODE'] = $address->getPostcode();
54
- $paramValues['ECOM_SHIPTO_POSTAL_STATE'] = $this->getIsoRegionCode($address);
55
 
56
  return $paramValues;
57
  }
58
 
59
- public function extractBillToParameters(
60
- Mage_Customer_Model_Address_Abstract $address, $order=null
61
- ) {
 
 
 
 
 
 
 
62
  $paramValues = array();
 
 
 
 
 
 
 
 
 
 
63
  $paramValues['ECOM_BILLTO_POSTAL_CITY'] = $address->getCity();
 
 
64
  $paramValues['ECOM_BILLTO_POSTAL_COUNTRYCODE'] = $this->getCountry();
65
  $paramValues['ECOM_BILLTO_POSTAL_NAME_FIRST'] = $address->getFirstname();
66
  $paramValues['ECOM_BILLTO_POSTAL_NAME_LAST'] = $address->getLastname();
67
  $paramValues['ECOM_BILLTO_POSTAL_POSTALCODE'] = $address->getPostcode();
68
  $paramValues['ECOM_BILLTO_POSTAL_STREET_LINE1'] = $address->getStreet(1);
69
  $paramValues['ECOM_BILLTO_POSTAL_STREET_LINE2'] = $address->getStreet(2);
 
70
 
71
  return $paramValues;
72
  }
 
73
  /**
74
  * extraxcts the according Ingenico Payment Services owner* parameter
75
  *
76
  * @param Mage_Sales_Model_Quote $quote
77
  * @param Mage_Customer_Model_Address_Abstract $billingAddress
78
  *
79
- * @return array
80
  */
81
  public function getOwnerParams(Mage_Sales_Model_Quote $quote, Mage_Customer_Model_Address_Abstract $billingAddress)
82
  {
@@ -101,7 +135,7 @@ class Netresearch_OPS_Helper_Payment_Request
101
  *
102
  * @param Mage_Customer_Model_Address_Abstract $address
103
  *
104
- * @return string - the regin code in iso format
105
  */
106
  public function getIsoRegionCode(Mage_Customer_Model_Address_Abstract $address)
107
  {
@@ -120,8 +154,8 @@ class Netresearch_OPS_Helper_Payment_Request
120
  /**
121
  * checks if the given region code is already in iso format
122
  *
123
- * @param $regionCode
124
- * @param $countryCode
125
  *
126
  * @return bool
127
  */
@@ -468,7 +502,7 @@ class Netresearch_OPS_Helper_Payment_Request
468
  }
469
 
470
  // add shipping item
471
- $shippingItemFields = $this->getShippingItemFormFields($count, $order);
472
  if (is_array($shippingItemFields)) {
473
  $formFields = array_merge($formFields, $shippingItemFields);
474
  }
@@ -498,22 +532,18 @@ class Netresearch_OPS_Helper_Payment_Request
498
  * Genereates item array for shipping, returns false if order is virtual
499
  *
500
  * @param Mage_Sales_Model_Order $order
501
- * @param $count
502
  *
503
  * @return array | false
504
  */
505
- protected function getShippingItemFormFields($count, $order)
506
  {
507
  if ($order->getIsNotVirtual()) {
508
  /* add shipping item */
509
- $formFields['ITEMID' . $count] = 'SHIPPING';
510
- $formFields['ITEMNAME' . $count] = substr($order->getShippingDescription(), 0, 30);
511
- $formFields['ITEMPRICE' . $count] = number_format($order->getBaseShippingInclTax(), 2, '.', '');
512
- $formFields['ITEMQUANT' . $count] = 1;
513
- $formFields['ITEMVATCODE' . $count]
514
  = str_replace(',', '.', (string)(float)$this->getShippingTaxRate($order)) . '%';
515
- $formFields['TAXINCLUDED' . $count] = 1;
516
-
517
  return $formFields;
518
  }
519
 
12
  protected $config = null;
13
 
14
  /**
15
+ * @param Netresearch_OPS_Model_Config $config
16
  */
17
  public function setConfig($config)
18
  {
31
  return $this->config;
32
  }
33
 
 
34
  /**
35
  * extracts the ship to information from a given address
36
  *
37
  * @param Mage_Customer_Model_Address_Abstract $address
38
+ * @param Mage_Sales_Model_Quote || Mage_Sales_Model_Order $salesObject
39
  *
40
  * @return array - the parameters containing the ship to data
41
  */
42
+ public function extractShipToParameters($address, $salesObject = null)
43
+ {
 
44
  $paramValues = array();
45
+
46
+ if (!$address instanceof Mage_Customer_Model_Address_Abstract) {
47
+ // virtual carts may not have a shipping address - so fall back to billing
48
+ if (!is_null($salesObject) && $salesObject->getShippingAddress()) {
49
+ $address = $salesObject->getShippingAddress();
50
+ } else {
51
+ $address = $salesObject->getBillingAddress();
52
+ }
53
+
54
+ if(!$address){
55
+ return $paramValues;
56
+ }
57
+ }
58
+
59
+ $paramValues['ECOM_SHIPTO_POSTAL_CITY'] = $address->getCity();
60
+ $paramValues['ECOM_SHIPTO_POSTAL_POSTALCODE'] = $address->getPostcode();
61
+ $paramValues['ECOM_SHIPTO_POSTAL_STATE'] = $this->getIsoRegionCode($address);
62
+ $paramValues['ECOM_SHIPTO_POSTAL_COUNTRYCODE'] = $address->getCountry();
63
  $paramValues['ECOM_SHIPTO_POSTAL_NAME_FIRST'] = $address->getFirstname();
64
  $paramValues['ECOM_SHIPTO_POSTAL_NAME_LAST'] = $address->getLastname();
65
  $paramValues['ECOM_SHIPTO_POSTAL_STREET_LINE1'] = $address->getStreet(1);
66
  $paramValues['ECOM_SHIPTO_POSTAL_STREET_LINE2'] = $address->getStreet(2);
67
+ $paramValues['ECOM_SHIPTO_POSTAL_STREET_LINE3'] = $address->getStreet(3);
 
 
 
68
 
69
  return $paramValues;
70
  }
71
 
72
+ /**
73
+ * Extracts the billing address parameters for the ECOM_BILLTO fields
74
+ *
75
+ * @param Mage_Customer_Model_Address_Abstract $address
76
+ * @param Mage_Sales_Model_Quote || Mage_Sales_Model_Order $salesObject
77
+ *
78
+ * @return string[] - array containing the ECOM_BILLTO parameters
79
+ */
80
+ public function extractBillToParameters($address, $salesObject = null)
81
+ {
82
  $paramValues = array();
83
+
84
+ if (!$address instanceof Mage_Customer_Model_Address_Abstract) {
85
+ if(!is_null($salesObject)) {
86
+ $address = $salesObject->getBillingAddress();
87
+ }
88
+ if(!$address){
89
+ return $paramValues;
90
+ }
91
+ }
92
+
93
  $paramValues['ECOM_BILLTO_POSTAL_CITY'] = $address->getCity();
94
+ $paramValues['ECOM_BILLTO_POSTAL_POSTALCODE'] = $address->getPostcode();
95
+ $paramValues['ECOM_BILLTO_POSTAL_STATE'] = $this->getIsoRegionCode($address);
96
  $paramValues['ECOM_BILLTO_POSTAL_COUNTRYCODE'] = $this->getCountry();
97
  $paramValues['ECOM_BILLTO_POSTAL_NAME_FIRST'] = $address->getFirstname();
98
  $paramValues['ECOM_BILLTO_POSTAL_NAME_LAST'] = $address->getLastname();
99
  $paramValues['ECOM_BILLTO_POSTAL_POSTALCODE'] = $address->getPostcode();
100
  $paramValues['ECOM_BILLTO_POSTAL_STREET_LINE1'] = $address->getStreet(1);
101
  $paramValues['ECOM_BILLTO_POSTAL_STREET_LINE2'] = $address->getStreet(2);
102
+ $paramValues['ECOM_BILLTO_POSTAL_STREET_LINE3'] = $address->getStreet(3);
103
 
104
  return $paramValues;
105
  }
106
+
107
  /**
108
  * extraxcts the according Ingenico Payment Services owner* parameter
109
  *
110
  * @param Mage_Sales_Model_Quote $quote
111
  * @param Mage_Customer_Model_Address_Abstract $billingAddress
112
  *
113
+ * @return string[]
114
  */
115
  public function getOwnerParams(Mage_Sales_Model_Quote $quote, Mage_Customer_Model_Address_Abstract $billingAddress)
116
  {
135
  *
136
  * @param Mage_Customer_Model_Address_Abstract $address
137
  *
138
+ * @return string - the region code in iso format
139
  */
140
  public function getIsoRegionCode(Mage_Customer_Model_Address_Abstract $address)
141
  {
154
  /**
155
  * checks if the given region code is already in iso format
156
  *
157
+ * @param string $regionCode
158
+ * @param string $countryCode
159
  *
160
  * @return bool
161
  */
502
  }
503
 
504
  // add shipping item
505
+ $shippingItemFields = $this->getShippingItemFormFields($order);
506
  if (is_array($shippingItemFields)) {
507
  $formFields = array_merge($formFields, $shippingItemFields);
508
  }
532
  * Genereates item array for shipping, returns false if order is virtual
533
  *
534
  * @param Mage_Sales_Model_Order $order
 
535
  *
536
  * @return array | false
537
  */
538
+ protected function getShippingItemFormFields($order)
539
  {
540
  if ($order->getIsNotVirtual()) {
541
  /* add shipping item */
542
+ $formFields['ORDERSHIPMETH'] = substr($order->getShippingDescription(), 0, 25);
543
+ $formFields['ORDERSHIPCOST'] = Mage::helper('ops')->getAmount($order->getBaseShippingAmount());
544
+ $formFields['ORDERSHIPTAXCODE']
 
 
545
  = str_replace(',', '.', (string)(float)$this->getShippingTaxRate($order)) . '%';
546
+ $formFields['ORDERSHIPTAX'] = Mage::helper('ops')->getAmount($order->getBaseShippingTaxAmount());
 
547
  return $formFields;
548
  }
549
 
app/code/community/Netresearch/OPS/Model/Config.php CHANGED
@@ -624,13 +624,13 @@ class Netresearch_OPS_Model_Config extends Mage_Payment_Model_Config
624
  }
625
 
626
  /**
627
- * Will always return the base url (https://secure.domain.tld/ncol/)
628
  *
629
- * @return string
630
  */
631
- public function getOpsBaseUrl()
632
  {
633
- return $this->getOpsUrl('base');
634
  }
635
 
636
  /**
@@ -643,7 +643,7 @@ class Netresearch_OPS_Model_Config extends Mage_Payment_Model_Config
643
  */
644
  public function getDefaultOpsUrl($path, $storeId = null)
645
  {
646
- return $this->getOpsBaseUrl() . $this->getMode($storeId) . $this->getOpsUrl($path);
647
  }
648
 
649
  /**
624
  }
625
 
626
  /**
627
+ * Will always return the base url (https://secure.domain.tld/ncol/[test, prod]) for the mode of the store
628
  *
629
+ * @return string Url depending of the mode - will be empty for custom mode
630
  */
631
+ public function getOpsBaseUrl($storeId = null)
632
  {
633
+ return $this->getOpsUrl('base_'.$this->getMode($storeId));
634
  }
635
 
636
  /**
643
  */
644
  public function getDefaultOpsUrl($path, $storeId = null)
645
  {
646
+ return $this->getOpsBaseUrl($storeId) . $this->getOpsUrl($path);
647
  }
648
 
649
  /**
app/code/community/Netresearch/OPS/Model/Payment/Abstract.php CHANGED
@@ -29,6 +29,9 @@
29
  */
30
  class Netresearch_OPS_Model_Payment_Abstract extends Mage_Payment_Model_Method_Abstract
31
  {
 
 
 
32
  protected $_code = 'ops';
33
  protected $_formBlockType = 'ops/form';
34
  protected $_infoBlockType = 'ops/info';
@@ -273,24 +276,30 @@ class Netresearch_OPS_Model_Payment_Abstract extends Mage_Payment_Model_Method_A
273
  if (!$payment->getId()) {
274
  $payment = Mage::getModel('sales/order')->loadByIncrementId($checkout->getLastRealOrderId())->getPayment();
275
  }
276
- return $payment;
277
  }
278
 
279
  public function getOpsBrand($payment=null)
280
  {
281
  if(is_null($payment)){
282
- $payment = $this->getPayment();
 
 
 
 
283
  }
284
- return trim($payment->getAdditionalInformation('PM'));
285
  }
286
 
287
  public function getOpsCode($payment=null)
288
  {
289
  if(is_null($payment)){
290
- $payment = $this->getPayment();
 
 
 
 
291
  }
292
- return trim($payment->getAdditionalInformation('BRAND'));
293
- // return str_replace('ops_', '', $this->_code);
294
  }
295
 
296
  /**
@@ -342,9 +351,11 @@ class Netresearch_OPS_Model_Payment_Abstract extends Mage_Payment_Model_Method_A
342
  public function getShipToParams($shippingAddress)
343
  {
344
  $shipToParams = false;
345
- if ($this->getNeedsShipToParams() && $this->getConfig()->canSubmitExtraParameter()) {
 
 
 
346
  $shipToParams = $this->getRequestHelper()->extractShipToParameters($shippingAddress);
347
-
348
  }
349
 
350
  return $shipToParams;
@@ -360,9 +371,11 @@ class Netresearch_OPS_Model_Payment_Abstract extends Mage_Payment_Model_Method_A
360
  public function getBillToParams($billingAddress)
361
  {
362
  $billToParams = false;
363
- if ($this->getNeedsBillToParams() && $this->getConfig()->canSubmitExtraParameter()) {
 
 
 
364
  $billToParams = $this->getRequestHelper()->extractBillToParameters($billingAddress);
365
-
366
  }
367
 
368
  return $billToParams;
@@ -426,6 +439,11 @@ class Netresearch_OPS_Model_Payment_Abstract extends Mage_Payment_Model_Method_A
426
  $formFields = array_merge($formFields, $billToFormFields);
427
  }
428
 
 
 
 
 
 
429
  $shaSign = Mage::helper('ops/payment')->shaCrypt(Mage::helper('ops/payment')->getSHASign($formFields, null, $order->getStoreId()));
430
 
431
  if($isRequest){
@@ -919,6 +937,7 @@ class Netresearch_OPS_Model_Payment_Abstract extends Mage_Payment_Model_Method_A
919
  */
920
  public function getQuestion($order, $requestParams)
921
  {
 
922
  }
923
 
924
  /**
29
  */
30
  class Netresearch_OPS_Model_Payment_Abstract extends Mage_Payment_Model_Method_Abstract
31
  {
32
+ protected $pm = '';
33
+ protected $brand = '';
34
+
35
  protected $_code = 'ops';
36
  protected $_formBlockType = 'ops/form';
37
  protected $_infoBlockType = 'ops/info';
276
  if (!$payment->getId()) {
277
  $payment = Mage::getModel('sales/order')->loadByIncrementId($checkout->getLastRealOrderId())->getPayment();
278
  }
 
279
  }
280
 
281
  public function getOpsBrand($payment=null)
282
  {
283
  if(is_null($payment)){
284
+ $payment = $this->getInfoInstance();
285
+ }
286
+ $brand = trim($payment->getAdditionalInformation('BRAND'));
287
+ if(!strlen($brand)){
288
+ $brand=$this->brand;
289
  }
290
+ return $brand;
291
  }
292
 
293
  public function getOpsCode($payment=null)
294
  {
295
  if(is_null($payment)){
296
+ $payment = $this->getInfoInstance();
297
+ }
298
+ $pm = trim($payment->getAdditionalInformation('PM'));
299
+ if(!strlen($pm)){
300
+ $pm=$this->pm;
301
  }
302
+ return $pm;
 
303
  }
304
 
305
  /**
351
  public function getShipToParams($shippingAddress)
352
  {
353
  $shipToParams = false;
354
+ if ($this->getNeedsShipToParams()
355
+ && $this->getConfig()->canSubmitExtraParameter()
356
+ && $shippingAddress
357
+ ) {
358
  $shipToParams = $this->getRequestHelper()->extractShipToParameters($shippingAddress);
 
359
  }
360
 
361
  return $shipToParams;
371
  public function getBillToParams($billingAddress)
372
  {
373
  $billToParams = false;
374
+ if ($this->getNeedsBillToParams()
375
+ && $this->getConfig()->canSubmitExtraParameter()
376
+ && $billingAddress
377
+ ) {
378
  $billToParams = $this->getRequestHelper()->extractBillToParameters($billingAddress);
 
379
  }
380
 
381
  return $billToParams;
439
  $formFields = array_merge($formFields, $billToFormFields);
440
  }
441
 
442
+ $cartDataFormFields = $this->getOrderItemData($order);
443
+ if(is_array($cartDataFormFields)){
444
+ $formFields = array_merge($formFields, $cartDataFormFields);
445
+ }
446
+
447
  $shaSign = Mage::helper('ops/payment')->shaCrypt(Mage::helper('ops/payment')->getSHASign($formFields, null, $order->getStoreId()));
448
 
449
  if($isRequest){
937
  */
938
  public function getQuestion($order, $requestParams)
939
  {
940
+ return '';
941
  }
942
 
943
  /**
app/code/community/Netresearch/OPS/Model/Payment/BelfiusDirectNet.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_BelfiusDirectNet
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -18,11 +21,5 @@ class Netresearch_OPS_Model_Payment_BelfiusDirectNet
18
 
19
  /** payment code */
20
  protected $_code = 'ops_belfiusDirectNet';
21
-
22
- /** ops payment code */
23
- public function getOpsCode($payment=null)
24
- {
25
- return 'Belfius Direct Net';
26
- }
27
  }
28
 
10
  class Netresearch_OPS_Model_Payment_BelfiusDirectNet
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'Belfius Direct Net';
14
+ protected $brand = 'Belfius Direct Net';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
21
 
22
  /** payment code */
23
  protected $_code = 'ops_belfiusDirectNet';
 
 
 
 
 
 
24
  }
25
 
app/code/community/Netresearch/OPS/Model/Payment/CashU.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_CashU
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
10
  class Netresearch_OPS_Model_Payment_CashU
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'cashU';
14
+ protected $brand = 'cashU';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
app/code/community/Netresearch/OPS/Model/Payment/CbcOnline.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_CbcOnline
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -18,11 +21,5 @@ class Netresearch_OPS_Model_Payment_CbcOnline
18
 
19
  /** payment code */
20
  protected $_code = 'ops_cbcOnline';
21
-
22
- /** ops payment code */
23
- public function getOpsCode($payment=null)
24
- {
25
- return 'CBC Online';
26
- }
27
  }
28
 
10
  class Netresearch_OPS_Model_Payment_CbcOnline
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'CBC Online';
14
+ protected $brand = 'CBC Online';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
21
 
22
  /** payment code */
23
  protected $_code = 'ops_cbcOnline';
 
 
 
 
 
 
24
  }
25
 
app/code/community/Netresearch/OPS/Model/Payment/ChinaUnionPay.php CHANGED
@@ -30,9 +30,9 @@
30
  class Netresearch_OPS_Model_Payment_ChinaUnionPay
31
  extends Netresearch_OPS_Model_Payment_Abstract
32
  {
 
 
33
  const CODE = 'ops_chinaUnionPay';
34
- const PM = 'PAYDOL_UPOP';
35
- const BRAND = 'UnionPay';
36
 
37
  /** Check if we can capture directly from the backend */
38
  protected $_canBackendDirectCapture = true;
@@ -49,22 +49,10 @@ class Netresearch_OPS_Model_Payment_ChinaUnionPay
49
  /** payment code */
50
  protected $_code = self::CODE;
51
 
52
- public function getOpsCode($payment = null)
53
- {
54
- return self::PM;
55
- }
56
-
57
- public function getOpsBrand($payment = null)
58
- {
59
- return self::BRAND;
60
- }
61
-
62
-
63
  public function getPaymentAction()
64
  {
65
  return Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE_CAPTURE;
66
  }
67
 
68
-
69
  }
70
 
30
  class Netresearch_OPS_Model_Payment_ChinaUnionPay
31
  extends Netresearch_OPS_Model_Payment_Abstract
32
  {
33
+ protected $pm = 'PAYDOL_UPOP';
34
+ protected $brand = 'UnionPay';
35
  const CODE = 'ops_chinaUnionPay';
 
 
36
 
37
  /** Check if we can capture directly from the backend */
38
  protected $_canBackendDirectCapture = true;
49
  /** payment code */
50
  protected $_code = self::CODE;
51
 
 
 
 
 
 
 
 
 
 
 
 
52
  public function getPaymentAction()
53
  {
54
  return Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE_CAPTURE;
55
  }
56
 
 
57
  }
58
 
app/code/community/Netresearch/OPS/Model/Payment/Cod.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_Cod
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -18,10 +21,5 @@ class Netresearch_OPS_Model_Payment_Cod
18
 
19
  /** payment code */
20
  protected $_code = 'ops_cod';
21
-
22
- public function getOpsCode($payment=null)
23
- {
24
- return 'Payment on Delivery';
25
- }
26
  }
27
 
10
  class Netresearch_OPS_Model_Payment_Cod
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'Payment on Delivery';
14
+ protected $brand = 'Payment on Delivery';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
21
 
22
  /** payment code */
23
  protected $_code = 'ops_cod';
 
 
 
 
 
24
  }
25
 
app/code/community/Netresearch/OPS/Model/Payment/DirectEbanking.php CHANGED
@@ -49,7 +49,7 @@ class Netresearch_OPS_Model_Payment_DirectEbanking
49
 
50
  $brand = $this->fixSofortUberweisungBrand($brand);
51
 
52
- $payment = $this->getPayment();
53
  // brand == pm for all DirectEbanking methods
54
  $payment->setAdditionalInformation('PM', $brand);
55
  $payment->setAdditionalInformation('BRAND', $brand);
49
 
50
  $brand = $this->fixSofortUberweisungBrand($brand);
51
 
52
+ $payment = $this->getInfoInstance();
53
  // brand == pm for all DirectEbanking methods
54
  $payment->setAdditionalInformation('PM', $brand);
55
  $payment->setAdditionalInformation('BRAND', $brand);
app/code/community/Netresearch/OPS/Model/Payment/EDankort.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_EDankort
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -19,10 +22,5 @@ class Netresearch_OPS_Model_Payment_EDankort
19
  /** payment code */
20
  protected $_code = 'ops_eDankort';
21
 
22
- /** ops payment code */
23
- public function getOpsCode($payment=null)
24
- {
25
- return 'eDankort';
26
- }
27
  }
28
 
10
  class Netresearch_OPS_Model_Payment_EDankort
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'eDankort';
14
+ protected $brand = 'eDankort';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
22
  /** payment code */
23
  protected $_code = 'ops_eDankort';
24
 
 
 
 
 
 
25
  }
26
 
app/code/community/Netresearch/OPS/Model/Payment/Eps.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_Eps
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -18,11 +21,4 @@ class Netresearch_OPS_Model_Payment_Eps
18
 
19
  /** payment code */
20
  protected $_code = 'ops_eps';
21
-
22
- /** ops payment code */
23
- public function getOpsCode($payment=null)
24
- {
25
- return 'EPS';
26
- }
27
  }
28
-
10
  class Netresearch_OPS_Model_Payment_Eps
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'EPS';
14
+ protected $brand = 'EPS';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
21
 
22
  /** payment code */
23
  protected $_code = 'ops_eps';
 
 
 
 
 
 
24
  }
 
app/code/community/Netresearch/OPS/Model/Payment/FortisPayButton.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_FortisPayButton
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -18,11 +21,5 @@ class Netresearch_OPS_Model_Payment_FortisPayButton
18
 
19
  /** payment code */
20
  protected $_code = 'ops_fortisPayButton';
21
-
22
- /** ops payment code */
23
- public function getOpsCode($payment=null)
24
- {
25
- return 'Fortis Pay Button';
26
- }
27
  }
28
 
10
  class Netresearch_OPS_Model_Payment_FortisPayButton
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'Fortis Pay Button';
14
+ protected $brand = 'Fortis Pay Button';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
21
 
22
  /** payment code */
23
  protected $_code = 'ops_fortisPayButton';
 
 
 
 
 
 
24
  }
25
 
app/code/community/Netresearch/OPS/Model/Payment/GiroPay.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_GiroPay
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -19,9 +22,5 @@ class Netresearch_OPS_Model_Payment_GiroPay
19
  /** payment code */
20
  protected $_code = 'ops_giroPay';
21
 
22
- public function getOpsCode($payment=null)
23
- {
24
- return 'giropay';
25
- }
26
  }
27
 
10
  class Netresearch_OPS_Model_Payment_GiroPay
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'giropay';
14
+ protected $brand = 'giropay';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
22
  /** payment code */
23
  protected $_code = 'ops_giroPay';
24
 
 
 
 
 
25
  }
26
 
app/code/community/Netresearch/OPS/Model/Payment/IDeal.php CHANGED
@@ -11,6 +11,9 @@
11
  class Netresearch_OPS_Model_Payment_IDeal
12
  extends Netresearch_OPS_Model_Payment_Abstract
13
  {
 
 
 
14
  /** Check if we can capture directly from the backend */
15
  protected $_canBackendDirectCapture = true;
16
 
@@ -22,12 +25,6 @@ class Netresearch_OPS_Model_Payment_IDeal
22
  /** payment code */
23
  protected $_code = 'ops_iDeal';
24
 
25
- /** ops payment code */
26
- public function getOpsCode($payment = null)
27
- {
28
- return 'iDEAL';
29
- }
30
-
31
  /**
32
  * adds payment specific information to the payment
33
  *
11
  class Netresearch_OPS_Model_Payment_IDeal
12
  extends Netresearch_OPS_Model_Payment_Abstract
13
  {
14
+ protected $pm = 'iDEAL';
15
+ protected $brand = 'iDEAL';
16
+
17
  /** Check if we can capture directly from the backend */
18
  protected $_canBackendDirectCapture = true;
19
 
25
  /** payment code */
26
  protected $_code = 'ops_iDeal';
27
 
 
 
 
 
 
 
28
  /**
29
  * adds payment specific information to the payment
30
  *
app/code/community/Netresearch/OPS/Model/Payment/IngHomePay.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_IngHomePay
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -19,10 +22,5 @@ class Netresearch_OPS_Model_Payment_IngHomePay
19
  /** payment code */
20
  protected $_code = 'ops_ingHomePay';
21
 
22
- /** ops payment code */
23
- public function getOpsCode($payment = null)
24
- {
25
- return 'ING HomePay';
26
- }
27
  }
28
 
10
  class Netresearch_OPS_Model_Payment_IngHomePay
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'ING HomePay';
14
+ protected $brand = 'ING HomePay';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
22
  /** payment code */
23
  protected $_code = 'ops_ingHomePay';
24
 
 
 
 
 
 
25
  }
26
 
app/code/community/Netresearch/OPS/Model/Payment/InterSolve.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_InterSolve
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -19,30 +22,6 @@ class Netresearch_OPS_Model_Payment_InterSolve
19
  /** payment code */
20
  protected $_code = 'ops_interSolve';
21
 
22
- protected function getPayment($payment=null)
23
- {
24
- if (is_null($payment)) {
25
- $checkout = Mage::getSingleton('checkout/session');
26
- $payment = $checkout->getQuote()->getPayment();
27
- if (!$payment->getId()) {
28
- $payment = Mage::getModel('sales/order')
29
- ->loadByIncrementId($checkout->getLastRealOrderId())
30
- ->getPayment();
31
- }
32
- }
33
- return $payment;
34
- }
35
-
36
- public function getOpsCode($payment = null)
37
- {
38
- return 'InterSolve';
39
- }
40
-
41
- public function getOpsBrand($payment=null)
42
- {
43
- return trim($this->getPayment($payment)->getAdditionalInformation('BRAND'));
44
- }
45
-
46
  /**
47
  * Assign data to info model instance
48
  *
10
  class Netresearch_OPS_Model_Payment_InterSolve
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'InterSolve';
14
+ protected $brand = 'InterSolve';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
22
  /** payment code */
23
  protected $_code = 'ops_interSolve';
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  /**
26
  * Assign data to info model instance
27
  *
app/code/community/Netresearch/OPS/Model/Payment/KbcOnline.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_KbcOnline
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -19,10 +22,5 @@ class Netresearch_OPS_Model_Payment_KbcOnline
19
  /** payment code */
20
  protected $_code = 'ops_kbcOnline';
21
 
22
- /** ops payment code */
23
- public function getOpsCode($payment=null)
24
- {
25
- return 'KBC Online';
26
- }
27
  }
28
 
10
  class Netresearch_OPS_Model_Payment_KbcOnline
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'KBC Online';
14
+ protected $brand = 'KBC Online';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
22
  /** payment code */
23
  protected $_code = 'ops_kbcOnline';
24
 
 
 
 
 
 
25
  }
26
 
app/code/community/Netresearch/OPS/Model/Payment/KwixoApresReception.php CHANGED
@@ -9,8 +9,7 @@
9
  */
10
  class Netresearch_OPS_Model_Payment_KwixoApresReception extends Netresearch_OPS_Model_Payment_Kwixo_Abstract
11
  {
12
-
13
- const OPS_CODE = "KWIXO_RNP";
14
 
15
  /** Check if we can capture directly from the backend */
16
  protected $_canBackendDirectCapture = true;
@@ -23,18 +22,4 @@ class Netresearch_OPS_Model_Payment_KwixoApresReception extends Netresearch_OPS_
23
  /** payment code */
24
  protected $_code = 'ops_kwixoApresReception';
25
 
26
- public function getOpsCode($payment = null)
27
- {
28
- return self::OPS_CODE;
29
- }
30
-
31
- /**
32
- * getter for _code
33
- *
34
- * @return string
35
- */
36
- public function getCode()
37
- {
38
- return $this->_code;
39
- }
40
  }
9
  */
10
  class Netresearch_OPS_Model_Payment_KwixoApresReception extends Netresearch_OPS_Model_Payment_Kwixo_Abstract
11
  {
12
+ protected $pm = 'KWIXO_RNP';
 
13
 
14
  /** Check if we can capture directly from the backend */
15
  protected $_canBackendDirectCapture = true;
22
  /** payment code */
23
  protected $_code = 'ops_kwixoApresReception';
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  }
app/code/community/Netresearch/OPS/Model/Payment/KwixoComptant.php CHANGED
@@ -1,17 +1,17 @@
1
  <?php
 
2
  /**
3
  * Netresearch_OPS_Model_Payment_ApresReception
4
- *
5
- * @package
6
  * @copyright 2013 Netresearch
7
- * @author Sebastian Ertner <sebastian.ertner@netresearch.de>
8
  * @license OSL 3.0
9
  */
10
  class Netresearch_OPS_Model_Payment_KwixoComptant extends Netresearch_OPS_Model_Payment_Kwixo_Abstract
11
  {
12
-
13
- const OPS_CODE = "KWIXO_STANDARD";
14
-
15
  /** Check if we can capture directly from the backend */
16
  protected $_canBackendDirectCapture = true;
17
 
@@ -20,22 +20,7 @@ class Netresearch_OPS_Model_Payment_KwixoComptant extends Netresearch_OPS_Model_
20
  /** info source path */
21
  protected $_infoBlockType = 'ops/info_redirect';
22
 
23
-
24
  /** payment code */
25
  protected $_code = 'ops_kwixoComptant';
26
 
27
- public function getOpsCode($payment = null)
28
- {
29
- return self::OPS_CODE;
30
- }
31
-
32
- /**
33
- * getter for _code
34
- *
35
- * @return string
36
- */
37
- public function getCode()
38
- {
39
- return $this->_code;
40
- }
41
  }
1
  <?php
2
+
3
  /**
4
  * Netresearch_OPS_Model_Payment_ApresReception
5
+ *
6
+ * @package
7
  * @copyright 2013 Netresearch
8
+ * @author Sebastian Ertner <sebastian.ertner@netresearch.de>
9
  * @license OSL 3.0
10
  */
11
  class Netresearch_OPS_Model_Payment_KwixoComptant extends Netresearch_OPS_Model_Payment_Kwixo_Abstract
12
  {
13
+ protected $pm = 'KWIXO_STANDARD';
14
+
 
15
  /** Check if we can capture directly from the backend */
16
  protected $_canBackendDirectCapture = true;
17
 
20
  /** info source path */
21
  protected $_infoBlockType = 'ops/info_redirect';
22
 
 
23
  /** payment code */
24
  protected $_code = 'ops_kwixoComptant';
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  }
app/code/community/Netresearch/OPS/Model/Payment/KwixoCredit.php CHANGED
@@ -2,16 +2,16 @@
2
 
3
  /**
4
  * Netresearch_OPS_Model_Payment_KwixoCredit
5
- *
6
- * @package
7
  * @copyright 2013 Netresearch
8
- * @author Sebastian Ertner <sebastian.ertner@netresearch.de>
9
  * @license OSL 3.0
10
  */
11
  class Netresearch_OPS_Model_Payment_KwixoCredit extends Netresearch_OPS_Model_Payment_Kwixo_Abstract
12
  {
13
- const OPS_CODE = "KWIXO_CREDIT";
14
-
15
  /** Check if we can capture directly from the backend */
16
  protected $_canBackendDirectCapture = true;
17
 
@@ -24,18 +24,4 @@ class Netresearch_OPS_Model_Payment_KwixoCredit extends Netresearch_OPS_Model_Pa
24
  /** payment code */
25
  protected $_code = 'ops_kwixoCredit';
26
 
27
- public function getOpsCode($payment = null)
28
- {
29
- return self::OPS_CODE;
30
- }
31
-
32
- /**
33
- * getter for _code
34
- *
35
- * @return string
36
- */
37
- public function getCode()
38
- {
39
- return $this->_code;
40
- }
41
  }
2
 
3
  /**
4
  * Netresearch_OPS_Model_Payment_KwixoCredit
5
+ *
6
+ * @package
7
  * @copyright 2013 Netresearch
8
+ * @author Sebastian Ertner <sebastian.ertner@netresearch.de>
9
  * @license OSL 3.0
10
  */
11
  class Netresearch_OPS_Model_Payment_KwixoCredit extends Netresearch_OPS_Model_Payment_Kwixo_Abstract
12
  {
13
+ protected $pm = 'KWIXO_CREDIT';
14
+
15
  /** Check if we can capture directly from the backend */
16
  protected $_canBackendDirectCapture = true;
17
 
24
  /** payment code */
25
  protected $_code = 'ops_kwixoCredit';
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  }
app/code/community/Netresearch/OPS/Model/Payment/MiniTix.php CHANGED
@@ -10,6 +10,10 @@
10
  class Netresearch_OPS_Model_Payment_MiniTix
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
10
  class Netresearch_OPS_Model_Payment_MiniTix
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'miniTix';
14
+ protected $brand = 'miniTix';
15
+
16
+
17
  /** Check if we can capture directly from the backend */
18
  protected $_canBackendDirectCapture = true;
19
 
app/code/community/Netresearch/OPS/Model/Payment/Mpass.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_Mpass
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -18,11 +21,5 @@ class Netresearch_OPS_Model_Payment_Mpass
18
 
19
  /** payment code */
20
  protected $_code = 'ops_mpass';
21
-
22
- /** ops payment code */
23
- public function getOpsCode($payment=null)
24
- {
25
- return 'MPASS';
26
- }
27
  }
28
 
10
  class Netresearch_OPS_Model_Payment_Mpass
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'MPASS';
14
+ protected $brand = 'MPASS';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
21
 
22
  /** payment code */
23
  protected $_code = 'ops_mpass';
 
 
 
 
 
 
24
  }
25
 
app/code/community/Netresearch/OPS/Model/Payment/OpenInvoice/Abstract.php CHANGED
@@ -29,29 +29,37 @@
29
  */
30
  class Netresearch_OPS_Model_Payment_OpenInvoice_Abstract extends Netresearch_OPS_Model_Payment_Abstract
31
  {
32
- const CODE = '';
33
-
34
  protected $_needsCartDataForRequest = true;
 
35
 
36
  public function getMethodDependendFormFields($order, $requestParams=null)
37
  {
38
- $formFields = array();
 
39
  $billingAddress = $order->getBillingAddress();
40
- $shippingAddress = $order->getShippingAddress();
41
  $birthday = new DateTime($order->getCustomerDob());
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  //$formFields['ECOM_SHIPTO_POSTAL_NAME_PREFIX'] = $shippingAddress->getPrefix();
44
  $formFields['ECOM_BILLTO_POSTAL_NAME_FIRST'] = substr($billingAddress->getFirstname(), 0, 50);
45
  $formFields['ECOM_BILLTO_POSTAL_NAME_LAST'] = substr($billingAddress->getLastname(), 0, 50);
46
  $formFields['ECOM_SHIPTO_DOB'] = $birthday->format('d/m/Y');
 
47
 
48
  return $formFields;
49
  }
50
 
51
- public function getOpsCode($payment = null)
52
- {
53
- return self::CODE;
54
- }
55
-
56
-
57
  }
29
  */
30
  class Netresearch_OPS_Model_Payment_OpenInvoice_Abstract extends Netresearch_OPS_Model_Payment_Abstract
31
  {
 
 
32
  protected $_needsCartDataForRequest = true;
33
+ protected $_needsShipToParams = false;
34
 
35
  public function getMethodDependendFormFields($order, $requestParams=null)
36
  {
37
+ $formFields = parent::getMethodDependendFormFields($order, $requestParams);
38
+
39
  $billingAddress = $order->getBillingAddress();
 
40
  $birthday = new DateTime($order->getCustomerDob());
41
 
42
+
43
+ $gender = $order->getCustomerGender() == 1 ? 'M' : 'F';
44
+
45
+ $billingAddress = $order->getBillingAddress();
46
+ $street = str_replace("\n", ' ',$billingAddress->getStreet(-1));
47
+ $regexp = '/^([^0-9]*)([0-9].*)$/';
48
+ if (!preg_match($regexp, $street, $splittedStreet)) {
49
+ $splittedStreet[1] = $street;
50
+ $splittedStreet[2] = '';
51
+ }
52
+
53
+ $formFields['OWNERADDRESS'] = trim($splittedStreet[1]);
54
+ $formFields['ECOM_BILLTO_POSTAL_STREET_NUMBER'] = trim($splittedStreet[2]);
55
+
56
  //$formFields['ECOM_SHIPTO_POSTAL_NAME_PREFIX'] = $shippingAddress->getPrefix();
57
  $formFields['ECOM_BILLTO_POSTAL_NAME_FIRST'] = substr($billingAddress->getFirstname(), 0, 50);
58
  $formFields['ECOM_BILLTO_POSTAL_NAME_LAST'] = substr($billingAddress->getLastname(), 0, 50);
59
  $formFields['ECOM_SHIPTO_DOB'] = $birthday->format('d/m/Y');
60
+ $formFields['ECOM_CONSUMER_GENDER'] = $gender;
61
 
62
  return $formFields;
63
  }
64
 
 
 
 
 
 
 
65
  }
app/code/community/Netresearch/OPS/Model/Payment/OpenInvoiceDe.php CHANGED
@@ -10,7 +10,8 @@
10
  class Netresearch_OPS_Model_Payment_OpenInvoiceDe
11
  extends Netresearch_OPS_Model_Payment_OpenInvoice_Abstract
12
  {
13
- const CODE = 'Open Invoice DE';
 
14
 
15
  /** if we can capture directly from the backend */
16
  protected $_canBackendDirectCapture = false;
@@ -62,7 +63,6 @@ class Netresearch_OPS_Model_Payment_OpenInvoiceDe
62
  $formFields = parent::getMethodDependendFormFields($order, $requestParams);
63
 
64
  $shippingAddress = $order->getShippingAddress();
65
- $birthday = new DateTime($order->getCustomerDob());
66
 
67
  $gender = Mage::getSingleton('eav/config')
68
  ->getAttribute('customer', 'gender')
@@ -70,7 +70,6 @@ class Netresearch_OPS_Model_Payment_OpenInvoiceDe
70
  ->getOptionText($order->getCustomerGender());
71
 
72
  $formFields['CIVILITY'] = $gender == 'Male' ? 'Herr' : 'Frau';
73
- $formFields['ORDERSHIPCOST'] = round(100 * $order->getBaseShippingInclTax());
74
 
75
  if (!$this->getConfig()->canSubmitExtraParameter($order->getStoreId())) {
76
  // add the shipto parameters even if the submitOption is false, because they are required for OpenInvoice
@@ -91,9 +90,5 @@ class Netresearch_OPS_Model_Payment_OpenInvoiceDe
91
  return (bool) $this->getConfigData('allow_discounted_carts');
92
  }
93
 
94
- public function getOpsCode($payment = null)
95
- {
96
- return self::CODE;
97
- }
98
  }
99
 
10
  class Netresearch_OPS_Model_Payment_OpenInvoiceDe
11
  extends Netresearch_OPS_Model_Payment_OpenInvoice_Abstract
12
  {
13
+ protected $pm = 'Open Invoice DE';
14
+ protected $brand = 'Open Invoice DE';
15
 
16
  /** if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = false;
63
  $formFields = parent::getMethodDependendFormFields($order, $requestParams);
64
 
65
  $shippingAddress = $order->getShippingAddress();
 
66
 
67
  $gender = Mage::getSingleton('eav/config')
68
  ->getAttribute('customer', 'gender')
70
  ->getOptionText($order->getCustomerGender());
71
 
72
  $formFields['CIVILITY'] = $gender == 'Male' ? 'Herr' : 'Frau';
 
73
 
74
  if (!$this->getConfig()->canSubmitExtraParameter($order->getStoreId())) {
75
  // add the shipto parameters even if the submitOption is false, because they are required for OpenInvoice
90
  return (bool) $this->getConfigData('allow_discounted_carts');
91
  }
92
 
 
 
 
 
93
  }
94
 
app/code/community/Netresearch/OPS/Model/Payment/OpenInvoiceNl.php CHANGED
@@ -10,7 +10,8 @@
10
  class Netresearch_OPS_Model_Payment_OpenInvoiceNl
11
  extends Netresearch_OPS_Model_Payment_OpenInvoice_Abstract
12
  {
13
- const CODE = 'Open Invoice NL';
 
14
 
15
  /** if we can capture directly from the backend */
16
  protected $_canBackendDirectCapture = false;
@@ -141,10 +142,4 @@ class Netresearch_OPS_Model_Payment_OpenInvoiceNl
141
  );
142
  }
143
 
144
- public function getOpsCode($payment = null)
145
- {
146
- return self::CODE;
147
- }
148
-
149
-
150
  }
10
  class Netresearch_OPS_Model_Payment_OpenInvoiceNl
11
  extends Netresearch_OPS_Model_Payment_OpenInvoice_Abstract
12
  {
13
+ protected $pm = 'Open Invoice NL';
14
+ protected $brand = 'Open Invoice NL';
15
 
16
  /** if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = false;
142
  );
143
  }
144
 
 
 
 
 
 
 
145
  }
app/code/community/Netresearch/OPS/Model/Payment/Paypal.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_Paypal
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -19,9 +22,5 @@ class Netresearch_OPS_Model_Payment_Paypal
19
  /** payment code */
20
  protected $_code = 'ops_paypal';
21
 
22
- public function getOpsCode($payment = null)
23
- {
24
- return 'PAYPAL';
25
- }
26
  }
27
 
10
  class Netresearch_OPS_Model_Payment_Paypal
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'PAYPAL';
14
+ protected $brand = 'PAYPAL';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
22
  /** payment code */
23
  protected $_code = 'ops_paypal';
24
 
 
 
 
 
25
  }
26
 
app/code/community/Netresearch/OPS/Model/Payment/Paysafecard.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_Paysafecard
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -18,5 +21,6 @@ class Netresearch_OPS_Model_Payment_Paysafecard
18
 
19
  /** payment code */
20
  protected $_code = 'ops_paysafecard';
 
21
  }
22
 
10
  class Netresearch_OPS_Model_Payment_Paysafecard
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'paysafecard';
14
+ protected $brand = 'paysafecard';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
21
 
22
  /** payment code */
23
  protected $_code = 'ops_paysafecard';
24
+
25
  }
26
 
app/code/community/Netresearch/OPS/Model/Payment/PingPing.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_PingPing
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -19,9 +22,5 @@ class Netresearch_OPS_Model_Payment_PingPing
19
  /** payment code */
20
  protected $_code = 'ops_pingPing';
21
 
22
- public function getOpsCode($payment=null)
23
- {
24
- return 'PingPing';
25
- }
26
  }
27
 
10
  class Netresearch_OPS_Model_Payment_PingPing
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'PingPing';
14
+ protected $brand = 'PingPing';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
22
  /** payment code */
23
  protected $_code = 'ops_pingPing';
24
 
 
 
 
 
25
  }
26
 
app/code/community/Netresearch/OPS/Model/Payment/PostFinanceEFinance.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_PostFinanceEFinance
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -18,11 +21,5 @@ class Netresearch_OPS_Model_Payment_PostFinanceEFinance
18
 
19
  /** payment code */
20
  protected $_code = 'ops_postFinanceEFinance';
21
-
22
- /** ops payment code */
23
- public function getOpsCode($payment=null)
24
- {
25
- return 'PostFinance e-finance';
26
- }
27
  }
28
 
10
  class Netresearch_OPS_Model_Payment_PostFinanceEFinance
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'PostFinance e-finance';
14
+ protected $brand = 'PostFinance e-finance';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
21
 
22
  /** payment code */
23
  protected $_code = 'ops_postFinanceEFinance';
 
 
 
 
 
 
24
  }
25
 
app/code/community/Netresearch/OPS/Model/Payment/Tunz.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_Tunz
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -19,9 +22,5 @@ class Netresearch_OPS_Model_Payment_Tunz
19
  /** payment code */
20
  protected $_code = 'ops_tunz';
21
 
22
- public function getOpsCode($payment=null)
23
- {
24
- return 'TUNZ';
25
- }
26
  }
27
 
10
  class Netresearch_OPS_Model_Payment_Tunz
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'TUNZ';
14
+ protected $brand = 'TUNZ';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
22
  /** payment code */
23
  protected $_code = 'ops_tunz';
24
 
 
 
 
 
25
  }
26
 
app/code/community/Netresearch/OPS/Model/Payment/Wallie.php CHANGED
@@ -10,6 +10,9 @@
10
  class Netresearch_OPS_Model_Payment_Wallie
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
 
 
 
13
  /** Check if we can capture directly from the backend */
14
  protected $_canBackendDirectCapture = true;
15
 
@@ -19,9 +22,5 @@ class Netresearch_OPS_Model_Payment_Wallie
19
  /** payment code */
20
  protected $_code = 'ops_wallie';
21
 
22
- public function getOpsCode($payment = null)
23
- {
24
- return 'Wallie';
25
- }
26
  }
27
 
10
  class Netresearch_OPS_Model_Payment_Wallie
11
  extends Netresearch_OPS_Model_Payment_Abstract
12
  {
13
+ protected $pm = 'Wallie';
14
+ protected $brand = 'Wallie';
15
+
16
  /** Check if we can capture directly from the backend */
17
  protected $_canBackendDirectCapture = true;
18
 
22
  /** payment code */
23
  protected $_code = 'ops_wallie';
24
 
 
 
 
 
25
  }
26
 
app/code/community/Netresearch/OPS/Test/Controller/Adminhtml/KwixocategoryControllerTest.php CHANGED
@@ -2,6 +2,28 @@
2
  class Netresearch_OPS_Test_Controller_Adminhtml_KwixocategoryControllerTest
3
  extends EcomDev_PHPUnit_Test_Case_Controller
4
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
  /**
7
  * @loadFixture category_mapping
2
  class Netresearch_OPS_Test_Controller_Adminhtml_KwixocategoryControllerTest
3
  extends EcomDev_PHPUnit_Test_Case_Controller
4
  {
5
+ public function setUp()
6
+ {
7
+ parent::setUp();
8
+ $fakeUser = $this->getModelMock('admin/user', array('getId', 'getRole'));
9
+ $fakeUser->expects($this->any())
10
+ ->method('getId')
11
+ ->will($this->returnValue(1));
12
+
13
+ $sessionMock = $this->getModelMock(
14
+ 'admin/session', array('getUser', 'init', 'save', 'isAllowed')
15
+ );
16
+ $sessionMock->expects($this->any())
17
+ ->method('getUser')
18
+ ->will($this->returnValue($fakeUser));
19
+
20
+ $sessionMock->expects($this->any())
21
+ ->method('isAllowed')
22
+ ->will($this->returnValue(true));
23
+
24
+ $this->replaceByMock('singleton', 'admin/session', $sessionMock);
25
+ }
26
+
27
 
28
  /**
29
  * @loadFixture category_mapping
app/code/community/Netresearch/OPS/Test/Controller/Adminhtml/KwixoshippingControllerTest.php CHANGED
@@ -23,24 +23,30 @@ class Netresearch_OPS_Test_Controller_Adminhtml_KwixoshippingControllerTest
23
  ->will($this->returnValue(1));
24
 
25
  $sessionMock = $this->getModelMock(
26
- 'admin/session', array('getUser', 'init', 'save')
27
  );
28
  $sessionMock->expects($this->any())
29
  ->method('getUser')
30
  ->will($this->returnValue($fakeUser));
31
- $this->replaceByMock('model', 'admin/session', $sessionMock);
32
 
 
 
 
 
 
33
 
34
  $nodePath = "modules/Enterprise_AdminGws/active";
35
  if (Mage::helper('core/data')->isModuleEnabled('Enterprise_AdminGws')) {
36
  Mage::getConfig()->setNode($nodePath, 'false', true);
37
  }
38
 
 
39
  }
40
 
41
 
42
  public function testIndexAction()
43
  {
 
44
  $this->dispatch('adminhtml/kwixoshipping/index', array());
45
  $this->assertRequestRoute('adminhtml/kwixoshipping/index');
46
  $this->assertLayoutBlockCreated('kwixoshipping');
23
  ->will($this->returnValue(1));
24
 
25
  $sessionMock = $this->getModelMock(
26
+ 'admin/session', array('getUser', 'init', 'save', 'isAllowed')
27
  );
28
  $sessionMock->expects($this->any())
29
  ->method('getUser')
30
  ->will($this->returnValue($fakeUser));
 
31
 
32
+ $sessionMock->expects($this->any())
33
+ ->method('isAllowed')
34
+ ->will($this->returnValue(true));
35
+
36
+ $this->replaceByMock('singleton', 'admin/session', $sessionMock);
37
 
38
  $nodePath = "modules/Enterprise_AdminGws/active";
39
  if (Mage::helper('core/data')->isModuleEnabled('Enterprise_AdminGws')) {
40
  Mage::getConfig()->setNode($nodePath, 'false', true);
41
  }
42
 
43
+
44
  }
45
 
46
 
47
  public function testIndexAction()
48
  {
49
+
50
  $this->dispatch('adminhtml/kwixoshipping/index', array());
51
  $this->assertRequestRoute('adminhtml/kwixoshipping/index');
52
  $this->assertLayoutBlockCreated('kwixoshipping');
app/code/community/Netresearch/OPS/Test/Helper/DirectDebitTest.php CHANGED
@@ -487,6 +487,7 @@ class Netresearch_OPS_Test_Helper_DirectDebitTest
487
  'ECOM_SHIPTO_POSTAL_NAME_LAST' => utf8_decode('Fürstenberg'),
488
  'ECOM_SHIPTO_POSTAL_STREET_LINE1' => utf8_decode('An der Tabaksmühle 3a'),
489
  'ECOM_SHIPTO_POSTAL_STREET_LINE2' => '',
 
490
  'ECOM_SHIPTO_POSTAL_COUNTRYCODE' => 'DE',
491
  'ECOM_SHIPTO_POSTAL_CITY' => 'Leipzig',
492
  'EMAIL' => 'hubertus.von.fuerstenberg@trash-mail.com',
487
  'ECOM_SHIPTO_POSTAL_NAME_LAST' => utf8_decode('Fürstenberg'),
488
  'ECOM_SHIPTO_POSTAL_STREET_LINE1' => utf8_decode('An der Tabaksmühle 3a'),
489
  'ECOM_SHIPTO_POSTAL_STREET_LINE2' => '',
490
+ 'ECOM_SHIPTO_POSTAL_STREET_LINE3' => '',
491
  'ECOM_SHIPTO_POSTAL_COUNTRYCODE' => 'DE',
492
  'ECOM_SHIPTO_POSTAL_CITY' => 'Leipzig',
493
  'EMAIL' => 'hubertus.von.fuerstenberg@trash-mail.com',
app/code/community/Netresearch/OPS/Test/Helper/Payment/RequestTest.php CHANGED
@@ -237,7 +237,7 @@ class Netresearch_OPS_Test_Helper_Payment_RequestTest extends EcomDev_PHPUnit_Te
237
 
238
  $this->assertArrayHasKey('ITEMID1', $formFields);
239
  $this->assertArrayHasKey('ITEMID2', $formFields);
240
- $this->assertArrayHasKey('ITEMID3', $formFields);
241
  }
242
 
243
  public function testExtractOrderItemParametersWithNoItems()
237
 
238
  $this->assertArrayHasKey('ITEMID1', $formFields);
239
  $this->assertArrayHasKey('ITEMID2', $formFields);
240
+ $this->assertArrayHasKey('ORDERSHIPCOST', $formFields);
241
  }
242
 
243
  public function testExtractOrderItemParametersWithNoItems()
app/code/community/Netresearch/OPS/Test/Helper/PaymentTest.php CHANGED
@@ -794,15 +794,15 @@ class Netresearch_OPS_Test_Helper_PaymentTest
794
  $order = $this->getModelMock('sales/order', array('save', 'cancel', 'setState'));
795
  $order->expects($this->once())
796
  ->method('cancel')
797
- ;
798
 
799
 
800
  $paymentHelperMock = $this->getHelperMock('ops/payment', array('setPaymentTransactionInformation', '_getCheckout', 'cancelInvoices'));
801
  $paymentHelperMock->expects($this->never())
802
  ->method('setPaymentTransactionInformation');
803
  $paymentHelperMock->expects($this->once())
804
- ->method('cancelInvoices')
805
- ->will($this->throwException(new Mage_Core_Exception('exceptional case')));
806
 
807
  $paymentHelperMock->expects($this->any())
808
  ->method('_getCheckout')
794
  $order = $this->getModelMock('sales/order', array('save', 'cancel', 'setState'));
795
  $order->expects($this->once())
796
  ->method('cancel')
797
+ ->will($this->throwException(new Mage_Core_Exception('exceptional case')));
798
 
799
 
800
  $paymentHelperMock = $this->getHelperMock('ops/payment', array('setPaymentTransactionInformation', '_getCheckout', 'cancelInvoices'));
801
  $paymentHelperMock->expects($this->never())
802
  ->method('setPaymentTransactionInformation');
803
  $paymentHelperMock->expects($this->once())
804
+ ->method('cancelInvoices');
805
+
806
 
807
  $paymentHelperMock->expects($this->any())
808
  ->method('_getCheckout')
app/code/community/Netresearch/OPS/Test/Model/ConfigTest.php CHANGED
@@ -518,5 +518,15 @@ class Netresearch_OPS_Test_Model_ConfigTest
518
  $config = Mage::getModel('ops/config');
519
  $this->assertEquals($config->getResendPaymentInfoIdentity(), 'sales');
520
  }
 
 
 
 
 
 
 
 
 
 
521
  }
522
 
518
  $config = Mage::getModel('ops/config');
519
  $this->assertEquals($config->getResendPaymentInfoIdentity(), 'sales');
520
  }
521
+
522
+ public function testGetOpsBaseUrl()
523
+ {
524
+ $this->setMode(Netresearch_OPS_Model_Source_Mode::TEST);
525
+ $this->assertEquals('https://secure.domain.tld/ncol/test', $this->_model->getOpsBaseUrl(0));
526
+ $this->setMode(Netresearch_OPS_Model_Source_Mode::PROD);
527
+ $this->assertEquals('https://secure.domain.tld/ncol/prod', $this->_model->getOpsBaseUrl(0));
528
+ $this->setMode(Netresearch_OPS_Model_Source_Mode::CUSTOM);
529
+ $this->assertEmpty($this->_model->getOpsBaseUrl(0));
530
+ }
531
  }
532
 
app/code/community/Netresearch/OPS/Test/Model/ObserverTest.php CHANGED
@@ -342,6 +342,7 @@ class Netresearch_OPS_Test_Model_ObserverTest extends EcomDev_PHPUnit_Test_Case_
342
  'ECOM_SHIPTO_POSTAL_NAME_LAST' => utf8_decode('Fürstenberg'),
343
  'ECOM_SHIPTO_POSTAL_STREET_LINE1' => utf8_decode('An der Tabaksmühle 3a'),
344
  'ECOM_SHIPTO_POSTAL_STREET_LINE2' => '',
 
345
  'ECOM_SHIPTO_POSTAL_COUNTRYCODE' => 'DE',
346
  'ECOM_SHIPTO_POSTAL_CITY' => 'Leipzig',
347
  'ECOM_SHIPTO_POSTAL_STATE' => '',
@@ -372,6 +373,7 @@ class Netresearch_OPS_Test_Model_ObserverTest extends EcomDev_PHPUnit_Test_Case_
372
  'ECOM_SHIPTO_POSTAL_NAME_LAST' => utf8_decode('Fürstenberg'),
373
  'ECOM_SHIPTO_POSTAL_STREET_LINE1' => utf8_decode('An der Tabaksmühle 3a'),
374
  'ECOM_SHIPTO_POSTAL_STREET_LINE2' => '',
 
375
  'ECOM_SHIPTO_POSTAL_COUNTRYCODE' => 'DE',
376
  'ECOM_SHIPTO_POSTAL_CITY' => 'Leipzig',
377
  'ECI' => 1,
342
  'ECOM_SHIPTO_POSTAL_NAME_LAST' => utf8_decode('Fürstenberg'),
343
  'ECOM_SHIPTO_POSTAL_STREET_LINE1' => utf8_decode('An der Tabaksmühle 3a'),
344
  'ECOM_SHIPTO_POSTAL_STREET_LINE2' => '',
345
+ 'ECOM_SHIPTO_POSTAL_STREET_LINE3' => '',
346
  'ECOM_SHIPTO_POSTAL_COUNTRYCODE' => 'DE',
347
  'ECOM_SHIPTO_POSTAL_CITY' => 'Leipzig',
348
  'ECOM_SHIPTO_POSTAL_STATE' => '',
373
  'ECOM_SHIPTO_POSTAL_NAME_LAST' => utf8_decode('Fürstenberg'),
374
  'ECOM_SHIPTO_POSTAL_STREET_LINE1' => utf8_decode('An der Tabaksmühle 3a'),
375
  'ECOM_SHIPTO_POSTAL_STREET_LINE2' => '',
376
+ 'ECOM_SHIPTO_POSTAL_STREET_LINE3' => '',
377
  'ECOM_SHIPTO_POSTAL_COUNTRYCODE' => 'DE',
378
  'ECOM_SHIPTO_POSTAL_CITY' => 'Leipzig',
379
  'ECI' => 1,
app/code/community/Netresearch/OPS/Test/Model/Payment/AbstractTest.php CHANGED
@@ -128,25 +128,9 @@ class Netresearch_OPS_Test_Model_Payment_AbstractTest
128
  ->method('getId')
129
  ->will($this->returnValue('1'));
130
  $this->replaceByMock('model', 'sales/quote_payment', $payment);
131
- $quote = $this->getModelMock(
132
- 'sales/quote', array('getPayment', 'getQuoteId')
133
- );
134
- $quote->expects($this->any())
135
- ->method('getQuoteId')
136
- ->will($this->returnValue('321'));
137
- $quote->expects($this->any())
138
- ->method('getPayment')
139
- ->will($this->returnValue($payment));
140
-
141
- $session = Mage::getSingleton(
142
- 'checkout/session',
143
- array(
144
- 'last_real_order_id' => '123',
145
- 'quote' => $quote
146
- )
147
- );
148
 
149
  $method = Mage::getModel('ops/payment_bankTransfer');
 
150
  try {
151
  $method->assignData(array('country_id' => 'DE'));
152
  } catch (Mage_Core_Exception $e) {
128
  ->method('getId')
129
  ->will($this->returnValue('1'));
130
  $this->replaceByMock('model', 'sales/quote_payment', $payment);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
 
132
  $method = Mage::getModel('ops/payment_bankTransfer');
133
+ $method->setInfoInstance($payment);
134
  try {
135
  $method->assignData(array('country_id' => 'DE'));
136
  } catch (Mage_Core_Exception $e) {
app/code/community/Netresearch/OPS/Test/Model/Payment/ChinaUnionPayTest.php CHANGED
@@ -10,6 +10,7 @@ class Netresearch_OPS_Test_Model_Payment_ChinaUnionPayTest extends EcomDev_PHPUn
10
  {
11
  parent::setUp();
12
  $this->model = Mage::getModel('ops/payment_chinaUnionPay');
 
13
  }
14
 
15
  /**
@@ -22,12 +23,12 @@ class Netresearch_OPS_Test_Model_Payment_ChinaUnionPayTest extends EcomDev_PHPUn
22
 
23
  public function testGetOpsCode()
24
  {
25
- $this->assertEquals(Netresearch_OPS_Model_Payment_ChinaUnionPay::PM, $this->model->getOpsCode());
26
  }
27
 
28
  public function testGetOpsBrand()
29
  {
30
- $this->assertEquals(Netresearch_OPS_Model_Payment_ChinaUnionPay::BRAND, $this->model->getOpsBrand());
31
  }
32
 
33
 
@@ -40,6 +41,7 @@ class Netresearch_OPS_Test_Model_Payment_ChinaUnionPayTest extends EcomDev_PHPUn
40
  {
41
  $this->assertEquals(
42
  Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE_CAPTURE,
43
- $this->model->getPaymentAction());
 
44
  }
45
  }
10
  {
11
  parent::setUp();
12
  $this->model = Mage::getModel('ops/payment_chinaUnionPay');
13
+ $this->model->setInfoInstance(Mage::getModel('payment/info'));
14
  }
15
 
16
  /**
23
 
24
  public function testGetOpsCode()
25
  {
26
+ $this->assertEquals('PAYDOL_UPOP', $this->model->getOpsCode());
27
  }
28
 
29
  public function testGetOpsBrand()
30
  {
31
+ $this->assertEquals('UnionPay', $this->model->getOpsBrand());
32
  }
33
 
34
 
41
  {
42
  $this->assertEquals(
43
  Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE_CAPTURE,
44
+ $this->model->getPaymentAction()
45
+ );
46
  }
47
  }
app/code/community/Netresearch/OPS/Test/Model/Payment/DirectEbankingTest.php CHANGED
@@ -9,16 +9,11 @@ class Netresearch_OPS_Test_Model_Payment_DirectEbankingTest extends EcomDev_PHPU
9
  $payment = Mage::getModel('sales/order_payment');
10
  $infoInstance = new Varien_Object();
11
 
12
- $modelMock = $this->getModelMock('ops/payment_DirectEbanking', array('getPayment', 'getInfoInstance'));
13
- $modelMock->expects($this->any())
14
- ->method('getPayment')
15
- ->will($this->returnValue($payment));
16
- $modelMock->expects($this->any())
17
- ->method('getInfoInstance')
18
- ->will($this->returnValue($infoInstance));
19
- $modelMock = $modelMock->assignData($data);
20
- $this->assertEquals($modelMock->getOpsBrand(), 'DirectEbanking');
21
- $this->assertEquals($modelMock->getOpsCode(), 'DirectEbanking');
22
  }
23
 
24
  }
9
  $payment = Mage::getModel('sales/order_payment');
10
  $infoInstance = new Varien_Object();
11
 
12
+ $method = Mage::getModel('ops/payment_directEbanking');
13
+ $method->setInfoInstance(Mage::getModel('sales/quote_payment'));
14
+ $method = $method->assignData($data);
15
+ $this->assertEquals($method->getOpsBrand(), 'DirectEbanking');
16
+ $this->assertEquals($method->getOpsCode(), 'DirectEbanking');
 
 
 
 
 
17
  }
18
 
19
  }
app/code/community/Netresearch/OPS/Test/Model/Payment/InterSolveTest.php CHANGED
@@ -29,7 +29,8 @@ class Netresearch_OPS_Test_Model_Payment_InterSolveTest extends EcomDev_PHPUnit_
29
 
30
  public function testPm()
31
  {
32
- $this->assertEquals('InterSolve', Mage::getModel('ops/payment_interSolve')->getOpsCode());
 
33
  }
34
 
35
  public function testBrand()
29
 
30
  public function testPm()
31
  {
32
+ $payment = Mage::getModel('payment/info');
33
+ $this->assertEquals('InterSolve', Mage::getModel('ops/payment_interSolve')->getOpsCode($payment));
34
  }
35
 
36
  public function testBrand()
app/code/community/Netresearch/OPS/Test/Model/Payment/KwixoApresReceptionTest.php CHANGED
@@ -11,6 +11,7 @@
11
  */
12
  class Netresearch_OPS_Test_Model_Payment_KwixoApresReceptionTest extends EcomDev_PHPUnit_Test_Case_Config
13
  {
 
14
  private $kwixoApresReceptionModel;
15
 
16
  private $store;
@@ -19,7 +20,9 @@ class Netresearch_OPS_Test_Model_Payment_KwixoApresReceptionTest extends EcomDev
19
  public function setUp()
20
  {
21
  parent::setup();
 
22
  $this->kwixoApresReceptionModel = Mage::getModel('ops/payment_kwixoApresReception');
 
23
  $this->store = Mage::app()->getStore(0)->load(0);
24
  }
25
 
11
  */
12
  class Netresearch_OPS_Test_Model_Payment_KwixoApresReceptionTest extends EcomDev_PHPUnit_Test_Case_Config
13
  {
14
+ /** @var Netresearch_OPS_Model_Payment_KwixoApresReception */
15
  private $kwixoApresReceptionModel;
16
 
17
  private $store;
20
  public function setUp()
21
  {
22
  parent::setup();
23
+ $payment = Mage::getModel('payment/info');
24
  $this->kwixoApresReceptionModel = Mage::getModel('ops/payment_kwixoApresReception');
25
+ $this->kwixoApresReceptionModel->setInfoInstance($payment);
26
  $this->store = Mage::app()->getStore(0)->load(0);
27
  }
28
 
app/code/community/Netresearch/OPS/Test/Model/Payment/KwixoComptantTest.php CHANGED
@@ -11,6 +11,7 @@
11
  */
12
  class Netresearch_OPS_Test_Model_Payment_KwixoComptantTest extends EcomDev_PHPUnit_Test_Case_Config
13
  {
 
14
  private $kwixoComptantModel;
15
 
16
  private $store;
@@ -19,7 +20,9 @@ class Netresearch_OPS_Test_Model_Payment_KwixoComptantTest extends EcomDev_PHPUn
19
  public function setUp()
20
  {
21
  parent::setup();
 
22
  $this->kwixoComptantModel = Mage::getModel('ops/payment_kwixoComptant');
 
23
  $this->store = Mage::app()->getStore(0)->load(0);
24
  }
25
 
11
  */
12
  class Netresearch_OPS_Test_Model_Payment_KwixoComptantTest extends EcomDev_PHPUnit_Test_Case_Config
13
  {
14
+ /** @var Netresearch_OPS_Model_Payment_KwixoComptant kwixoComptantModel */
15
  private $kwixoComptantModel;
16
 
17
  private $store;
20
  public function setUp()
21
  {
22
  parent::setup();
23
+ $payment = Mage::getModel('payment/info');
24
  $this->kwixoComptantModel = Mage::getModel('ops/payment_kwixoComptant');
25
+ $this->kwixoComptantModel->setInfoInstance($payment);
26
  $this->store = Mage::app()->getStore(0)->load(0);
27
  }
28
 
app/code/community/Netresearch/OPS/Test/Model/Payment/KwixoCreditTest.php CHANGED
@@ -11,6 +11,7 @@
11
  */
12
  class Netresearch_OPS_Test_Model_Payment_KwixoCreditTest extends EcomDev_PHPUnit_Test_Case_Config
13
  {
 
14
  private $kwixoCreditModel;
15
 
16
  private $store;
@@ -20,31 +21,34 @@ class Netresearch_OPS_Test_Model_Payment_KwixoCreditTest extends EcomDev_PHPUnit
20
  {
21
  parent::setup();
22
  $this->kwixoCreditModel = Mage::getModel('ops/payment_KwixoCredit');
 
23
  $this->store = Mage::app()->getStore(0)->load(0);
24
  }
25
 
26
 
27
  public function testGetOpsCode()
28
  {
29
- $this->assertEquals('KWIXO_CREDIT',$this->kwixoCreditModel->getOpsCode());
30
  }
31
 
32
  public function testGetCode()
33
  {
34
- $this->assertEquals('ops_kwixoCredit',$this->kwixoCreditModel->getCode());
35
  }
36
 
37
 
38
  public function testGetDeliveryDate()
39
  {
40
- $this->setUp();
41
- $dateNow = date("Y-m-d");
42
- $path = 'payment/ops_kwixoCredit/delivery_date';
43
- $this->store->setConfig($path, "0");
44
- $this->assertEquals($dateNow,$this->kwixoCreditModel->getEstimatedDeliveryDate('ops_kwixoCredit'));
45
- $dateNowPlusFiveDays = strtotime($dateNow ."+ 5 days");
46
- $this->store->setConfig($path, "5");
47
- $this->assertEquals(date("Y-m-d",$dateNowPlusFiveDays),$this->kwixoCreditModel->getEstimatedDeliveryDate('ops_kwixoCredit'));
 
 
48
  }
49
 
50
  public function testGetFormBlockType()
11
  */
12
  class Netresearch_OPS_Test_Model_Payment_KwixoCreditTest extends EcomDev_PHPUnit_Test_Case_Config
13
  {
14
+ /** @var Netresearch_OPS_Model_Payment_KwixoCredit $kwixoCreditModel */
15
  private $kwixoCreditModel;
16
 
17
  private $store;
21
  {
22
  parent::setup();
23
  $this->kwixoCreditModel = Mage::getModel('ops/payment_KwixoCredit');
24
+ $this->kwixoCreditModel->setInfoInstance(Mage::getModel('payment/info'));
25
  $this->store = Mage::app()->getStore(0)->load(0);
26
  }
27
 
28
 
29
  public function testGetOpsCode()
30
  {
31
+ $this->assertEquals('KWIXO_CREDIT', $this->kwixoCreditModel->getOpsCode());
32
  }
33
 
34
  public function testGetCode()
35
  {
36
+ $this->assertEquals('ops_kwixoCredit', $this->kwixoCreditModel->getCode());
37
  }
38
 
39
 
40
  public function testGetDeliveryDate()
41
  {
42
+ $this->setUp();
43
+ $dateNow = date("Y-m-d");
44
+ $path = 'payment/ops_kwixoCredit/delivery_date';
45
+ $this->store->setConfig($path, "0");
46
+ $this->assertEquals($dateNow, $this->kwixoCreditModel->getEstimatedDeliveryDate('ops_kwixoCredit'));
47
+ $dateNowPlusFiveDays = strtotime($dateNow . "+ 5 days");
48
+ $this->store->setConfig($path, "5");
49
+ $this->assertEquals(date("Y-m-d", $dateNowPlusFiveDays),
50
+ $this->kwixoCreditModel->getEstimatedDeliveryDate('ops_kwixoCredit')
51
+ );
52
  }
53
 
54
  public function testGetFormBlockType()
app/code/community/Netresearch/OPS/controllers/Adminhtml/KwixocategoryController.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Netresearch_OPS_AdminController
4
  *
@@ -32,6 +33,7 @@ class Netresearch_OPS_Adminhtml_KwixocategoryController
32
  $this->_redirect(
33
  '*/*/', array('_current' => true, 'id' => null)
34
  );
 
35
  return false;
36
  }
37
  }
@@ -40,6 +42,7 @@ class Netresearch_OPS_Adminhtml_KwixocategoryController
40
 
41
  Mage::register('category', $category);
42
  Mage::register('current_category', $category);
 
43
  return $category;
44
  }
45
 
@@ -62,17 +65,17 @@ class Netresearch_OPS_Adminhtml_KwixocategoryController
62
  $this->getResponse()->setBody(
63
  Zend_Json::encode(
64
  array(
65
- 'data' => $block->getTree(),
66
- 'parameters' => array(
67
- 'text' => $block->buildNodeName($root),
68
- 'draggable' => false,
69
- 'allowDrop' => false,
70
- 'id' => (int)$root->getId(),
71
- 'expanded' => (int)$block->getIsWasExpanded(),
72
- 'store_id' => (int)$block->getStore()->getId(),
73
- 'category_id' => (int)$category->getId(),
74
- 'root_visible' => (int)$root->getIsVisible()
75
- ))
76
  )
77
  );
78
  }
@@ -137,12 +140,13 @@ class Netresearch_OPS_Adminhtml_KwixocategoryController
137
  }
138
 
139
  $prevCategoryId = Mage::getSingleton('admin/session')
140
- ->getLastEditedCategory(true);
141
  if ($prevCategoryId && !$this->getRequest()->getQuery('isAjax')) {
142
  $this->getRequest()->setParam('id', $prevCategoryId);
143
  }
144
  if ($redirect) {
145
  $this->_redirect('*/*/edit', $params);
 
146
  return;
147
  }
148
 
@@ -176,6 +180,7 @@ class Netresearch_OPS_Adminhtml_KwixocategoryController
176
  'ops/adminhtml_kwixocategory_edit'
177
  )->setController('kwixocategory')->toHtml()
178
  );
 
179
  return;
180
  }
181
  $this->_redirect('*/*/index', $params);
@@ -189,7 +194,9 @@ class Netresearch_OPS_Adminhtml_KwixocategoryController
189
  } catch (Exception $e) {
190
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
191
  }
192
- $this->_redirect('*/*/index/', array('_current' => true, "id" => $post['category_id'], "store" => $post['storeId']));
 
 
193
  }
194
 
195
  public function deleteAction()
@@ -208,5 +215,9 @@ class Netresearch_OPS_Adminhtml_KwixocategoryController
208
  $this->_redirect('*/*/index/', array("id" => $id, "store" => $storeId));
209
  }
210
 
 
 
 
 
211
 
212
  }
1
  <?php
2
+
3
  /**
4
  * Netresearch_OPS_AdminController
5
  *
33
  $this->_redirect(
34
  '*/*/', array('_current' => true, 'id' => null)
35
  );
36
+
37
  return false;
38
  }
39
  }
42
 
43
  Mage::register('category', $category);
44
  Mage::register('current_category', $category);
45
+
46
  return $category;
47
  }
48
 
65
  $this->getResponse()->setBody(
66
  Zend_Json::encode(
67
  array(
68
+ 'data' => $block->getTree(),
69
+ 'parameters' => array(
70
+ 'text' => $block->buildNodeName($root),
71
+ 'draggable' => false,
72
+ 'allowDrop' => false,
73
+ 'id' => (int)$root->getId(),
74
+ 'expanded' => (int)$block->getIsWasExpanded(),
75
+ 'store_id' => (int)$block->getStore()->getId(),
76
+ 'category_id' => (int)$category->getId(),
77
+ 'root_visible' => (int)$root->getIsVisible()
78
+ ))
79
  )
80
  );
81
  }
140
  }
141
 
142
  $prevCategoryId = Mage::getSingleton('admin/session')
143
+ ->getLastEditedCategory(true);
144
  if ($prevCategoryId && !$this->getRequest()->getQuery('isAjax')) {
145
  $this->getRequest()->setParam('id', $prevCategoryId);
146
  }
147
  if ($redirect) {
148
  $this->_redirect('*/*/edit', $params);
149
+
150
  return;
151
  }
152
 
180
  'ops/adminhtml_kwixocategory_edit'
181
  )->setController('kwixocategory')->toHtml()
182
  );
183
+
184
  return;
185
  }
186
  $this->_redirect('*/*/index', $params);
194
  } catch (Exception $e) {
195
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
196
  }
197
+ $this->_redirect('*/*/index/',
198
+ array('_current' => true, "id" => $post['category_id'], "store" => $post['storeId'])
199
+ );
200
  }
201
 
202
  public function deleteAction()
215
  $this->_redirect('*/*/index/', array("id" => $id, "store" => $storeId));
216
  }
217
 
218
+ protected function _isAllowed()
219
+ {
220
+ return Mage::getSingleton('admin/session')->isAllowed('catalog/categories');
221
+ }
222
 
223
  }
app/code/community/Netresearch/OPS/controllers/Adminhtml/KwixoshippingController.php CHANGED
@@ -78,4 +78,10 @@ class Netresearch_OPS_Adminhtml_KwixoshippingController
78
  $this->_redirect('adminhtml/kwixoshipping/index');
79
  }
80
 
81
- }
 
 
 
 
 
 
78
  $this->_redirect('adminhtml/kwixoshipping/index');
79
  }
80
 
81
+ protected function _isAllowed()
82
+ {
83
+ return Mage::getSingleton('admin/session')->isAllowed('sales/shipment');
84
+ }
85
+
86
+
87
+ }
app/code/community/Netresearch/OPS/controllers/PaymentController.php CHANGED
@@ -80,7 +80,7 @@ class Netresearch_OPS_PaymentController extends Netresearch_OPS_Controller_Abstr
80
  $order = $this->_getOrder();
81
  $this->_getCheckout()->setLastSuccessQuoteId($order->getQuoteId());
82
  $this->_getCheckout()->setLastQuoteId($order->getQuoteId());
83
- $this->_getCheckout()->setLastOrderId($order->getQuoteId());
84
  } catch (Exception $e) {
85
  $helper = Mage::helper('ops');
86
  $helper->log($helper->__("Exception in acceptAction: " . $e->getMessage()));
@@ -150,7 +150,7 @@ class Netresearch_OPS_PaymentController extends Netresearch_OPS_Controller_Abstr
150
  $order = $this->_getOrder();
151
  $this->_getCheckout()->setLastSuccessQuoteId($order->getQuoteId());
152
  $this->_getCheckout()->setLastQuoteId($order->getQuoteId());
153
- $this->_getCheckout()->setLastOrderId($order->getQuoteId());
154
  $this->_redirect('checkout/onepage/success');
155
  }
156
 
80
  $order = $this->_getOrder();
81
  $this->_getCheckout()->setLastSuccessQuoteId($order->getQuoteId());
82
  $this->_getCheckout()->setLastQuoteId($order->getQuoteId());
83
+ $this->_getCheckout()->setLastOrderId($order->getId());
84
  } catch (Exception $e) {
85
  $helper = Mage::helper('ops');
86
  $helper->log($helper->__("Exception in acceptAction: " . $e->getMessage()));
150
  $order = $this->_getOrder();
151
  $this->_getCheckout()->setLastSuccessQuoteId($order->getQuoteId());
152
  $this->_getCheckout()->setLastQuoteId($order->getQuoteId());
153
+ $this->_getCheckout()->setLastOrderId($order->getId());
154
  $this->_redirect('checkout/onepage/success');
155
  }
156
 
app/code/community/Netresearch/OPS/data/ops_setup/data-upgrade-15.06.08-15.11.02.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Netresearch_OPS
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Do not edit or add to this file if you wish to upgrade this extension to
15
+ * newer versions in the future.
16
+ *
17
+ * @copyright Copyright (c) 2015 Netresearch GmbH & Co. KG (http://www.netresearch.de/)
18
+ * @license Open Software License (OSL 3.0)
19
+ * @link http://opensource.org/licenses/osl-3.0.php
20
+ */
21
+
22
+ /**
23
+ * Add variable to whitelist due to APPSEC-1057/SUPEE-6788
24
+ *
25
+ * @category OPS
26
+ * @package Netresearch_OPS
27
+ * @author Paul Siedler <paul.siedler@netresearch.de>
28
+ */
29
+ ?>
30
+ <?php
31
+
32
+ /** @var Mage_Core_Model_Resource_Setup $installer */
33
+ $installer = $this;
34
+ $variableName = 'trans_email/ident_support/email';
35
+
36
+ $adminVersion = Mage::getConfig()->getModuleConfig('Mage_Admin')->version;
37
+ if (version_compare($adminVersion, '1.6.1.1', '>')) {
38
+ /** @var Mage_Admin_Model_Variable $variable */
39
+ $variable = Mage::getModel('admin/variable')->load($variableName, 'variable_name');
40
+
41
+ $variable->setData('variable_name', $variableName)
42
+ ->setData('is_allowed', 1)
43
+ ->save();
44
+ }
app/code/community/Netresearch/OPS/etc/config.xml CHANGED
@@ -28,7 +28,7 @@
28
  <config>
29
  <modules>
30
  <Netresearch_OPS>
31
- <version>15.06.08</version>
32
  </Netresearch_OPS>
33
  </modules>
34
  <global>
@@ -156,13 +156,6 @@
156
  </modules>
157
  </args>
158
  </adminhtml>
159
- <ops>
160
- <use>standard</use>
161
- <args>
162
- <module>Netresearch_OPS</module>
163
- <frontName>ops</frontName>
164
- </args>
165
- </ops>
166
  </routers>
167
  </admin>
168
  <adminhtml>
@@ -282,7 +275,8 @@
282
  <template>ops</template>
283
  <mode>custom</mode>
284
  <url>
285
- <base>https://secure.ogone.com/ncol/</base>
 
286
  <ops_gateway>/orderstandard_utf8.asp</ops_gateway>
287
  <ops_alias_gateway>/alias_gateway_utf8.asp</ops_alias_gateway>
288
  <frontend_gateway>/orderstandard_utf8.asp</frontend_gateway>
28
  <config>
29
  <modules>
30
  <Netresearch_OPS>
31
+ <version>15.11.09</version>
32
  </Netresearch_OPS>
33
  </modules>
34
  <global>
156
  </modules>
157
  </args>
158
  </adminhtml>
 
 
 
 
 
 
 
159
  </routers>
160
  </admin>
161
  <adminhtml>
275
  <template>ops</template>
276
  <mode>custom</mode>
277
  <url>
278
+ <base_prod>https://secure.ogone.com/ncol/prod</base_prod>
279
+ <base_test>https://secure.ogone.com/ncol/test</base_test>
280
  <ops_gateway>/orderstandard_utf8.asp</ops_gateway>
281
  <ops_alias_gateway>/alias_gateway_utf8.asp</ops_alias_gateway>
282
  <frontend_gateway>/orderstandard_utf8.asp</frontend_gateway>
app/design/adminhtml/default/default/template/ops/form/kwixo/shipping.phtml CHANGED
@@ -53,7 +53,7 @@ if (0 < count($shippingMethods)):
53
  ): ?>
54
  <option
55
  value="<?php echo $kwixoShippingType['value']; ?>"
56
- <?php if ($kwixoShippingType['value'] == $values['kwixo_shipping_type']): ?>
57
  selected="selected"
58
  <?php endif; ?>
59
  >
@@ -70,7 +70,7 @@ if (0 < count($shippingMethods)):
70
  <td>
71
  <input type="text" class="input-text"
72
  name="<?php echo $code; ?>[kwixo_shipping_speed]"
73
- value="<?php echo $values['kwixo_shipping_speed']; ?>"
74
  />
75
  <?php if (array_key_exists('kwixo_shipping_speed_error', $values)): ?>
76
  <div class="error">
@@ -81,7 +81,7 @@ if (0 < count($shippingMethods)):
81
  <td>
82
  <input type="text" class="input-text"
83
  name="<?php echo $code; ?>[kwixo_shipping_details]"
84
- value="<?php echo $values['kwixo_shipping_details']; ?>"
85
  />
86
  <?php if (array_key_exists('kwixo_shipping_details_error', $values)): ?>
87
  <div class="error">
53
  ): ?>
54
  <option
55
  value="<?php echo $kwixoShippingType['value']; ?>"
56
+ <?php if (array_key_exists('kwixo_shipping_type', $values) && $kwixoShippingType['value'] == $values['kwixo_shipping_type']): ?>
57
  selected="selected"
58
  <?php endif; ?>
59
  >
70
  <td>
71
  <input type="text" class="input-text"
72
  name="<?php echo $code; ?>[kwixo_shipping_speed]"
73
+ value="<?php echo array_key_exists('kwixo_shipping_speed', $values)? $values['kwixo_shipping_speed'] : ''; ?>"
74
  />
75
  <?php if (array_key_exists('kwixo_shipping_speed_error', $values)): ?>
76
  <div class="error">
81
  <td>
82
  <input type="text" class="input-text"
83
  name="<?php echo $code; ?>[kwixo_shipping_details]"
84
+ value="<?php echo array_key_exists('kwixo_shipping_details', $values)? $values['kwixo_shipping_details'] : '';; ?>"
85
  />
86
  <?php if (array_key_exists('kwixo_shipping_details_error', $values)): ?>
87
  <div class="error">
package.xml CHANGED
@@ -1,2 +1,2 @@
1
  <?xml version="1.0"?>
2
- <package><name>Ogone</name><version>15.06.08</version><stability>stable</stability><license>OSL3</license><channel>community</channel><extends></extends><summary>Ingenico Payment services</summary><description>The official Ingenico Payment Services Module</description><notes></notes><authors><author><name>Michael L&#xFC;hr</name><user>MichaelLuehr</user><email>michael.luehr@netresearch.de</email></author></authors><date>2015-06-08</date><time>3:50:39</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="skin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="ops.css" hash="c028df2c5236880d4f5a2bb51aac6ceb"/></dir><dir name="images"><dir name="ops"><dir name="kwixo"><file name="apres_reception.jpg" hash="1d990d1b7c535a04eeb755fadd3323c0"/><file name="comptant.jpg" hash="4452f353667bca7d4f98d84076bb8dde"/><file name="credit.jpg" hash="93d7eeb2fbb57aa6a23585e01b4f6e0e"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><file name="ops.css" hash="94d06b794318c6b27ec6cc7fb8721ce4"/><dir name="js"><dir name="ops"><file name="payment.js" hash="3d8ac68519313d06ed943aa1d3a5340b"/></dir></dir></dir></dir></dir></dir><dir name="app"><dir name="locale"><dir name="de_DE"><file name="Netresearch_OPS.csv" hash="e750953539797b4a60108c9277e29e64"/><dir name="template"><dir name="email"><dir name="ops"><file name="ops_email_resend_payment_info.html" hash="db1971f8912d7463e9883ee15286fdb6"/></dir></dir></dir></dir><dir name="it_IT"><file name="Netresearch_OPS.csv" hash="1577b7eb69b574e1d93d3344d875f109"/></dir><dir name="nl_NL"><file name="Netresearch_OPS.csv" hash="da80eb8ab115596b7b85bea27ca797b7"/></dir><dir name="en_US"><file name="Netresearch_OPS.csv" hash="bd519db1c578565a2e9a33f8c77ecb8d"/><dir name="template"><dir name="email"><dir name="ops"><file name="ops_email_resend_payment_info.html" hash="541cb15bf5c9a256b58219cba3591576"/></dir></dir></dir></dir><dir name="fr_FR"><file name="Netresearch_OPS.csv" hash="62a6d672b11740459e8681e9a4e85ddc"/></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="ops"><file name="form.phtml" hash="bcca86e302a8e8c23698e47c6efd7fdd"/><file name="frauddetection.phtml" hash="88cfdceed6ecc2379b7478f18c5e108c"/><file name="info.phtml" hash="ab903c6655ff46d650829043d6e81f5f"/><file name="paypage.phtml" hash="296ed4b5132a7005d3ed31cd1b73347d"/><file name="placeform.phtml" hash="504bd411d44dc5751b22c8cfe6fbfcce"/><file name="placeform3dsecure.phtml" hash="b78269abb72aab3faa7f9ed566c15430"/><dir name="customer"><dir name="alias"><file name="list.phtml" hash="dca43772ecae9f6bcdfa5f590ffd981c"/></dir></dir><dir name="info"><file name="alias.phtml" hash="fbfbeb775bdf9f665f27a9c82119cd29"/><file name="cc.phtml" hash="3aaceec6b1504c13a4757f4eeed7f72d"/><file name="opsId.phtml" hash="80900b80b7564e6178789a71b8f5e3d6"/><file name="redirect.phtml" hash="79bfef65bf737a291939adefa4bf26e6"/></dir><dir name="form"><file name="alias.phtml" hash="e8dc63bb11d3b7d0e9a61d0f88cc9877"/><file name="ideal.phtml" hash="9ea3e504be12dabbf433a228f4fd7eba"/><file name="other.phtml" hash="630056086374c087ae7ed82eec9b45f8"/><dir name="kwixo"><file name="apres_reception.phtml" hash="3f0afdb85696a62410ddb170c939d1c5"/><file name="comptant.phtml" hash="2a6ab9884375d9bd99d9160d00283d85"/><file name="credit.phtml" hash="de5650273e9fef7775d04e9326220249"/></dir></dir></dir></dir><dir name="layout"><file name="ops.xml" hash="d70e7924540ffc52f4a8153302d22033"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="ops"><file name="categoriestree.phtml" hash="5159f62105c978f7bfb51326d2f99cc0"/><file name="info.phtml" hash="27596da4f99818af71a1a5ad8778ecc0"/><dir name="info"><file name="cc.phtml" hash="5b2ab8ca86d40103bed6db23c839b549"/><file name="opsId.phtml" hash="3cce07989543bf66b8ebe3eba12d493a"/><file name="redirect.phtml" hash="16f4d44b6716fa7c543534fecbcb205b"/></dir><dir name="sales"><dir name="order"><dir name="invoice"><dir name="warning"><file name="open-invoice.phtml" hash="3f49e63f4785fed61be125e383b52d3b"/></dir></dir><dir name="creditmemo"><dir name="warning"><file name="openinvoicenl.phtml" hash="0b2906fbf8fb3c6d99bd9c8208f4869d"/></dir><dir name="totals"><file name="checkbox.phtml" hash="880236e567930deb1189e4ce95eb9626"/></dir><dir name="closed-transaction"><file name="warning.phtml" hash="14b4e8e46382c10ad4fa330475f2427b"/></dir></dir></dir></dir><dir name="system"><dir name="config"><file name="kwixoconfiglinks.phtml" hash="4b832195dc1a220cd32bed1b8d791784"/><file name="support.phtml" hash="74fce7726f423456eae4105f2bd3b51b"/></dir></dir><dir name="form"><file name="cc.phtml" hash="44c42a966e35ec6bf033f753aa410b76"/><file name="directDebit.phtml" hash="d9332487c13c4cb947d1171f0896e487"/><file name="opsId.phtml" hash="71bce45ad8256a37077c810f6cc76c67"/><dir name="kwixo"><file name="category.phtml" hash="eede6c977cf7ebe6e77e680910fc3df7"/><file name="shipping.phtml" hash="7d6b13ec1a61e5f1b206a1e9676bac0c"/></dir></dir></dir></dir><dir name="layout"><file name="ops.xml" hash="26342da4fa9742fe639f9c749a54e277"/></dir></dir></dir></dir></dir><dir name="code"><dir name="community"><dir name="Netresearch"><dir name="OPS"><dir name="sql"><dir name="ops_setup"><file name="mysql4-install-1.0.1.php" hash="8310cbcc045a399772a4f24b354f4688"/><file name="mysql4-upgrade-1.0.1-12.12.03.php" hash="3f1ad2f1dcaea8e129c5cbe108563385"/><file name="mysql4-upgrade-13.04.10-13.04.16.php" hash="f94b907ad855d29cbc299036de16ef46"/><file name="mysql4-upgrade-13.05.30-13.06.07.php" hash="ffcdd931218285338937b5d49477486c"/><file name="mysql4-upgrade-13.06.07-13.07.04.php" hash="302f2fea29688d9eb2f306d71362c262"/><file name="mysql4-upgrade-13.07.10-13.07.23.php" hash="ceb4a2aee7f68ce4c2d85f9b82ce4240"/><file name="mysql4-upgrade-13.11.04-13.11.05.php" hash="4c5d2d5bf45d6e6a826fe32f3915e80e"/><file name="mysql4-upgrade-14.01.27-14.02.05.php" hash="c77a8a2180a44fbd537aebccb806147d"/></dir></dir><dir name="Controller"><file name="Abstract.php" hash="e956cc92c7fc77dd01bd69d5d28abadc"/></dir><dir name="Test"><dir name="Controller"><file name="ApiControllerTest.php" hash="90754a21d0dada3dd0201c2398fd817e"/><file name="PaymentControllerTest.php" hash="d8ad199204d63a3c5a07d72a99df1212"/><dir name="Adminhtml"><file name="AdminControllerTest.php" hash="9929b7d6d3b709239e7a79acdee988e8"/><file name="KwixocategoryControllerTest.php" hash="b7cfa8e1366ebd4814d38834653d0f41"/><file name="KwixoshippingControllerTest.php" hash="9b64c50dbc54dab0a4ad1945dfa545fc"/><file name="OpsstatusControllerTest.php" hash="380a0d91545fe2b21e41b131476eb8b5"/><dir name="KwixocategoryControllerTest"><dir name="fixtures"><file name="category_mapping.yaml" hash="eb9c31076e7ca9b0ae627fe4793c554c"/></dir></dir><dir name="KwixoshippingControllerTest"><dir name="fixtures"><file name="shipping_settings.yaml" hash="7e6c11812894b1f13353983bd83443e9"/></dir></dir></dir></dir><dir name="Helper"><file name="AliasTest.php" hash="583dcb6f70fa3d86ed42fd37fee8bb1f"/><file name="ApiTest.php" hash="e29c72b3c87c481d9b383fedfc8cc498"/><file name="DataTest.php" hash="07d85b4579957d24943c4a157fa7831a"/><file name="DirectDebitTest.php" hash="8ecff3b5155b2ecd7f54d22609c191f5"/><file name="DirectLinkTest.php" hash="769a1fdfe90747dbc84b7ddc33ddadbc"/><file name="KwixoTest.php" hash="780b94af0b0d3982914b0a156718c597"/><file name="OrderTest.php" hash="719b8d1ce909cba29d810440f1d095f3"/><file name="PaymentTest.php" hash="0779b7bdc80b4cd7c2226aa5e5fcc9e9"/><file name="QuoteTest.php" hash="e7d4314dd4a831f3be0154d3fd010b1a"/><file name="VersionTest.php" hash="73a3cdcdf8ce6f6d6c52861fd851252c"/><dir name="KwixoTest"><dir name="fixtures"><file name="category_mapping.yaml" hash="aeda66674aaf1cd5c6bd09f1c5d2cfd0"/></dir></dir><dir name="OrderTest"><dir name="fixtures"><file name="order.yaml" hash="0d3331a6405770fe85da3c53278a606d"/></dir></dir><dir name="Payment"><file name="RequestTest.php" hash="e58b0149b98996bf7cf755c0082f0921"/><dir name="DirectLink"><file name="RequestTest.php" hash="8d779d38c1d1bd6f1f829349fb361d05"/></dir></dir><dir name="Validation"><file name="ResultTest.php" hash="d1f78c064631fc7c08c47d70aea3c210"/><dir name="ResultTest"><dir name="fixtures"><file name="quotes.yaml" hash="1bdf98ba844d78d02b0c0fe773085931"/></dir></dir><dir name="Checkout"><file name="StepTest.php" hash="580d62fa4dbca48b57f7e6a413d65e4a"/></dir></dir><dir name="Order"><file name="CaptureTest.php" hash="1048a781112d23256c91ad96c0c93f1a"/><file name="RefundTest.php" hash="3031b10fcec45cebeab8afef7a1654a7"/><file name="VoidTest.php" hash="98d52dede8001e2ea3e54ce2f5f07387"/></dir></dir><dir name="Model"><file name="ConfigTest.php" hash="61a108eaa2e7f65c0fa52b2a6c3ffe66"/><file name="ObserverTest.php" hash="e1abe672d1e3aa977b8a56896d92d016"/><dir name="Mysql4"><file name="AliasTest.php" hash="8b3894362f762561b930cb5b6a58b741"/><dir name="Alias"><file name="AliasTest.php" hash="abd64ea898ab80ae396d9f20c4d78e3a"/></dir></dir><dir name="Source"><file name="ModeTest.php" hash="97237c752c74af73046a5684b919d8cb"/><file name="OrderReferenceTest.php" hash="fc78f1604c81ac093764403f429898ba"/><dir name="Cc"><file name="AliasInterfaceEnabledTypesTest.php" hash="11e3eb870c8bf03dee77b48ae3186907"/></dir><dir name="DirectEbanking"><file name="BrandsTest.php" hash="5290165b57e0d02588aba5cd713f6d4a"/></dir><dir name="Kwixo"><file name="ProductCategoriesTest.php" hash="6032dddeb4a3327a95da3186c4824be3"/><file name="ShipMethodTypeTest.php" hash="8cd09f6cb9283345a33b15b95128310c"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Design"><file name="BrandsTest.php" hash="2e37e802e3338e6da80ea646f7ff53c7"/></dir></dir></dir></dir><dir name="File"><file name="Download.php" hash="3d79f6786d1779e128dd34148154f71c"/></dir><dir name="Api"><file name="DirectLinkShaTest.php" hash="68ada430361699d5bf62ee30df024feb"/><file name="DirectLinkTest.php" hash="70e5a09c25cad38039ded45d84288a6f"/></dir><dir name="Payment"><file name="AbstractCaptureTest.php" hash="66a88e7389af9038998728cf56228780"/><file name="AbstractRefundTest.php" hash="0fef94a9db682a31b13090a2e7fba9f4"/><file name="AbstractTest.php" hash="b883104dcdb5dc3cfcb896d6fec92932"/><file name="CcTest.php" hash="fda205086cd1077a3feed40ef8163136"/><file name="ChinaUnionPayTest.php" hash="f6d32973b62aafa593473349c3ee7c34"/><file name="DirectDebitTest.php" hash="7f2b79a941d6b88361823a0765cf2823"/><file name="DirectEbankingTest.php" hash="ff4bd07125449cdd74b1e1dfa867f2ff"/><file name="DirectLinkTest.php" hash="92defed14077fa80df7ce87c8ab1f832"/><file name="IDealTest.php" hash="1a2d6419112041bba88e40ea3152fe81"/><file name="InterSolveTest.php" hash="d96516d0602869eea256b019b7a0e86a"/><file name="KwixoApresReceptionTest.php" hash="7be3753340d86cac3c529185f4f9df4b"/><file name="KwixoComptantTest.php" hash="bb3f3ab99ab506d4bb2cc4491669c649"/><file name="KwixoCreditTest.php" hash="e42f1d5cee4fb9449e7498f0077fce40"/><file name="ObjectHandler.php" hash="d3461d810c6df684b643bbb1a0b4d6e5"/><file name="OpenInvoiceDeTest.php" hash="e9c02960119266d9f3ba542e18108b75"/><file name="OpenInvoiceNlTest.php" hash="eb3f9a2707216f62af69ef240ae7b020"/><file name="objects.xml" hash="c034e9ebbbf3e885681a5ed2e54b3c65"/><dir name="Features"><file name="PaymentEmailTest.php" hash="ef5151ec8d298d151372c056d0f729ee"/><file name="ZeroAmountAuthTest.php" hash="23a658cc6c87125caf001a9a7c53472a"/></dir><dir name="AbstractTest"><dir name="expectations"><file name="paymentMethods.yaml" hash="c540d26e97f06d87dae814ab6b9995ec"/></dir></dir><dir name="IDealTest"><dir name="fixtures"><file name="orders.yaml" hash="36a861b34134868cc24141587896c0ca"/></dir></dir><dir name="Kwixo"><file name="AbstractTest.php" hash="bdc74df7c3057fd42d777d957931993b"/><dir name="AbstractTest"><dir name="expectations"><file name="paymentMethods.yaml" hash="c540d26e97f06d87dae814ab6b9995ec"/></dir></dir></dir></dir><dir name="Kwixo"><dir name="Category"><file name="MappingTest.php" hash="cea9916436e62c61413277a0ac2fe3cf"/><dir name="MappingTest"><dir name="fixtures"><file name="category_mapping.yaml" hash="aeda66674aaf1cd5c6bd09f1c5d2cfd0"/></dir></dir></dir></dir><dir name="Status"><file name="MappingTest.php" hash="46616c64e65ba7ba08de8a4edfbea59d"/><file name="TransitionTest.php" hash="f8af5a05fa72914813d37e77ee8ee337"/><file name="UpdateTest.php" hash="ae6d53766b7bf73308376c37b1650048"/></dir><dir name="Validator"><dir name="Parameter"><file name="FactoryTest.php" hash="56228ca7dfce6ef3137b14aabfd5b89f"/><file name="LengthTest.php" hash="bc2ce95df4708fbdbbfe3b21f2e6cc71"/><file name="ValidatorTest.php" hash="0fd623a7a051950ed739ef8bf233f831"/></dir><dir name="Payment"><file name="DirectDebitTest.php" hash="bff6135a868592e2c103ae11f856fc91"/></dir><dir name="Kwixo"><dir name="Shipping"><file name="Setting.php" hash="45165bfcc902ee324adca34c8262288c"/></dir></dir></dir><dir name="Backend"><dir name="Operation"><file name="ParameterTest.php" hash="96dea620a93a7598d38c7e8370faa4db"/><dir name="Refund"><file name="ParameterTest.php" hash="4ccdf24193aab0e51dcd4e5c4c3a63fd"/><dir name="Additional"><file name="OpenInvoiceNlTest.php" hash="9d499c63ae52b8028d8f3228fa110784"/></dir></dir><dir name="Capture"><file name="ParameterTest.php" hash="b50d830812b957f942e1121ba6386e39"/><dir name="Additional"><file name="OpenInvoiceNlTest.php" hash="ddc121fcde3d3e58850255d662d5948b"/></dir></dir></dir></dir></dir><dir name="Block"><file name="FormTest.php" hash="49a9d90c54c246b62891c9b0ae5e0bdd"/><file name="FrauddetectionTest.php" hash="905b78c12c19e453a857b1b8a8d326a7"/><file name="PlaceFormShaTest.php" hash="ec0f466e4e0b3edd3ad42501f79cf811"/><file name="PlaceformTest.php" hash="a070f15981a486a0559b0c9492c49da1"/><dir name="Form"><file name="CcTest.php" hash="f3dec4ee8b26b95c2ce6dd292d032a0d"/><file name="DirectDebitTest.php" hash="e96af48167d3e5a0642e23ff7712d3d2"/><file name="Ideal.php" hash="e9e736cc6696669f62568515c864994f"/><dir name="Kwixo"><file name="ApresReceptionTest.php" hash="34e142431780efeb7c17c6ef7670a87a"/><file name="ComptantTest.php" hash="77c7dffea7a219450d4193bf3dae4743"/><file name="CreditTest.php" hash="a52d70d5682479ccffef432d2b0499a2"/></dir></dir><dir name="System"><dir name="Config"><file name="KwixoconfigurationTest.php" hash="9a90c3a33d4b43b881164d6d928f5581"/><file name="ModeTest.php" hash="4c5b24f166ea977a5429bbff4641764b"/></dir></dir><dir name="Alias"><file name="ListTest.php" hash="4e62a55be1693de43339401f5f0d3d63"/></dir><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Totals"><file name="CheckboxTest.php" hash="0a8f6b19f2724d121081d94867dee27e"/></dir></dir><dir name="Invoice"><dir name="Warning"><file name="OpenInvoiceTest.php" hash="b0e35940d07b58a329e2e5a99b10c8e3"/></dir></dir></dir></dir><dir name="Kwixo"><dir name="Shipping"><file name="EditTest.php" hash="f9cb5b3f8dde0f84ac3f66e099885c69"/></dir></dir><dir name="Customer"><dir name="Renderer"><file name="StateTest.php" hash="ebf5cc0515040d6a7b13e29e51621400"/></dir></dir></dir></dir><dir name="var"><dir name="fixtures"><file name="aliases.yaml" hash="47d68330e8961bacb35c6a3d77355da2"/><file name="orders.yaml" hash="ef69d8fbb3ab8d257f0a8a8f49641407"/><file name="quotes.yaml" hash="34552808c8e47162e978d1e6a8269874"/></dir></dir></dir><dir name="Helper"><file name="Alias.php" hash="a7cd891fe0dcaa35e5a89bed45d03883"/><file name="Api.php" hash="d0899a388183289ed4e739e526fda2c4"/><file name="Creditcard.php" hash="39829580a0854b4a86b85f245a8fb405"/><file name="Data.php" hash="e4a450398c14e201ce3b9b3f2ac51271"/><file name="DirectDebit.php" hash="5114c664a36be12094b5008d99490291"/><file name="Directlink.php" hash="7fa3d6d06f04123a73131fe94a500e61"/><file name="Kwixo.php" hash="8dc15b230958b3c61b1336dce66754d1"/><file name="Order.php" hash="787d13b7fb9c9dcff6b2439d0c00446b"/><file name="Payment.php" hash="d2328a629b853ba3d800cb2ba714da35"/><file name="Quote.php" hash="9e0c952d2d488928b7a8457a745fee02"/><file name="Version.php" hash="58c2df89aba2a7b0fa45ec008b16ee4a"/><dir name="Payment"><file name="Request.php" hash="bd1916f52927fae1fb5c5d3b06cef688"/><dir name="DirectLink"><file name="Request.php" hash="df95ea216e56b13a17d1cc0689ce53ee"/><file name="RequestInterface.php" hash="c070fb3768e2a0996971ba9fb0b6bca8"/></dir></dir><dir name="Validation"><file name="Result.php" hash="99cfc251f10582d7cd749cffe2e85485"/><dir name="Checkout"><file name="Step.php" hash="0cbafc924a1c092f194e24784ab35779"/></dir></dir><dir name="Order"><file name="Abstract.php" hash="87341aa26a1a7d8bd9ef4c1e1f0e08ac"/><file name="Capture.php" hash="9a60d9293ac0a6e886a96dedc3322a56"/><file name="Refund.php" hash="2c3c3d5ccbef8ce1aa1c29cee4d191b3"/><file name="Void.php" hash="84738ce2213a5fc225b105bd105e3821"/></dir></dir><dir name="Model"><file name="Alias.php" hash="4826d0f81013969a6765d007bc9ab169"/><file name="Config.php" hash="226fa03b4a3fc2539c8cbb09e9f1b068"/><file name="Observer.php" hash="69dc29df0b43623b01c4be87c74dfb50"/><dir name="Eci"><file name="Values.php" hash="55ee7f6ac4e95cb0309b9c3e5ebbb888"/></dir><dir name="Mysql4"><file name="Alias.php" hash="c68c2d82f863fca593977a1099d21772"/><dir name="Alias"><file name="Collection.php" hash="f34804c6f4743093b5f97d26f0036d05"/></dir><dir name="Kwixo"><dir name="Shipping"><file name="Setting.php" hash="3af643a902e980b478af860fbee6c81f"/><dir name="Setting"><file name="Collection.php" hash="860a861e740285ba489e0f7f8f9792ef"/></dir></dir><dir name="Category"><file name="Mapping.php" hash="825ad26fc6ab5a88a1cc0ed555541adf"/><dir name="Mapping"><file name="Collection.php" hash="7da592f15edc9cf1a93400fd763deee8"/></dir></dir></dir></dir><dir name="Source"><file name="Mode.php" hash="09557a116ebbf4ae745afab8400044d0"/><file name="OrderReference.php" hash="50e5ee2318b09763ac3b05a6d1452942"/><file name="PaymentAction.php" hash="5c526ef9a2b47b138d81f70c3f5cb7cb"/><file name="Pmlist.php" hash="cbc6a4d71cf3762470880cc7bfd42cb1"/><file name="Template.php" hash="8db03c7cd1a079de00a7acc0155c43ad"/><dir name="Cc"><file name="AliasInterfaceEnabledTypes.php" hash="becaad455f43bdaa13248568196660db"/><file name="Types.php" hash="5c6ad1ed8fa359bd59a5b988edc84772"/></dir><dir name="DirectEbanking"><file name="Brands.php" hash="f138c79a495b6d380b087700aaabf968"/></dir><dir name="Kwixo"><file name="ProductCategories.php" hash="1196b8cabe3e5bc949a73bb14ff1a91b"/><file name="ShipMethodType.php" hash="893d2113cb96edeafa8ea4139a07cbcf"/></dir><dir name="DirectDebit"><file name="Countries.php" hash="05bc48e94346450b40a7cdaf84c52d9b"/></dir><dir name="BankTransfer"><file name="Countries.php" hash="bc2fc4c20921c8490b27362c122ccafc"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Intersolve"><file name="Brands.php" hash="3f6c18e181bcdd7930cb5841db9eae01"/></dir></dir></dir></dir><dir name="Alias"><file name="State.php" hash="d39a461a14dbadafb141cef1d1873a1d"/></dir><dir name="File"><file name="Download.php" hash="1fb9ce455e28c579c0f418afb0446120"/></dir><dir name="Api"><file name="Directlink.php" hash="f0981fad25ecdb95772cd016ec33f42f"/></dir><dir name="Payment"><file name="Abstract.php" hash="221bc1e1a6b03543e1b74d7e5a285277"/><file name="BankTransfer.php" hash="20ad97136546913a8a8b99ea824f0310"/><file name="BelfiusDirectNet.php" hash="f7b9f8b92b425f08f434924331845b6e"/><file name="CashU.php" hash="eb12d473a9ecd63220b0c5a5434d3c6d"/><file name="CbcOnline.php" hash="1c524cf65113f1e94e87a10ddc128b7f"/><file name="Cc.php" hash="6a9dcb46115b5d17ee928b806482f500"/><file name="ChinaUnionPay.php" hash="5f222b1fee135458cef2e87ea52e5b04"/><file name="Cod.php" hash="ef14256f2ae0d144df3ef7d064de7451"/><file name="DirectDebit.php" hash="16775daaf09a26cbe1e57f6c03c2a64e"/><file name="DirectEbanking.php" hash="29fd9b6f570f4647811ecb4fae761027"/><file name="DirectLink.php" hash="a269c9a82236be40679fef99444d292e"/><file name="EDankort.php" hash="14db8a3d143c592d7fd9e70d1dc8ed6c"/><file name="Eps.php" hash="280c1100075fb8da99329f94e496a8b0"/><file name="FortisPayButton.php" hash="b083ff3009194746409e99abff8ad6e7"/><file name="GiroPay.php" hash="5506b5f03bfc43a844eb4e4bf5154013"/><file name="IDeal.php" hash="8e93e34e609195e32fc8918e7cb9abc2"/><file name="IngHomePay.php" hash="9e5ce4bee4946c9a227eac6ca23637c5"/><file name="InterSolve.php" hash="528180a6a5ccb0b93a90f59938c65332"/><file name="KbcOnline.php" hash="530019aaa12800b977eb4045d5a35cf3"/><file name="KwixoApresReception.php" hash="df4350c65023781329b005be878aa05b"/><file name="KwixoComptant.php" hash="a43763b1dd76ac3ffb21a1defec8b962"/><file name="KwixoCredit.php" hash="360bccfd4f49ff9a63b6c21c11481dc4"/><file name="MiniTix.php" hash="1620d5a039a4aea7aa6d98dd18812d02"/><file name="Mpass.php" hash="8c628577c13b47f516279be1f1bb9d7c"/><file name="OpenInvoiceDe.php" hash="03bd1c4f618d10e4a768f23e24ce4b8a"/><file name="OpenInvoiceNl.php" hash="6de6e96935c98241a01b3f7eea708b3c"/><file name="Other.php" hash="a6d53203224bf237c4d6d8b330b4bac6"/><file name="Paypal.php" hash="caa361c26cd05e7fc6e5ed57c1ecbb59"/><file name="Paysafecard.php" hash="58ba0833fe1be1c8a2585f03e96312b0"/><file name="PingPing.php" hash="e06ae93df774aad125742450de8235cf"/><file name="PostFinanceEFinance.php" hash="0b7c68e7280be7e1f14dd23821aff233"/><file name="Tunz.php" hash="98b3648dc8eec846c4629ea08e24f4f0"/><file name="Wallie.php" hash="6d6a648dcc5967079b00f8dd02e751e9"/><dir name="Features"><file name="PaymentEmail.php" hash="1862354d5273b205d19841c6347d9920"/><file name="ZeroAmountAuth.php" hash="4a8a2644aaf9fdccd43f1c6f9ac48ea0"/></dir><dir name="OpenInvoice"><file name="Abstract.php" hash="58137f61065088ba0200fcb4aa4ecd11"/></dir><dir name="Kwixo"><file name="Abstract.php" hash="90992b49cc5933c4e9fcc132f2a6c372"/></dir><dir name="Backend"><file name="OpsId.php" hash="a8e8135a0adf82e6fd49c6dba4102531"/></dir></dir><dir name="Kwixo"><dir name="Shipping"><file name="Setting.php" hash="f510fa531114ae1eb143109beb158ce4"/></dir><dir name="Category"><file name="Mapping.php" hash="d95e412b119ee7e03ff0a37a2ead2ecc"/></dir></dir><dir name="Status"><file name="Feedback.php" hash="6ce0a2d27f8c863b33b142e9f41e320a"/><file name="Mapping.php" hash="cdfa5031e99b017cfad4ebfa23487c24"/><file name="Transition.php" hash="b19eaad436192e46251b0e960bd6173c"/><file name="Update.php" hash="b3d08dfd398656578b91cfa5030c4ef5"/></dir><dir name="Validator"><file name="CompositeInterface.php" hash="0c8f7735827b38e309756264dee379a6"/><dir name="Parameter"><file name="Factory.php" hash="49acc2378ab445e377e0844cd84ab2fc"/><file name="Length.php" hash="68ebeb4505841d4ec3087a4ecf81e499"/><file name="Validator.php" hash="d40e7da0dd0cec57e5a574f880c41823"/></dir><dir name="Payment"><file name="DirectDebit.php" hash="3478a1fc29183220c197ecfcc8935e4f"/></dir><dir name="Kwixo"><dir name="Shipping"><file name="Setting.php" hash="72ec7b78a72e5818536b5cc95087c359"/></dir></dir></dir><dir name="Backend"><dir name="Operation"><file name="Parameter.php" hash="55cb3e68262503d7012fe1b7e259ff5d"/><dir name="Parameter"><file name="Abstract.php" hash="7770a86e064f52a915b14b0b257e16a9"/><file name="Interface.php" hash="47a903c9128563b031e8d1e62fb3d2cc"/><dir name="Additional"><file name="Interface.php" hash="55ca2b7bfdad2543fc4e8e033b935e19"/><file name="OpenInvoiceNlAbstract.php" hash="976105cb19e3c60b0b4683a423ca7b67"/></dir></dir><dir name="Refund"><file name="Parameter.php" hash="28794dc2ee1e146987a0a433372d0604"/><dir name="Additional"><file name="OpenInvoiceNl.php" hash="914f69d79edd6d8783c943ba16fea31d"/></dir></dir><dir name="Capture"><file name="Parameter.php" hash="8debe786d54a24c7c6cd3f50e9f1b373"/><dir name="Additional"><file name="OpenInvoiceNl.php" hash="e5d7be8e1ed3d14a92d6291cfa18552f"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="ApiController.php" hash="093826531dc91c59e214309aea623c5b"/><file name="CustomerController.php" hash="6ff59025c6b69e85a2edc6252fc0c875"/><file name="PaymentController.php" hash="993deafbbf065a918cb937d54975b217"/><dir name="Adminhtml"><file name="AdminController.php" hash="dc26a2c8d73ab3b00be8afd784bbe21e"/><file name="AliasController.php" hash="27faa3cd302bb1a121e73de8bc1e11ed"/><file name="KwixocategoryController.php" hash="dbca67aba8c50dd2a4cd7a4c9867ac0c"/><file name="KwixoshippingController.php" hash="42dba65734368dde6d8cd7e27a290520"/><file name="OpsstatusController.php" hash="b9605ffa5ea5b46fb13be5bee1c88d37"/></dir></dir><dir name="Block"><file name="Form.php" hash="74f63586d1d937d557f51aaf42f9fefd"/><file name="Frauddetection.php" hash="a1c45fbd64b30cce50cf0a467f2680b8"/><file name="Paypage.php" hash="ab20ea9cd8cedafd3060b2b690fb6083"/><file name="Placeform.php" hash="5ff5909bd452904cd8158ec96694cabd"/><file name="Placeform3dsecure.php" hash="c052b5d1e666537dc0d3d874d97f71bd"/><file name="RetryPayment.php" hash="1e09d83275050361bc7086cdd1cf9d88"/><dir name="Form"><file name="Alias.php" hash="5842be8a521f5e275808aa74194fdc16"/><file name="Cc.php" hash="7791dc681eb33ad008ffaadd47a86af0"/><file name="DirectDebit.php" hash="435e521cd93fe4bf3dc048bb0402289e"/><file name="Ideal.php" hash="87528a42521649690335896fcde98dbb"/><file name="OpsId.php" hash="5f0986cedea9284cab93e89da9317cdd"/><file name="Other.php" hash="00514922bfd89fd9055cd889230d6631"/><dir name="Kwixo"><file name="ApresReception.php" hash="c63fd382f302bf4242599352e7b5edbb"/><file name="Comptant.php" hash="7987b1219101ac6898f921b8e21fee82"/><file name="Credit.php" hash="064283540fc300745b57fcf2c6614f61"/></dir></dir><dir name="System"><dir name="Config"><file name="Kwixoconfiguration.php" hash="d49e502d1dcdcf987b9d28c95ef81e2d"/><file name="Mode.php" hash="6dc088520565165d549cc67538a77769"/><file name="Support.php" hash="58a521446472a2ff0a508622356a5e68"/><dir name="Form"><dir name="Field"><file name="Brand.php" hash="d0c2e0c39d49013d45079eeb185a8080"/></dir></dir></dir></dir><dir name="Alias"><file name="List.php" hash="aca34f8efb6c18c11e7e383aa45cbce5"/></dir><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="ClosedTransaction"><file name="Warning.php" hash="19591a2b23ca0fcd3806e123ed7a33e4"/></dir><dir name="Totals"><file name="Checkbox.php" hash="79b26abf69352900225dd79cab7fea91"/></dir><dir name="Warning"><file name="OpenInvoiceNl.php" hash="88ad55d0b170a267b5633c42b5a4e5d6"/></dir></dir><dir name="Invoice"><dir name="Warning"><file name="OpenInvoice.php" hash="6b171eebb4fb7854d00920a601a9150d"/></dir></dir></dir></dir><dir name="Kwixocategory"><file name="CategoryTree.php" hash="87d4b3a40cbec7bce673ef6f24e71a99"/><file name="Edit.php" hash="1ad3d0c35b3272e25523b0c35e2a7767"/><dir name="Edit"><file name="Form.php" hash="a8db90e495bc27d80552ab420e133c1e"/></dir></dir><dir name="Kwixo"><dir name="Shipping"><file name="Edit.php" hash="45f5bffc60e1cda1e6a74fec8dadfa62"/></dir></dir><dir name="Customer"><dir name="Renderer"><file name="State.php" hash="144a37278a7874761914d1b62f254975"/></dir><dir name="Edit"><dir name="Tab"><file name="Alias.php" hash="11f2770eb74428614db8406707965fc5"/></dir></dir></dir></dir><dir name="Info"><file name="Alias.php" hash="d2ddce2d59adc5c7d6943732bc92a728"/><file name="Cc.php" hash="3ee50da7773fba237e9071174b4bf531"/><file name="OpsId.php" hash="0773d52ca90f28a7aabbc714057d1108"/><file name="Redirect.php" hash="71d2dda7fac0b5c43c33cb6a7dcdb3fb"/></dir></dir><dir name="data"><dir name="ops_setup"><file name="data-install-14.02.05.php" hash="84d72f943d52a843a6f7140bbdaa5032"/><file name="data-upgrade-14.02.05-14.06.25.php" hash="9aaa0715308c644b05356b03dbb0a533"/><file name="data-upgrade-14.06.25-14.07.16.php" hash="55a9af948569fa51d7b0c2525cf0210e"/></dir></dir><dir name="etc"><file name="config.xml" hash="e98d519f28e5753afd92620717b555ba"/><file name="system.xml" hash="7dc63e2412d01bb737f284cc499bc425"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Netresearch_OPS.xml" hash="11e14fb21d7728e9387614be7ceca1f8"/></dir></dir></dir><dir name="js"><dir name="netresearch"><dir name="ops"><file name="osc_payment.js" hash="9a46bd3aa1badb716a0af70690146515"/><file name="payment.js" hash="e0a05ff9d2881c3d855952a7b492d351"/></dir></dir></dir></target></contents></package>
1
  <?xml version="1.0"?>
2
+ <package><name>Ogone</name><version>15.11.09</version><stability>stable</stability><license>OSL3</license><channel>community</channel><extends></extends><summary>Ingenico Payment services</summary><description>The official Ingenico Payment Services Module</description><notes></notes><authors><author><name>Michael L&#xFC;hr</name><user>MichaelLuehr</user><email>michael.luehr@netresearch.de</email></author></authors><date>2015-11-06</date><time>11:57:41</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="skin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="ops.css" hash="c028df2c5236880d4f5a2bb51aac6ceb"/></dir><dir name="images"><dir name="ops"><dir name="kwixo"><file name="apres_reception.jpg" hash="1d990d1b7c535a04eeb755fadd3323c0"/><file name="comptant.jpg" hash="4452f353667bca7d4f98d84076bb8dde"/><file name="credit.jpg" hash="93d7eeb2fbb57aa6a23585e01b4f6e0e"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><file name="ops.css" hash="94d06b794318c6b27ec6cc7fb8721ce4"/><dir name="js"><dir name="ops"><file name="payment.js" hash="3d8ac68519313d06ed943aa1d3a5340b"/></dir></dir></dir></dir></dir></dir><dir name="app"><dir name="locale"><dir name="de_DE"><file name="Netresearch_OPS.csv" hash="e750953539797b4a60108c9277e29e64"/><dir name="template"><dir name="email"><dir name="ops"><file name="ops_email_resend_payment_info.html" hash="db1971f8912d7463e9883ee15286fdb6"/></dir></dir></dir></dir><dir name="it_IT"><file name="Netresearch_OPS.csv" hash="1577b7eb69b574e1d93d3344d875f109"/></dir><dir name="nl_NL"><file name="Netresearch_OPS.csv" hash="da80eb8ab115596b7b85bea27ca797b7"/></dir><dir name="en_US"><file name="Netresearch_OPS.csv" hash="bd519db1c578565a2e9a33f8c77ecb8d"/><dir name="template"><dir name="email"><dir name="ops"><file name="ops_email_resend_payment_info.html" hash="541cb15bf5c9a256b58219cba3591576"/></dir></dir></dir></dir><dir name="fr_FR"><file name="Netresearch_OPS.csv" hash="62a6d672b11740459e8681e9a4e85ddc"/></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="ops"><file name="form.phtml" hash="bcca86e302a8e8c23698e47c6efd7fdd"/><file name="frauddetection.phtml" hash="88cfdceed6ecc2379b7478f18c5e108c"/><file name="info.phtml" hash="ab903c6655ff46d650829043d6e81f5f"/><file name="paypage.phtml" hash="296ed4b5132a7005d3ed31cd1b73347d"/><file name="placeform.phtml" hash="504bd411d44dc5751b22c8cfe6fbfcce"/><file name="placeform3dsecure.phtml" hash="b78269abb72aab3faa7f9ed566c15430"/><dir name="customer"><dir name="alias"><file name="list.phtml" hash="dca43772ecae9f6bcdfa5f590ffd981c"/></dir></dir><dir name="info"><file name="alias.phtml" hash="fbfbeb775bdf9f665f27a9c82119cd29"/><file name="cc.phtml" hash="3aaceec6b1504c13a4757f4eeed7f72d"/><file name="opsId.phtml" hash="80900b80b7564e6178789a71b8f5e3d6"/><file name="redirect.phtml" hash="79bfef65bf737a291939adefa4bf26e6"/></dir><dir name="form"><file name="alias.phtml" hash="e8dc63bb11d3b7d0e9a61d0f88cc9877"/><file name="ideal.phtml" hash="9ea3e504be12dabbf433a228f4fd7eba"/><file name="other.phtml" hash="630056086374c087ae7ed82eec9b45f8"/><dir name="kwixo"><file name="apres_reception.phtml" hash="3f0afdb85696a62410ddb170c939d1c5"/><file name="comptant.phtml" hash="2a6ab9884375d9bd99d9160d00283d85"/><file name="credit.phtml" hash="de5650273e9fef7775d04e9326220249"/></dir></dir></dir></dir><dir name="layout"><file name="ops.xml" hash="d70e7924540ffc52f4a8153302d22033"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="ops"><file name="categoriestree.phtml" hash="5159f62105c978f7bfb51326d2f99cc0"/><file name="info.phtml" hash="27596da4f99818af71a1a5ad8778ecc0"/><dir name="info"><file name="cc.phtml" hash="5b2ab8ca86d40103bed6db23c839b549"/><file name="opsId.phtml" hash="3cce07989543bf66b8ebe3eba12d493a"/><file name="redirect.phtml" hash="16f4d44b6716fa7c543534fecbcb205b"/></dir><dir name="sales"><dir name="order"><dir name="invoice"><dir name="warning"><file name="open-invoice.phtml" hash="3f49e63f4785fed61be125e383b52d3b"/></dir></dir><dir name="creditmemo"><dir name="warning"><file name="openinvoicenl.phtml" hash="0b2906fbf8fb3c6d99bd9c8208f4869d"/></dir><dir name="totals"><file name="checkbox.phtml" hash="880236e567930deb1189e4ce95eb9626"/></dir><dir name="closed-transaction"><file name="warning.phtml" hash="14b4e8e46382c10ad4fa330475f2427b"/></dir></dir></dir></dir><dir name="system"><dir name="config"><file name="kwixoconfiglinks.phtml" hash="4b832195dc1a220cd32bed1b8d791784"/><file name="support.phtml" hash="74fce7726f423456eae4105f2bd3b51b"/></dir></dir><dir name="form"><file name="cc.phtml" hash="44c42a966e35ec6bf033f753aa410b76"/><file name="directDebit.phtml" hash="d9332487c13c4cb947d1171f0896e487"/><file name="opsId.phtml" hash="71bce45ad8256a37077c810f6cc76c67"/><dir name="kwixo"><file name="category.phtml" hash="eede6c977cf7ebe6e77e680910fc3df7"/><file name="shipping.phtml" hash="53c03be27367a45800d688e35b18b596"/></dir></dir></dir></dir><dir name="layout"><file name="ops.xml" hash="26342da4fa9742fe639f9c749a54e277"/></dir></dir></dir></dir></dir><dir name="code"><dir name="community"><dir name="Netresearch"><dir name="OPS"><dir name="sql"><dir name="ops_setup"><file name="mysql4-install-1.0.1.php" hash="8310cbcc045a399772a4f24b354f4688"/><file name="mysql4-upgrade-1.0.1-12.12.03.php" hash="3f1ad2f1dcaea8e129c5cbe108563385"/><file name="mysql4-upgrade-13.04.10-13.04.16.php" hash="f94b907ad855d29cbc299036de16ef46"/><file name="mysql4-upgrade-13.05.30-13.06.07.php" hash="ffcdd931218285338937b5d49477486c"/><file name="mysql4-upgrade-13.06.07-13.07.04.php" hash="302f2fea29688d9eb2f306d71362c262"/><file name="mysql4-upgrade-13.07.10-13.07.23.php" hash="ceb4a2aee7f68ce4c2d85f9b82ce4240"/><file name="mysql4-upgrade-13.11.04-13.11.05.php" hash="4c5d2d5bf45d6e6a826fe32f3915e80e"/><file name="mysql4-upgrade-14.01.27-14.02.05.php" hash="c77a8a2180a44fbd537aebccb806147d"/></dir></dir><dir name="Controller"><file name="Abstract.php" hash="e956cc92c7fc77dd01bd69d5d28abadc"/></dir><dir name="Test"><dir name="Controller"><file name="ApiControllerTest.php" hash="90754a21d0dada3dd0201c2398fd817e"/><file name="PaymentControllerTest.php" hash="d8ad199204d63a3c5a07d72a99df1212"/><dir name="Adminhtml"><file name="AdminControllerTest.php" hash="9929b7d6d3b709239e7a79acdee988e8"/><file name="KwixocategoryControllerTest.php" hash="65854670e4d019f6fc30db4416139b09"/><file name="KwixoshippingControllerTest.php" hash="08d75d9bb293cfe7e68a91651238d060"/><file name="OpsstatusControllerTest.php" hash="380a0d91545fe2b21e41b131476eb8b5"/><dir name="KwixocategoryControllerTest"><dir name="fixtures"><file name="category_mapping.yaml" hash="eb9c31076e7ca9b0ae627fe4793c554c"/></dir></dir><dir name="KwixoshippingControllerTest"><dir name="fixtures"><file name="shipping_settings.yaml" hash="7e6c11812894b1f13353983bd83443e9"/></dir></dir></dir></dir><dir name="Helper"><file name="AliasTest.php" hash="583dcb6f70fa3d86ed42fd37fee8bb1f"/><file name="ApiTest.php" hash="e29c72b3c87c481d9b383fedfc8cc498"/><file name="DataTest.php" hash="07d85b4579957d24943c4a157fa7831a"/><file name="DirectDebitTest.php" hash="1983b146547956aa0d2b2eb6ae7e5979"/><file name="DirectLinkTest.php" hash="769a1fdfe90747dbc84b7ddc33ddadbc"/><file name="KwixoTest.php" hash="780b94af0b0d3982914b0a156718c597"/><file name="OrderTest.php" hash="719b8d1ce909cba29d810440f1d095f3"/><file name="PaymentTest.php" hash="3e013e919119a919dd33b2d23fea726d"/><file name="QuoteTest.php" hash="e7d4314dd4a831f3be0154d3fd010b1a"/><file name="VersionTest.php" hash="73a3cdcdf8ce6f6d6c52861fd851252c"/><dir name="KwixoTest"><dir name="fixtures"><file name="category_mapping.yaml" hash="aeda66674aaf1cd5c6bd09f1c5d2cfd0"/></dir></dir><dir name="OrderTest"><dir name="fixtures"><file name="order.yaml" hash="0d3331a6405770fe85da3c53278a606d"/></dir></dir><dir name="Payment"><file name="RequestTest.php" hash="e1c32a53b0ade54b33fa61c370658ea6"/><dir name="DirectLink"><file name="RequestTest.php" hash="8d779d38c1d1bd6f1f829349fb361d05"/></dir></dir><dir name="Validation"><file name="ResultTest.php" hash="d1f78c064631fc7c08c47d70aea3c210"/><dir name="ResultTest"><dir name="fixtures"><file name="quotes.yaml" hash="1bdf98ba844d78d02b0c0fe773085931"/></dir></dir><dir name="Checkout"><file name="StepTest.php" hash="580d62fa4dbca48b57f7e6a413d65e4a"/></dir></dir><dir name="Order"><file name="CaptureTest.php" hash="1048a781112d23256c91ad96c0c93f1a"/><file name="RefundTest.php" hash="3031b10fcec45cebeab8afef7a1654a7"/><file name="VoidTest.php" hash="98d52dede8001e2ea3e54ce2f5f07387"/></dir></dir><dir name="Model"><file name="ConfigTest.php" hash="97b5e02982f5fee8857add0260a24840"/><file name="ObserverTest.php" hash="28977aa760f17c3013e4f69cafd5265d"/><dir name="Mysql4"><file name="AliasTest.php" hash="8b3894362f762561b930cb5b6a58b741"/><dir name="Alias"><file name="AliasTest.php" hash="abd64ea898ab80ae396d9f20c4d78e3a"/></dir></dir><dir name="Source"><file name="ModeTest.php" hash="97237c752c74af73046a5684b919d8cb"/><file name="OrderReferenceTest.php" hash="fc78f1604c81ac093764403f429898ba"/><dir name="Cc"><file name="AliasInterfaceEnabledTypesTest.php" hash="11e3eb870c8bf03dee77b48ae3186907"/></dir><dir name="DirectEbanking"><file name="BrandsTest.php" hash="5290165b57e0d02588aba5cd713f6d4a"/></dir><dir name="Kwixo"><file name="ProductCategoriesTest.php" hash="6032dddeb4a3327a95da3186c4824be3"/><file name="ShipMethodTypeTest.php" hash="8cd09f6cb9283345a33b15b95128310c"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Design"><file name="BrandsTest.php" hash="2e37e802e3338e6da80ea646f7ff53c7"/></dir></dir></dir></dir><dir name="File"><file name="Download.php" hash="3d79f6786d1779e128dd34148154f71c"/></dir><dir name="Api"><file name="DirectLinkShaTest.php" hash="68ada430361699d5bf62ee30df024feb"/><file name="DirectLinkTest.php" hash="70e5a09c25cad38039ded45d84288a6f"/></dir><dir name="Payment"><file name="AbstractCaptureTest.php" hash="66a88e7389af9038998728cf56228780"/><file name="AbstractRefundTest.php" hash="0fef94a9db682a31b13090a2e7fba9f4"/><file name="AbstractTest.php" hash="9cd8e0ea5ccb232d11a0c72009cdca5e"/><file name="CcTest.php" hash="fda205086cd1077a3feed40ef8163136"/><file name="ChinaUnionPayTest.php" hash="c2c4cb8ff359f38ba71e38cf0917bdaf"/><file name="DirectDebitTest.php" hash="7f2b79a941d6b88361823a0765cf2823"/><file name="DirectEbankingTest.php" hash="16566265ffb905a5635b82d50c3969cb"/><file name="DirectLinkTest.php" hash="92defed14077fa80df7ce87c8ab1f832"/><file name="IDealTest.php" hash="1a2d6419112041bba88e40ea3152fe81"/><file name="InterSolveTest.php" hash="b4323757c80d99574e2299fc2fd514f9"/><file name="KwixoApresReceptionTest.php" hash="61953f3d6e4fe87f4175a70d05ad2d3d"/><file name="KwixoComptantTest.php" hash="3178b4c03c69690fcc3631ba78e4bff3"/><file name="KwixoCreditTest.php" hash="2c29f95416e5d3cb43268c6eba27bc8d"/><file name="ObjectHandler.php" hash="d3461d810c6df684b643bbb1a0b4d6e5"/><file name="OpenInvoiceDeTest.php" hash="e9c02960119266d9f3ba542e18108b75"/><file name="OpenInvoiceNlTest.php" hash="eb3f9a2707216f62af69ef240ae7b020"/><file name="objects.xml" hash="c034e9ebbbf3e885681a5ed2e54b3c65"/><dir name="Features"><file name="PaymentEmailTest.php" hash="ef5151ec8d298d151372c056d0f729ee"/><file name="ZeroAmountAuthTest.php" hash="23a658cc6c87125caf001a9a7c53472a"/></dir><dir name="AbstractTest"><dir name="expectations"><file name="paymentMethods.yaml" hash="c540d26e97f06d87dae814ab6b9995ec"/></dir></dir><dir name="IDealTest"><dir name="fixtures"><file name="orders.yaml" hash="36a861b34134868cc24141587896c0ca"/></dir></dir><dir name="Kwixo"><file name="AbstractTest.php" hash="bdc74df7c3057fd42d777d957931993b"/><dir name="AbstractTest"><dir name="expectations"><file name="paymentMethods.yaml" hash="c540d26e97f06d87dae814ab6b9995ec"/></dir></dir></dir></dir><dir name="Kwixo"><dir name="Category"><file name="MappingTest.php" hash="cea9916436e62c61413277a0ac2fe3cf"/><dir name="MappingTest"><dir name="fixtures"><file name="category_mapping.yaml" hash="aeda66674aaf1cd5c6bd09f1c5d2cfd0"/></dir></dir></dir></dir><dir name="Status"><file name="MappingTest.php" hash="46616c64e65ba7ba08de8a4edfbea59d"/><file name="TransitionTest.php" hash="f8af5a05fa72914813d37e77ee8ee337"/><file name="UpdateTest.php" hash="ae6d53766b7bf73308376c37b1650048"/></dir><dir name="Validator"><dir name="Parameter"><file name="FactoryTest.php" hash="56228ca7dfce6ef3137b14aabfd5b89f"/><file name="LengthTest.php" hash="bc2ce95df4708fbdbbfe3b21f2e6cc71"/><file name="ValidatorTest.php" hash="0fd623a7a051950ed739ef8bf233f831"/></dir><dir name="Payment"><file name="DirectDebitTest.php" hash="bff6135a868592e2c103ae11f856fc91"/></dir><dir name="Kwixo"><dir name="Shipping"><file name="Setting.php" hash="45165bfcc902ee324adca34c8262288c"/></dir></dir></dir><dir name="Backend"><dir name="Operation"><file name="ParameterTest.php" hash="96dea620a93a7598d38c7e8370faa4db"/><dir name="Refund"><file name="ParameterTest.php" hash="4ccdf24193aab0e51dcd4e5c4c3a63fd"/><dir name="Additional"><file name="OpenInvoiceNlTest.php" hash="9d499c63ae52b8028d8f3228fa110784"/></dir></dir><dir name="Capture"><file name="ParameterTest.php" hash="b50d830812b957f942e1121ba6386e39"/><dir name="Additional"><file name="OpenInvoiceNlTest.php" hash="ddc121fcde3d3e58850255d662d5948b"/></dir></dir></dir></dir></dir><dir name="Block"><file name="FormTest.php" hash="49a9d90c54c246b62891c9b0ae5e0bdd"/><file name="FrauddetectionTest.php" hash="905b78c12c19e453a857b1b8a8d326a7"/><file name="PlaceFormShaTest.php" hash="ec0f466e4e0b3edd3ad42501f79cf811"/><file name="PlaceformTest.php" hash="a070f15981a486a0559b0c9492c49da1"/><dir name="Form"><file name="CcTest.php" hash="f3dec4ee8b26b95c2ce6dd292d032a0d"/><file name="DirectDebitTest.php" hash="e96af48167d3e5a0642e23ff7712d3d2"/><file name="Ideal.php" hash="e9e736cc6696669f62568515c864994f"/><dir name="Kwixo"><file name="ApresReceptionTest.php" hash="34e142431780efeb7c17c6ef7670a87a"/><file name="ComptantTest.php" hash="77c7dffea7a219450d4193bf3dae4743"/><file name="CreditTest.php" hash="a52d70d5682479ccffef432d2b0499a2"/></dir></dir><dir name="System"><dir name="Config"><file name="KwixoconfigurationTest.php" hash="9a90c3a33d4b43b881164d6d928f5581"/><file name="ModeTest.php" hash="4c5b24f166ea977a5429bbff4641764b"/></dir></dir><dir name="Alias"><file name="ListTest.php" hash="4e62a55be1693de43339401f5f0d3d63"/></dir><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Totals"><file name="CheckboxTest.php" hash="0a8f6b19f2724d121081d94867dee27e"/></dir></dir><dir name="Invoice"><dir name="Warning"><file name="OpenInvoiceTest.php" hash="b0e35940d07b58a329e2e5a99b10c8e3"/></dir></dir></dir></dir><dir name="Kwixo"><dir name="Shipping"><file name="EditTest.php" hash="f9cb5b3f8dde0f84ac3f66e099885c69"/></dir></dir><dir name="Customer"><dir name="Renderer"><file name="StateTest.php" hash="ebf5cc0515040d6a7b13e29e51621400"/></dir></dir></dir></dir><dir name="var"><dir name="fixtures"><file name="aliases.yaml" hash="47d68330e8961bacb35c6a3d77355da2"/><file name="orders.yaml" hash="ef69d8fbb3ab8d257f0a8a8f49641407"/><file name="quotes.yaml" hash="34552808c8e47162e978d1e6a8269874"/></dir></dir></dir><dir name="Helper"><file name="Alias.php" hash="a7cd891fe0dcaa35e5a89bed45d03883"/><file name="Api.php" hash="d0899a388183289ed4e739e526fda2c4"/><file name="Creditcard.php" hash="39829580a0854b4a86b85f245a8fb405"/><file name="Data.php" hash="e4a450398c14e201ce3b9b3f2ac51271"/><file name="DirectDebit.php" hash="5114c664a36be12094b5008d99490291"/><file name="Directlink.php" hash="7fa3d6d06f04123a73131fe94a500e61"/><file name="Kwixo.php" hash="8dc15b230958b3c61b1336dce66754d1"/><file name="Order.php" hash="787d13b7fb9c9dcff6b2439d0c00446b"/><file name="Payment.php" hash="4ede8111909a19597494ea58eb0d9bbd"/><file name="Quote.php" hash="9e0c952d2d488928b7a8457a745fee02"/><file name="Version.php" hash="58c2df89aba2a7b0fa45ec008b16ee4a"/><dir name="Payment"><file name="Request.php" hash="3df7b7db6948febf29bc5a3d5d6da2c4"/><dir name="DirectLink"><file name="Request.php" hash="df95ea216e56b13a17d1cc0689ce53ee"/><file name="RequestInterface.php" hash="c070fb3768e2a0996971ba9fb0b6bca8"/></dir></dir><dir name="Validation"><file name="Result.php" hash="99cfc251f10582d7cd749cffe2e85485"/><dir name="Checkout"><file name="Step.php" hash="0cbafc924a1c092f194e24784ab35779"/></dir></dir><dir name="Order"><file name="Abstract.php" hash="87341aa26a1a7d8bd9ef4c1e1f0e08ac"/><file name="Capture.php" hash="9a60d9293ac0a6e886a96dedc3322a56"/><file name="Refund.php" hash="2c3c3d5ccbef8ce1aa1c29cee4d191b3"/><file name="Void.php" hash="84738ce2213a5fc225b105bd105e3821"/></dir></dir><dir name="Model"><file name="Alias.php" hash="4826d0f81013969a6765d007bc9ab169"/><file name="Config.php" hash="6a578e1785fc6e7df42c7b323161f487"/><file name="Observer.php" hash="69dc29df0b43623b01c4be87c74dfb50"/><dir name="Eci"><file name="Values.php" hash="55ee7f6ac4e95cb0309b9c3e5ebbb888"/></dir><dir name="Mysql4"><file name="Alias.php" hash="c68c2d82f863fca593977a1099d21772"/><dir name="Alias"><file name="Collection.php" hash="f34804c6f4743093b5f97d26f0036d05"/></dir><dir name="Kwixo"><dir name="Shipping"><file name="Setting.php" hash="3af643a902e980b478af860fbee6c81f"/><dir name="Setting"><file name="Collection.php" hash="860a861e740285ba489e0f7f8f9792ef"/></dir></dir><dir name="Category"><file name="Mapping.php" hash="825ad26fc6ab5a88a1cc0ed555541adf"/><dir name="Mapping"><file name="Collection.php" hash="7da592f15edc9cf1a93400fd763deee8"/></dir></dir></dir></dir><dir name="Source"><file name="Mode.php" hash="09557a116ebbf4ae745afab8400044d0"/><file name="OrderReference.php" hash="50e5ee2318b09763ac3b05a6d1452942"/><file name="PaymentAction.php" hash="5c526ef9a2b47b138d81f70c3f5cb7cb"/><file name="Pmlist.php" hash="cbc6a4d71cf3762470880cc7bfd42cb1"/><file name="Template.php" hash="8db03c7cd1a079de00a7acc0155c43ad"/><dir name="Cc"><file name="AliasInterfaceEnabledTypes.php" hash="becaad455f43bdaa13248568196660db"/><file name="Types.php" hash="5c6ad1ed8fa359bd59a5b988edc84772"/></dir><dir name="DirectEbanking"><file name="Brands.php" hash="f138c79a495b6d380b087700aaabf968"/></dir><dir name="Kwixo"><file name="ProductCategories.php" hash="1196b8cabe3e5bc949a73bb14ff1a91b"/><file name="ShipMethodType.php" hash="893d2113cb96edeafa8ea4139a07cbcf"/></dir><dir name="DirectDebit"><file name="Countries.php" hash="05bc48e94346450b40a7cdaf84c52d9b"/></dir><dir name="BankTransfer"><file name="Countries.php" hash="bc2fc4c20921c8490b27362c122ccafc"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Intersolve"><file name="Brands.php" hash="3f6c18e181bcdd7930cb5841db9eae01"/></dir></dir></dir></dir><dir name="Alias"><file name="State.php" hash="d39a461a14dbadafb141cef1d1873a1d"/></dir><dir name="File"><file name="Download.php" hash="1fb9ce455e28c579c0f418afb0446120"/></dir><dir name="Api"><file name="Directlink.php" hash="f0981fad25ecdb95772cd016ec33f42f"/></dir><dir name="Payment"><file name="Abstract.php" hash="4b7fa747baf919c66d67f3ec9e725f3b"/><file name="BankTransfer.php" hash="20ad97136546913a8a8b99ea824f0310"/><file name="BelfiusDirectNet.php" hash="5c0abd1457679b6c6b91e9758ca7d888"/><file name="CashU.php" hash="dfdd0f04962616943f5810bcd676b972"/><file name="CbcOnline.php" hash="026d43272966f88c6cec5298bb2c6d89"/><file name="Cc.php" hash="6a9dcb46115b5d17ee928b806482f500"/><file name="ChinaUnionPay.php" hash="b41ba1a95911f11e5520d63603c1f619"/><file name="Cod.php" hash="07e391c5f128d1265a8ed9a537126e5f"/><file name="DirectDebit.php" hash="16775daaf09a26cbe1e57f6c03c2a64e"/><file name="DirectEbanking.php" hash="c6d67e5a01e35d9bfe922f132f3ee3a1"/><file name="DirectLink.php" hash="a269c9a82236be40679fef99444d292e"/><file name="EDankort.php" hash="f732d826ee33954a74a1644cf4c01ea0"/><file name="Eps.php" hash="f8d3f4b110d07f1e26fc6e235ee6810d"/><file name="FortisPayButton.php" hash="fa523e2ced5c536317b263312560e1be"/><file name="GiroPay.php" hash="693e6955a8d0c344388bbef2dd8b6488"/><file name="IDeal.php" hash="6da46a4342390f04e218892018dd1ded"/><file name="IngHomePay.php" hash="8c74f7e809fb112959fea4a2d6778dc5"/><file name="InterSolve.php" hash="c569a4419cdd4d9944840633251a6cd9"/><file name="KbcOnline.php" hash="5af9fa841c87b4866135a8744bb88481"/><file name="KwixoApresReception.php" hash="b954ef9afb6d0011f8dbcf18aa82f51a"/><file name="KwixoComptant.php" hash="854c8077cd62007e50b0978338051a8e"/><file name="KwixoCredit.php" hash="8efcca4bf52a480cf77bc39973a63780"/><file name="MiniTix.php" hash="9a7ad56914ded9b001c46a45134eb8a8"/><file name="Mpass.php" hash="8aca93f6a8424ccdab1420067b493fb2"/><file name="OpenInvoiceDe.php" hash="7ec27ae85f5816166af7e1594c1d96cd"/><file name="OpenInvoiceNl.php" hash="384eaf4c216dd9e6ea8db52252938194"/><file name="Other.php" hash="a6d53203224bf237c4d6d8b330b4bac6"/><file name="Paypal.php" hash="093a53247a46410ec349c4da004e0e6d"/><file name="Paysafecard.php" hash="3d4add54c13b946d7c192fe56b794e81"/><file name="PingPing.php" hash="cd0fe88dc52c3c8ddac2eed8584c1e88"/><file name="PostFinanceEFinance.php" hash="76781486d9b8519b730cc44745773ce2"/><file name="Tunz.php" hash="260a0df08aba55cbbee121d731107488"/><file name="Wallie.php" hash="3894f9725a2cdabf2eecbaf3980e08c1"/><dir name="Features"><file name="PaymentEmail.php" hash="1862354d5273b205d19841c6347d9920"/><file name="ZeroAmountAuth.php" hash="4a8a2644aaf9fdccd43f1c6f9ac48ea0"/></dir><dir name="OpenInvoice"><file name="Abstract.php" hash="3b28ed869818ee25b58a837339dceaff"/></dir><dir name="Kwixo"><file name="Abstract.php" hash="90992b49cc5933c4e9fcc132f2a6c372"/></dir><dir name="Backend"><file name="OpsId.php" hash="a8e8135a0adf82e6fd49c6dba4102531"/></dir></dir><dir name="Kwixo"><dir name="Shipping"><file name="Setting.php" hash="f510fa531114ae1eb143109beb158ce4"/></dir><dir name="Category"><file name="Mapping.php" hash="d95e412b119ee7e03ff0a37a2ead2ecc"/></dir></dir><dir name="Status"><file name="Feedback.php" hash="6ce0a2d27f8c863b33b142e9f41e320a"/><file name="Mapping.php" hash="cdfa5031e99b017cfad4ebfa23487c24"/><file name="Transition.php" hash="b19eaad436192e46251b0e960bd6173c"/><file name="Update.php" hash="b3d08dfd398656578b91cfa5030c4ef5"/></dir><dir name="Validator"><file name="CompositeInterface.php" hash="0c8f7735827b38e309756264dee379a6"/><dir name="Parameter"><file name="Factory.php" hash="49acc2378ab445e377e0844cd84ab2fc"/><file name="Length.php" hash="68ebeb4505841d4ec3087a4ecf81e499"/><file name="Validator.php" hash="d40e7da0dd0cec57e5a574f880c41823"/></dir><dir name="Payment"><file name="DirectDebit.php" hash="3478a1fc29183220c197ecfcc8935e4f"/></dir><dir name="Kwixo"><dir name="Shipping"><file name="Setting.php" hash="72ec7b78a72e5818536b5cc95087c359"/></dir></dir></dir><dir name="Backend"><dir name="Operation"><file name="Parameter.php" hash="55cb3e68262503d7012fe1b7e259ff5d"/><dir name="Parameter"><file name="Abstract.php" hash="7770a86e064f52a915b14b0b257e16a9"/><file name="Interface.php" hash="47a903c9128563b031e8d1e62fb3d2cc"/><dir name="Additional"><file name="Interface.php" hash="55ca2b7bfdad2543fc4e8e033b935e19"/><file name="OpenInvoiceNlAbstract.php" hash="976105cb19e3c60b0b4683a423ca7b67"/></dir></dir><dir name="Refund"><file name="Parameter.php" hash="28794dc2ee1e146987a0a433372d0604"/><dir name="Additional"><file name="OpenInvoiceNl.php" hash="914f69d79edd6d8783c943ba16fea31d"/></dir></dir><dir name="Capture"><file name="Parameter.php" hash="8debe786d54a24c7c6cd3f50e9f1b373"/><dir name="Additional"><file name="OpenInvoiceNl.php" hash="e5d7be8e1ed3d14a92d6291cfa18552f"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="ApiController.php" hash="093826531dc91c59e214309aea623c5b"/><file name="CustomerController.php" hash="6ff59025c6b69e85a2edc6252fc0c875"/><file name="PaymentController.php" hash="ab8a15fdef0d8107ba654ef54406fbb5"/><dir name="Adminhtml"><file name="AdminController.php" hash="dc26a2c8d73ab3b00be8afd784bbe21e"/><file name="AliasController.php" hash="27faa3cd302bb1a121e73de8bc1e11ed"/><file name="KwixocategoryController.php" hash="309760984713a02607c5d5cdec80e893"/><file name="KwixoshippingController.php" hash="5278501d03fd34f8f1cf6440d9fc7cc1"/><file name="OpsstatusController.php" hash="b9605ffa5ea5b46fb13be5bee1c88d37"/></dir></dir><dir name="Block"><file name="Form.php" hash="74f63586d1d937d557f51aaf42f9fefd"/><file name="Frauddetection.php" hash="a1c45fbd64b30cce50cf0a467f2680b8"/><file name="Paypage.php" hash="ab20ea9cd8cedafd3060b2b690fb6083"/><file name="Placeform.php" hash="5ff5909bd452904cd8158ec96694cabd"/><file name="Placeform3dsecure.php" hash="c052b5d1e666537dc0d3d874d97f71bd"/><file name="RetryPayment.php" hash="1e09d83275050361bc7086cdd1cf9d88"/><dir name="Form"><file name="Alias.php" hash="5842be8a521f5e275808aa74194fdc16"/><file name="Cc.php" hash="7791dc681eb33ad008ffaadd47a86af0"/><file name="DirectDebit.php" hash="435e521cd93fe4bf3dc048bb0402289e"/><file name="Ideal.php" hash="87528a42521649690335896fcde98dbb"/><file name="OpsId.php" hash="5f0986cedea9284cab93e89da9317cdd"/><file name="Other.php" hash="00514922bfd89fd9055cd889230d6631"/><dir name="Kwixo"><file name="ApresReception.php" hash="c63fd382f302bf4242599352e7b5edbb"/><file name="Comptant.php" hash="7987b1219101ac6898f921b8e21fee82"/><file name="Credit.php" hash="064283540fc300745b57fcf2c6614f61"/></dir></dir><dir name="System"><dir name="Config"><file name="Kwixoconfiguration.php" hash="d49e502d1dcdcf987b9d28c95ef81e2d"/><file name="Mode.php" hash="6dc088520565165d549cc67538a77769"/><file name="Support.php" hash="abfd2fce3d84ca423b0b8afe61fd0749"/><dir name="Form"><dir name="Field"><file name="Brand.php" hash="d0c2e0c39d49013d45079eeb185a8080"/></dir></dir></dir></dir><dir name="Alias"><file name="List.php" hash="aca34f8efb6c18c11e7e383aa45cbce5"/></dir><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="ClosedTransaction"><file name="Warning.php" hash="19591a2b23ca0fcd3806e123ed7a33e4"/></dir><dir name="Totals"><file name="Checkbox.php" hash="79b26abf69352900225dd79cab7fea91"/></dir><dir name="Warning"><file name="OpenInvoiceNl.php" hash="88ad55d0b170a267b5633c42b5a4e5d6"/></dir></dir><dir name="Invoice"><dir name="Warning"><file name="OpenInvoice.php" hash="6b171eebb4fb7854d00920a601a9150d"/></dir></dir></dir></dir><dir name="Kwixocategory"><file name="CategoryTree.php" hash="87d4b3a40cbec7bce673ef6f24e71a99"/><file name="Edit.php" hash="1ad3d0c35b3272e25523b0c35e2a7767"/><dir name="Edit"><file name="Form.php" hash="a8db90e495bc27d80552ab420e133c1e"/></dir></dir><dir name="Kwixo"><dir name="Shipping"><file name="Edit.php" hash="0c84bba9d8fb645d467e42b93d002b2f"/></dir></dir><dir name="Customer"><dir name="Renderer"><file name="State.php" hash="144a37278a7874761914d1b62f254975"/></dir><dir name="Edit"><dir name="Tab"><file name="Alias.php" hash="5189bf1abc1cd93a7d6df62c2544b186"/></dir></dir></dir></dir><dir name="Info"><file name="Alias.php" hash="d2ddce2d59adc5c7d6943732bc92a728"/><file name="Cc.php" hash="3ee50da7773fba237e9071174b4bf531"/><file name="OpsId.php" hash="0773d52ca90f28a7aabbc714057d1108"/><file name="Redirect.php" hash="71d2dda7fac0b5c43c33cb6a7dcdb3fb"/></dir></dir><dir name="data"><dir name="ops_setup"><file name="data-install-14.02.05.php" hash="84d72f943d52a843a6f7140bbdaa5032"/><file name="data-upgrade-14.02.05-14.06.25.php" hash="9aaa0715308c644b05356b03dbb0a533"/><file name="data-upgrade-14.06.25-14.07.16.php" hash="55a9af948569fa51d7b0c2525cf0210e"/><file name="data-upgrade-15.06.08-15.11.02.php" hash="f9e7a843d6c3607e13bf050f00215748"/></dir></dir><dir name="etc"><file name="config.xml" hash="a623fc280e1e4c78c2b8867f4cf390d1"/><file name="system.xml" hash="7dc63e2412d01bb737f284cc499bc425"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Netresearch_OPS.xml" hash="11e14fb21d7728e9387614be7ceca1f8"/></dir></dir></dir><dir name="js"><dir name="netresearch"><dir name="ops"><file name="osc_payment.js" hash="9a46bd3aa1badb716a0af70690146515"/><file name="payment.js" hash="e0a05ff9d2881c3d855952a7b492d351"/></dir></dir></dir></target></contents></package>