NetPay_Netpayonlinepayments - Version 1.0.3

Version Notes

Fixed problem with rounding of prices

Download this release

Release Info

Developer Huseyin Ozturk
Extension NetPay_Netpayonlinepayments
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/local/NetPay/Netpayonlinepayments/Block/Redirect.php CHANGED
@@ -1,4 +1,5 @@
1
- <?php
 
2
  /**
3
  * NetPay_Netpayonlinepayments extension
4
  *
@@ -17,177 +18,174 @@
17
  * @copyright Copyright (c) 2014
18
  * @license http://opensource.org/licenses/mit-license.php MIT License
19
  */
20
-
21
- class NetPay_Netpayonlinepayments_Block_Redirect extends Mage_Core_Block_Abstract
22
- {
23
- /**
24
- * @Purpose : Return redirect form html to be submitted to the hosted payment form or the transparent redirect page
25
- * @author : NetPay Development Team
26
- */
27
- protected function _toHtml()
28
  {
29
- $model = Mage::getModel('netpayonlinepayments/direct');
30
- $netpayPaymentMode = $model->getConfigData('method');
31
- $html = self::_redirectHostedPaymentForm();
32
 
33
  return $html;
34
  }
35
-
36
  /**
37
- * @Purpose : Function to build the redirect form for the Hosted Payment type
38
- * @return : return html form with data to be submitted on gateway
39
- * @author : NetPay Development Team
40
- */
41
- private function _redirectHostedPaymentForm() {
42
-
43
- $html = '';
44
-
45
- $netPayActionURL = Mage::helper('netpayonlinepayments')->getActionUrl();
46
- $netpayResponseURL = Mage::helper('netpayonlinepayments')->getResponseUrl();
47
-
48
- $encResponse = Mage::helper('netpayonlinepayments')->getBackendResponseMode();
49
-
50
- $session = Mage::getSingleton('checkout/session');
51
-
52
- // create a Magento form
 
53
  $form = new Varien_Data_Form();
54
 
55
- //Basic Form Elements
56
- $form->addField("merchant_id", 'hidden', array('name'=>"merchant_id", 'value'=> $session->getMerchantid() ));
57
- $form->addField("username", 'hidden', array('name'=>"username", 'value'=> $session->getUsername() ));
58
- $form->addField("password", 'hidden', array('name'=>"password", 'value'=> $session->getPassword() ));
59
- $form->addField("operation_mode", 'hidden', array('name'=>"operation_mode", 'value'=> $session->getOperationMode() ));
60
- $form->addField("session_token", 'hidden', array('name'=>"session_token", 'value'=> $session->getSessionToken() ));
61
- $form->addField("description", 'hidden', array('name'=>"description", 'value'=> $session->getDescription() ));
62
- $form->addField("amount", 'hidden', array('name'=>"amount", 'value'=> $session->getAmount() ));
63
- $form->addField("currency", 'hidden', array('name'=>"currency", 'value'=> $session->getCurrency() ));
64
- $form->addField("transaction_id", 'hidden', array('name'=>"transaction_id", 'value'=> $session->getTransactionId() ));
65
- $form->addField("response_url", 'hidden', array('name'=>"response_url", 'value'=> $netpayResponseURL ));
66
- $form->addField("backend_response", 'hidden', array('name'=>"backend_response", 'value'=> $encResponse ));
67
-
68
-
69
- //Billing Deatil Form Elements
70
- if($session->getBillingCompany() != '')
71
- $form->addField("bill_to_company", 'hidden', array('name'=>"bill_to_company", 'value'=> $session->getBillingCompany() ));
72
-
73
- if($session->getBillingAddress() != '')
74
- $form->addField("bill_to_address", 'hidden', array('name'=>"bill_to_address", 'value'=> $session->getBillingAddress() ));
75
-
76
- if($session->getBillingCity() != '')
77
- $form->addField("bill_to_town_city", 'hidden', array('name'=>"bill_to_town_city", 'value'=> $session->getBillingCity() ));
78
-
79
- if($session->getBillingCounty() != '')
80
- $form->addField("bill_to_county", 'hidden', array('name'=>"bill_to_county", 'value'=> $session->getBillingCounty() ));
81
-
82
- if($session->getBillingPostcode() != '')
83
- $form->addField("bill_to_postcode", 'hidden', array('name'=>"bill_to_postcode", 'value'=> $session->getBillingPostcode() ));
84
-
85
- if($session->getBillingCountry() != '')
86
- $form->addField("bill_to_country", 'hidden', array('name'=>"bill_to_country", 'value'=> $session->getBillingCountry() ));
87
-
88
-
89
- //Shipping Detail form elements
90
- if($session->getShipTitle() != '')
91
- $form->addField("ship_to_title", 'hidden', array('name'=>"ship_to_title", 'value'=> $session->getShipTitle() ));
92
-
93
- if($session->getShipFirstname() != '')
94
- $form->addField("ship_to_firstname", 'hidden', array('name'=>"ship_to_firstname", 'value'=> $session->getShipFirstname() ));
95
-
96
- if($session->getShipMiddlename() != '')
97
- $form->addField("ship_to_middlename", 'hidden', array('name'=>"ship_to_middlename", 'value'=> $session->getShipMiddlename() ));
98
-
99
- if($session->getShipLastname() != '')
100
- $form->addField("ship_to_lastname", 'hidden', array('name'=>"ship_to_lastname", 'value'=> $session->getShipLastname() ));
101
-
102
- if($session->getShipFullname() != '')
103
- $form->addField("ship_to_fullname", 'hidden', array('name'=>"ship_to_fullname", 'value'=> $session->getShipFullname() ));
104
-
105
- if($session->getShipCompany() != '')
106
- $form->addField("ship_to_company", 'hidden', array('name'=>"ship_to_company", 'value'=> $session->getShipCompany() ));
107
-
108
- if($session->getShipAddress() != '')
109
- $form->addField("ship_to_address", 'hidden', array('name'=>"ship_to_address", 'value'=> $session->getShipAddress() ));
110
-
111
- if($session->getShipCity() != '')
112
- $form->addField("ship_to_town_city", 'hidden', array('name'=>"ship_to_town_city", 'value'=> $session->getShipCity() ));
113
-
114
- if($session->getShipCounty() != '')
115
- $form->addField("ship_to_county", 'hidden', array('name'=>"ship_to_county", 'value'=> $session->getShipCounty() ));
116
-
117
- if($session->getShipCountry() != '')
118
- $form->addField("ship_to_country", 'hidden', array('name'=>"ship_to_country", 'value'=> $session->getShipCountry() ));
119
-
120
- if($session->getShipMethod() != '')
121
- $form->addField("ship_to_method", 'hidden', array('name'=>"ship_to_method", 'value'=> $session->getShipMethod() ));
122
-
123
- if($session->getShipPhone() != '')
124
- $form->addField("ship_to_phone", 'hidden', array('name'=>"ship_to_phone", 'value'=> $session->getShipPhone() ));
125
-
126
- //Order Items Form elements
127
- $form->addField("order_items", 'hidden', array('name'=>"order_items", 'value'=> $session->getOrderedItems() ));
128
-
129
- //Customer form elements
130
- if($session->getCustomerEmail() != '')
131
- $form->addField("customer_email", 'hidden', array('name'=>"customer_email", 'value'=> $session->getCustomerEmail() ));
132
-
133
- if($session->getCustomerPhone() != '')
134
- $form->addField("customer_phone", 'hidden', array('name'=>"customer_phone", 'value'=> $session->getCustomerPhone() ));
135
-
136
- $quoteId = Mage::getSingleton('checkout/session')->getQuoteId();
137
-
138
- $fieldName = Mage::helper('netpayonlinepayments')->getEncryptStr('orderid|quoteid');
139
- $form->addField("orderid", 'hidden', array('name'=>"orderid", 'value'=> $session->getCustomField()));
140
- $form->addField("quoteid", 'hidden', array('name'=>"quoteid", 'value'=> $quoteId));
141
- $form->addField("custom_fields", 'hidden', array('name'=>"custom_fields", 'value'=> $fieldName));
142
-
143
 
144
  // reset the session items
145
  Mage::getSingleton('checkout/session')->setMerchantid(null)
146
- ->setUsername(null)
147
- ->setPassword(null)
148
- ->setOperationMode(null)
149
- ->setSessionToken(null)
150
- ->setDescription(null)
151
- ->setAmount(null)
152
- ->setCurrency(null)
153
- ->setTransactionId(null)
154
- ->setResponseUrl(null)
155
- ->setBillingCompany(null)
156
- ->setBillingAddress(null)
157
- ->setBillingCity(null)
158
- ->setBillingCounty(null)
159
- ->setBillingPostcode(null)
160
- ->setBillingCountry(null)
161
- ->setShipTitle(null)
162
- ->setShipFirstname(null)
163
- ->setShipMiddlename(null)
164
- ->setShipLastname(null)
165
- ->setShipFullname(null)
166
- ->setShipCompany(null)
167
- ->setShipAddress(null)
168
- ->setShipCity(null)
169
- ->setShipCounty(null)
170
- ->setShipCountry(null)
171
- ->setShipMethod(null)
172
- ->setShipPhone(null)
173
- ->setOrderedItems(null)
174
- ->setCustomerEmail(null)
175
- ->setCustomerPhone(null)
176
- ->setCustomField(null);
177
-
178
-
179
- $html = '<html><body>';
180
  $html.= $this->__("You will be redirected to a secure payment page in a few seconds. Make sure you don't press the 'Back' button in your browser till your order is complete.");
181
- $html.= "<form action='".$netPayActionURL."' id='NetPayHostedForm' name='NetPayHostedForm' method='POST'>";
182
  $html.= $form->toHtml();
183
  $html.= '</form>';
184
  $html.= '<script type="text/javascript">document.getElementById("NetPayHostedForm").submit();</script>';
185
  $html.= '</body></html>';
186
-
187
- return $html;
188
  }
189
-
190
-
191
-
192
-
193
  }
1
+ <?php
2
+
3
  /**
4
  * NetPay_Netpayonlinepayments extension
5
  *
18
  * @copyright Copyright (c) 2014
19
  * @license http://opensource.org/licenses/mit-license.php MIT License
20
  */
21
+ class NetPay_Netpayonlinepayments_Block_Redirect extends Mage_Core_Block_Abstract {
22
+
23
+ /**
24
+ * @Purpose : Return redirect form html to be submitted to the hosted payment form or the transparent redirect page
25
+ * @author : NetPay Development Team
26
+ */
27
+ protected function _toHtml()
 
28
  {
29
+ $model = Mage::getModel('netpayonlinepayments/direct');
30
+ $netpayPaymentMode = $model->getConfigData('method');
31
+ $html = self::_redirectHostedPaymentForm();
32
 
33
  return $html;
34
  }
35
+
36
  /**
37
+ * @Purpose : Function to build the redirect form for the Hosted Payment type
38
+ * @return : return html form with data to be submitted on gateway
39
+ * @author : NetPay Development Team
40
+ */
41
+ private function _redirectHostedPaymentForm()
42
+ {
43
+
44
+ $html = '';
45
+
46
+ $netPayActionURL = Mage::helper('netpayonlinepayments')->getActionUrl();
47
+ $netpayResponseURL = Mage::helper('netpayonlinepayments')->getResponseUrl();
48
+
49
+ $encResponse = Mage::helper('netpayonlinepayments')->getBackendResponseMode();
50
+
51
+ $session = Mage::getSingleton('checkout/session');
52
+
53
+ // create a Magento form
54
  $form = new Varien_Data_Form();
55
 
56
+ //Basic Form Elements
57
+ $form->addField("merchant_id", 'hidden', array('name' => "merchant_id", 'value' => $session->getMerchantid()));
58
+ $form->addField("username", 'hidden', array('name' => "username", 'value' => $session->getUsername()));
59
+ $form->addField("password", 'hidden', array('name' => "password", 'value' => $session->getPassword()));
60
+ $form->addField("operation_mode", 'hidden', array('name' => "operation_mode", 'value' => $session->getOperationMode()));
61
+ $form->addField("session_token", 'hidden', array('name' => "session_token", 'value' => $session->getSessionToken()));
62
+ $form->addField("description", 'hidden', array('name' => "description", 'value' => $session->getDescription()));
63
+ $form->addField("amount", 'hidden', array('name' => "amount", 'value' => $session->getAmount()));
64
+ $form->addField("currency", 'hidden', array('name' => "currency", 'value' => $session->getCurrency()));
65
+ $form->addField("transaction_id", 'hidden', array('name' => "transaction_id", 'value' => $session->getTransactionId()));
66
+ $form->addField("response_url", 'hidden', array('name' => "response_url", 'value' => $netpayResponseURL));
67
+ $form->addField("backend_response", 'hidden', array('name' => "backend_response", 'value' => $encResponse));
68
+
69
+
70
+ //Billing Deatil Form Elements
71
+ if ($session->getBillingCompany() != '')
72
+ $form->addField("bill_to_company", 'hidden', array('name' => "bill_to_company", 'value' => $session->getBillingCompany()));
73
+
74
+ if ($session->getBillingAddress() != '')
75
+ $form->addField("bill_to_address", 'hidden', array('name' => "bill_to_address", 'value' => $session->getBillingAddress()));
76
+
77
+ if ($session->getBillingCity() != '')
78
+ $form->addField("bill_to_town_city", 'hidden', array('name' => "bill_to_town_city", 'value' => $session->getBillingCity()));
79
+
80
+ if ($session->getBillingCounty() != '')
81
+ $form->addField("bill_to_county", 'hidden', array('name' => "bill_to_county", 'value' => $session->getBillingCounty()));
82
+
83
+ if ($session->getBillingPostcode() != '')
84
+ $form->addField("bill_to_postcode", 'hidden', array('name' => "bill_to_postcode", 'value' => $session->getBillingPostcode()));
85
+
86
+ if ($session->getBillingCountry() != '')
87
+ $form->addField("bill_to_country", 'hidden', array('name' => "bill_to_country", 'value' => $session->getBillingCountry()));
88
+
89
+
90
+ //Shipping Detail form elements
91
+ if ($session->getShipTitle() != '')
92
+ $form->addField("ship_to_title", 'hidden', array('name' => "ship_to_title", 'value' => $session->getShipTitle()));
93
+
94
+ if ($session->getShipFirstname() != '')
95
+ $form->addField("ship_to_firstname", 'hidden', array('name' => "ship_to_firstname", 'value' => $session->getShipFirstname()));
96
+
97
+ if ($session->getShipMiddlename() != '')
98
+ $form->addField("ship_to_middlename", 'hidden', array('name' => "ship_to_middlename", 'value' => $session->getShipMiddlename()));
99
+
100
+ if ($session->getShipLastname() != '')
101
+ $form->addField("ship_to_lastname", 'hidden', array('name' => "ship_to_lastname", 'value' => $session->getShipLastname()));
102
+
103
+ if ($session->getShipFullname() != '')
104
+ $form->addField("ship_to_fullname", 'hidden', array('name' => "ship_to_fullname", 'value' => $session->getShipFullname()));
105
+
106
+ if ($session->getShipCompany() != '')
107
+ $form->addField("ship_to_company", 'hidden', array('name' => "ship_to_company", 'value' => $session->getShipCompany()));
108
+
109
+ if ($session->getShipAddress() != '')
110
+ $form->addField("ship_to_address", 'hidden', array('name' => "ship_to_address", 'value' => $session->getShipAddress()));
111
+
112
+ if ($session->getShipCity() != '')
113
+ $form->addField("ship_to_town_city", 'hidden', array('name' => "ship_to_town_city", 'value' => $session->getShipCity()));
114
+
115
+ if ($session->getShipCounty() != '')
116
+ $form->addField("ship_to_county", 'hidden', array('name' => "ship_to_county", 'value' => $session->getShipCounty()));
117
+
118
+ if ($session->getShipCountry() != '')
119
+ $form->addField("ship_to_country", 'hidden', array('name' => "ship_to_country", 'value' => $session->getShipCountry()));
120
+
121
+ if ($session->getShipMethod() != '')
122
+ $form->addField("ship_to_method", 'hidden', array('name' => "ship_to_method", 'value' => $session->getShipMethod()));
123
+
124
+ if ($session->getShipPhone() != '')
125
+ $form->addField("ship_to_phone", 'hidden', array('name' => "ship_to_phone", 'value' => $session->getShipPhone()));
126
+
127
+ //Order Items Form elements
128
+ $form->addField("order_items", 'hidden', array('name' => "order_items", 'value' => $session->getOrderedItems()));
129
+
130
+ //Customer form elements
131
+ if ($session->getCustomerEmail() != '')
132
+ $form->addField("customer_email", 'hidden', array('name' => "customer_email", 'value' => $session->getCustomerEmail()));
133
+
134
+ if ($session->getCustomerPhone() != '')
135
+ $form->addField("customer_phone", 'hidden', array('name' => "customer_phone", 'value' => $session->getCustomerPhone()));
136
+
137
+ $quoteId = Mage::getSingleton('checkout/session')->getQuoteId();
138
+
139
+ $fieldName = Mage::helper('netpayonlinepayments')->getEncryptStr('orderid|quoteid');
140
+ $form->addField("orderid", 'hidden', array('name' => "orderid", 'value' => $session->getCustomField()));
141
+ $form->addField("quoteid", 'hidden', array('name' => "quoteid", 'value' => $quoteId));
142
+ $form->addField("custom_fields", 'hidden', array('name' => "custom_fields", 'value' => $fieldName));
143
+
144
 
145
  // reset the session items
146
  Mage::getSingleton('checkout/session')->setMerchantid(null)
147
+ ->setUsername(null)
148
+ ->setPassword(null)
149
+ ->setOperationMode(null)
150
+ ->setSessionToken(null)
151
+ ->setDescription(null)
152
+ ->setAmount(null)
153
+ ->setCurrency(null)
154
+ ->setTransactionId(null)
155
+ ->setResponseUrl(null)
156
+ ->setBillingCompany(null)
157
+ ->setBillingAddress(null)
158
+ ->setBillingCity(null)
159
+ ->setBillingCounty(null)
160
+ ->setBillingPostcode(null)
161
+ ->setBillingCountry(null)
162
+ ->setShipTitle(null)
163
+ ->setShipFirstname(null)
164
+ ->setShipMiddlename(null)
165
+ ->setShipLastname(null)
166
+ ->setShipFullname(null)
167
+ ->setShipCompany(null)
168
+ ->setShipAddress(null)
169
+ ->setShipCity(null)
170
+ ->setShipCounty(null)
171
+ ->setShipCountry(null)
172
+ ->setShipMethod(null)
173
+ ->setShipPhone(null)
174
+ ->setOrderedItems(null)
175
+ ->setCustomerEmail(null)
176
+ ->setCustomerPhone(null)
177
+ ->setCustomField(null);
178
+
179
+
180
+ $html = '<html><body>';
181
  $html.= $this->__("You will be redirected to a secure payment page in a few seconds. Make sure you don't press the 'Back' button in your browser till your order is complete.");
182
+ $html.= "<form action='" . $netPayActionURL . "' id='NetPayHostedForm' name='NetPayHostedForm' method='POST'>";
183
  $html.= $form->toHtml();
184
  $html.= '</form>';
185
  $html.= '<script type="text/javascript">document.getElementById("NetPayHostedForm").submit();</script>';
186
  $html.= '</body></html>';
187
+
188
+ return $html;
189
  }
190
+
 
 
 
191
  }
app/code/local/NetPay/Netpayonlinepayments/Model/Configkey.php CHANGED
@@ -1,2 +1,2 @@
1
- <?php $security_key="place security key here";
2
- $security_iv="place security key iv here";?>
1
+ <?php $security_key="fc0ec251d1925d2c6a9ccfa2ffea3dea";
2
+ $security_iv="9af4f2ec8ca1899919b6e31983c7b06a";?>
app/code/local/NetPay/Netpayonlinepayments/Model/Direct.php CHANGED
@@ -62,7 +62,8 @@ class NetPay_Netpayonlinepayments_Model_Direct extends Mage_Payment_Model_Method
62
  // Set Order Details
63
  $encDescription = Mage::helper('netpayonlinepayments')->getEncryptStr('Order Description');
64
  $encCurrencyCode = Mage::helper('netpayonlinepayments')->getEncryptStr($order->getOrderCurrency()->getCurrencyCode());
65
- $encAmount = Mage::helper('netpayonlinepayments')->getEncryptStr(round( $order->base_grand_total, 2 ));
 
66
 
67
 
68
  // Retrieve order details
@@ -206,7 +207,7 @@ class NetPay_Netpayonlinepayments_Model_Direct extends Mage_Payment_Model_Method
206
  if($description == '')
207
  $description = $name;
208
 
209
- $price = round( $item->getData('price'), 2 );
210
  $taxable = 1;
211
  $orderedItems.='[{item_id|'.$sku.'}{item_taxable|'.$taxable.'}{item_name|'.$name.'}{item_description|'.$description.'}{item_quantity|'.$qty.'}{item_price|'.$price.'}]';
212
  }
62
  // Set Order Details
63
  $encDescription = Mage::helper('netpayonlinepayments')->getEncryptStr('Order Description');
64
  $encCurrencyCode = Mage::helper('netpayonlinepayments')->getEncryptStr($order->getOrderCurrency()->getCurrencyCode());
65
+ $encAmount = Mage::helper('netpayonlinepayments')->getEncryptStr(number_format( $order->base_grand_total, 2, '.', '' ));
66
+
67
 
68
 
69
  // Retrieve order details
207
  if($description == '')
208
  $description = $name;
209
 
210
+ $price = number_format( $item->getData('price'), 2, '.', '' );
211
  $taxable = 1;
212
  $orderedItems.='[{item_id|'.$sku.'}{item_taxable|'.$taxable.'}{item_name|'.$name.'}{item_description|'.$description.'}{item_quantity|'.$qty.'}{item_price|'.$price.'}]';
213
  }
package.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>NetPay_Netpayonlinepayments</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
- <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>NetPay&#x2019;s Official Payment Extension for Hosted Form and API Integration method. Fully integrated with Magento checkout process.</summary>
@@ -22,11 +22,11 @@ Features&#xD;
22
  &#x2022; Supports tokenization, which enables store the payer&#x2019;s card information on NetPay&#x2019;s Secure Server&#xD;
23
  &#x2022; Simple and easy configuration&#xD;
24
  </description>
25
- <notes>Fixed Validation issue on checkout page.</notes>
26
  <authors><author><name>Huseyin Ozturk</name><user>netpay</user><email>huseyin.ozturk@netpay.co.uk</email></author></authors>
27
- <date>2014-03-18</date>
28
- <time>12:33:03</time>
29
- <contents><target name="magelocal"><dir name="NetPay"><dir name="Netpayonlinepayments"><dir name="Block"><file name="Api.php" hash="0429409a1ece227416357fdd2c07eb19"/><file name="Form.php" hash="ae867dccec77bc8731c0c319c01402a4"/><file name="Redirect.php" hash="caaead5d59c68e353fb015ed8d17da5c"/><file name="Secureredirect.php" hash="402a0a4f7dd462e178692863325ef309"/></dir><dir name="Helper"><file name="Data.php" hash="b66ad1f28913e209a3fd5eea6f4d4d28"/></dir><dir name="Model"><file name="Card.php" hash="c7cc0d160f316dde037c1b7f2ec14994"/><file name="Configkey.php" hash="e096bba3a3c8b49b9955772f4c5fcc46"/><file name="Direct.php" hash="17cb95e6fddf392c26a46d42f5e1d940"/><dir name="Mysql4"><dir name="Card"><file name="Collection.php" hash="a2b0f9ff13a0bb52376d868b1d8520f0"/></dir><file name="Card.php" hash="c96dfece89ddf6da22aa1e507996e3c0"/><dir name="Response"><file name="Collection.php" hash="ff19db09c7bd5fdbef5241359b5b0cbf"/></dir><file name="Response.php" hash="90753bbe50f4d57ec038361db0ccdbf4"/><dir name="Temp"><file name="Collection.php" hash="03ca3ec1af68e06910190ccc34c30b10"/></dir><file name="Temp.php" hash="955e3a82839546574295d31ca87aa244"/></dir><file name="Netpayapi.php" hash="658cd33b4a7eb8950465ce0289f0ac14"/><file name="Response.php" hash="b6a1675696e1d1fc63992e437ae513c4"/><dir name="Source"><file name="Cctype.php" hash="fd4380fb02a6623cb0180de6dd806f4b"/><file name="OperationType.php" hash="23b55afe09fef51ea812cb97f7715496"/><file name="PaymentAction.php" hash="9c102faff0c1aa82a3eac11bbfdc0088"/><file name="PaymentMethod.php" hash="af97bcd4dd14292f84894e1456ccb24f"/><file name="PaymentMode.php" hash="9fb41527394c8e23ba79bafb36442693"/></dir><file name="Temp.php" hash="8875f13a75ecc75cb34c111c10da2961"/></dir><dir name="controllers"><file name="PaymentController.php" hash="7a15165c3653d0a8d9ef17a453d03578"/></dir><dir name="etc"><file name="config.xml" hash="8db36d35f06c90edc68278cd2c636800"/><file name="system.xml" hash="1cae3d4e9b62098f1656235788a281a0"/></dir><dir name="sql"><dir name="netpayonlinepayments_setup"><file name="install-1.0.0.php" hash="bee133624a0c09bf5138383f5381c348"/><file name="mysql4-install-1.0.0.php" hash="13257eaeb1e54a5a3a4fd5ad0dd4f98b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="NetPay_Netpayonlinepayments.xml" hash="7c99deb0539260de7f8f6e6cd47f8171"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="netpayonlinepayments"><file name="api_form.phtml" hash="ee203403465036ecac848f2797b386ae"/><file name="form.phtml" hash="73335dfaff5bb334793c4da02d43f2e2"/><file name="redirect.phtml" hash="14e8ad032ac0f4d7d569ff1619174997"/></dir></dir><dir name="layout"><file name="netpayonlinepayments.xml" hash="13f96c525cba5a1dd1f129a59a708c29"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><file name="netpay_payment.png" hash="8cb0d8dbec0fc02779e053f5d2ad4968"/></dir></dir></dir></dir></target><target name="magelib"><dir name="NetPay"><file name="Connection.php" hash="ac51135ad373b0193b8e9230c889cbdf"/></dir></target><target name="mage"><dir name="js"><dir name="NetPay"><file name="netpay-api.js" hash="aa36f04cbd78467700fdc712df9f5668"/></dir></dir></target></contents>
30
  <compatible/>
31
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
32
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>NetPay_Netpayonlinepayments</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
+ <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>NetPay&#x2019;s Official Payment Extension for Hosted Form and API Integration method. Fully integrated with Magento checkout process.</summary>
22
  &#x2022; Supports tokenization, which enables store the payer&#x2019;s card information on NetPay&#x2019;s Secure Server&#xD;
23
  &#x2022; Simple and easy configuration&#xD;
24
  </description>
25
+ <notes>Fixed problem with rounding of prices</notes>
26
  <authors><author><name>Huseyin Ozturk</name><user>netpay</user><email>huseyin.ozturk@netpay.co.uk</email></author></authors>
27
+ <date>2015-05-12</date>
28
+ <time>15:32:36</time>
29
+ <contents><target name="magelocal"><dir name="NetPay"><dir name="Netpayonlinepayments"><dir name="Block"><file name="Api.php" hash="0429409a1ece227416357fdd2c07eb19"/><file name="Form.php" hash="ae867dccec77bc8731c0c319c01402a4"/><file name="Redirect.php" hash="d96a5922a4f0aae616d39cec84d78974"/><file name="Secureredirect.php" hash="402a0a4f7dd462e178692863325ef309"/></dir><dir name="Helper"><file name="Data.php" hash="b66ad1f28913e209a3fd5eea6f4d4d28"/></dir><dir name="Model"><file name="Card.php" hash="c7cc0d160f316dde037c1b7f2ec14994"/><file name="Configkey.php" hash="e00f6572425364d24ce5c0d1e5fd2d23"/><file name="Direct.php" hash="dc51fbb45ce724e66d5cdeb2eaed2da0"/><dir name="Mysql4"><dir name="Card"><file name="Collection.php" hash="a2b0f9ff13a0bb52376d868b1d8520f0"/></dir><file name="Card.php" hash="c96dfece89ddf6da22aa1e507996e3c0"/><dir name="Response"><file name="Collection.php" hash="ff19db09c7bd5fdbef5241359b5b0cbf"/></dir><file name="Response.php" hash="90753bbe50f4d57ec038361db0ccdbf4"/><dir name="Temp"><file name="Collection.php" hash="03ca3ec1af68e06910190ccc34c30b10"/></dir><file name="Temp.php" hash="955e3a82839546574295d31ca87aa244"/></dir><file name="Netpayapi.php" hash="658cd33b4a7eb8950465ce0289f0ac14"/><file name="Response.php" hash="b6a1675696e1d1fc63992e437ae513c4"/><dir name="Source"><file name="Cctype.php" hash="fd4380fb02a6623cb0180de6dd806f4b"/><file name="OperationType.php" hash="23b55afe09fef51ea812cb97f7715496"/><file name="PaymentAction.php" hash="9c102faff0c1aa82a3eac11bbfdc0088"/><file name="PaymentMethod.php" hash="af97bcd4dd14292f84894e1456ccb24f"/><file name="PaymentMode.php" hash="9fb41527394c8e23ba79bafb36442693"/></dir><file name="Temp.php" hash="8875f13a75ecc75cb34c111c10da2961"/></dir><dir name="controllers"><file name="PaymentController.php" hash="7a15165c3653d0a8d9ef17a453d03578"/></dir><dir name="etc"><file name="config.xml" hash="8db36d35f06c90edc68278cd2c636800"/><file name="system.xml" hash="1cae3d4e9b62098f1656235788a281a0"/></dir><dir name="sql"><dir name="netpayonlinepayments_setup"><file name="install-1.0.0.php" hash="bee133624a0c09bf5138383f5381c348"/><file name="mysql4-install-1.0.0.php" hash="13257eaeb1e54a5a3a4fd5ad0dd4f98b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="NetPay_Netpayonlinepayments.xml" hash="7c99deb0539260de7f8f6e6cd47f8171"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="netpayonlinepayments"><file name="api_form.phtml" hash="ee203403465036ecac848f2797b386ae"/><file name="form.phtml" hash="73335dfaff5bb334793c4da02d43f2e2"/><file name="redirect.phtml" hash="14e8ad032ac0f4d7d569ff1619174997"/></dir></dir><dir name="layout"><file name="netpayonlinepayments.xml" hash="13f96c525cba5a1dd1f129a59a708c29"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><file name="netpay_payment.png" hash="8cb0d8dbec0fc02779e053f5d2ad4968"/></dir></dir></dir></dir></target><target name="magelib"><dir name="NetPay"><file name="Connection.php" hash="ac51135ad373b0193b8e9230c889cbdf"/></dir></target><target name="mage"><dir name="js"><dir name="NetPay"><file name="netpay-api.js" hash="aa36f04cbd78467700fdc712df9f5668"/></dir></dir></target></contents>
30
  <compatible/>
31
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
32
  </package>