myPOS_Virtual - Version 1.0.3

Version Notes

Fixed an error when tax is applied.
Changed fields info text in the administration.

Download this release

Release Info

Developer iPay International S.A.
Extension myPOS_Virtual
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/community/Mypos/Virtual/Helper/Data.php CHANGED
@@ -99,8 +99,8 @@ class Mypos_Virtual_Helper_Data extends Mage_Core_Helper_Abstract
99
  {
100
  $post['Article_' . $index] = html_entity_decode(strip_tags($item->getName()));
101
  $post['Quantity_' . $index] = number_format($item->getQtyOrdered(), 2, '.', '');
102
- $post['Price_' . $index] = number_format($item->getBaseOriginalPrice(), 2, '.', '');
103
- $post['Amount_' . $index] = number_format($item->getBaseOriginalPrice() * $item->getQtyOrdered(), 2, '.', '');
104
  $post['Currency_' . $index] = $_order->getBaseCurrency()->getCode();
105
 
106
  $index++;
@@ -109,8 +109,8 @@ class Mypos_Virtual_Helper_Data extends Mage_Core_Helper_Abstract
109
  if ($_order->getShippingDescription() !== '') {
110
  $post['Article_' . $index] = $_order->getShippingDescription();
111
  $post['Quantity_' . $index] = 1;
112
- $post['Price_' . $index] = number_format($_order->getBaseShippingAmount(), 2, '.', '');
113
- $post['Amount_' . $index] = number_format($_order->getBaseShippingAmount() * 1, 2, '.', '');
114
  $post['Currency_' . $index] = $_order->getBaseCurrency()->getCode();
115
 
116
  $index++;
99
  {
100
  $post['Article_' . $index] = html_entity_decode(strip_tags($item->getName()));
101
  $post['Quantity_' . $index] = number_format($item->getQtyOrdered(), 2, '.', '');
102
+ $post['Price_' . $index] = number_format($item->getPrice(), 2, '.', '');
103
+ $post['Amount_' . $index] = number_format($item->getPrice() * $item->getQtyOrdered(), 2, '.', '');
104
  $post['Currency_' . $index] = $_order->getBaseCurrency()->getCode();
105
 
106
  $index++;
109
  if ($_order->getShippingDescription() !== '') {
110
  $post['Article_' . $index] = $_order->getShippingDescription();
111
  $post['Quantity_' . $index] = 1;
112
+ $post['Price_' . $index] = number_format($_order->getShippingAmount(), 2, '.', '');
113
+ $post['Amount_' . $index] = number_format($_order->getShippingAmount() * 1, 2, '.', '');
114
  $post['Currency_' . $index] = $_order->getBaseCurrency()->getCode();
115
 
116
  $index++;
app/code/community/Mypos/Virtual/etc/system.xml CHANGED
@@ -71,7 +71,7 @@
71
  <show_in_website>1</show_in_website>
72
  <show_in_store>1</show_in_store>
73
  <comment>
74
- <![CDATA[Store ID is given when you add a new online store. It could be reviewed in your online banking at mypos.eu - Menu Merchant services > myPOS Virtual > Online stores.]]>
75
  </comment>
76
  </developer_sid>
77
 
@@ -84,7 +84,7 @@
84
  <show_in_website>1</show_in_website>
85
  <show_in_store>1</show_in_store>
86
  <comment>
87
- <![CDATA[You can view your myPOS Client number in your online banking at mypos.eu]]>
88
  </comment>
89
  </developer_wallet_number>
90
 
@@ -97,7 +97,7 @@
97
  <show_in_website>1</show_in_website>
98
  <show_in_store>1</show_in_store>
99
  <comment>
100
- <![CDATA[The Private Key for your store is generated in your online banking at mypos.eu - Menu Merchant services > myPOS Virtual > Online stores > Keys menu.]]>
101
  </comment>
102
  </developer_store_private_key>
103
 
@@ -111,7 +111,7 @@
111
  <show_in_website>1</show_in_website>
112
  <show_in_store>1</show_in_store>
113
  <comment>
114
- <![CDATA[The myPOS Public Certificate is available for download in your online banking at mypos.eu - Menu Merchant services > myPOS Virtual > Online stores > Keys menu.]]>
115
  </comment>
116
  </developer_ipc_public_certificate>
117
 
@@ -134,7 +134,7 @@
134
  <show_in_website>1</show_in_website>
135
  <show_in_store>1</show_in_store>
136
  <comment>
137
- <![CDATA[The Key Index assigned to the certificate could be reviewed in your online banking at mypos.eu - Menu Merchant services > myPOS Virtual > Online stores > Keys menu.]]>
138
  </comment>
139
  </developer_keyindex>
140
  </fields>
@@ -157,7 +157,7 @@
157
  <show_in_website>1</show_in_website>
158
  <show_in_store>1</show_in_store>
159
  <comment>
160
- <![CDATA[Store ID is given when you add a new online store. It could be reviewed in your online banking at mypos.eu - Menu Merchant services > myPOS Virtual > Online stores.]]>
161
  </comment>
162
  </production_sid>
163
  <production_wallet_number translate="label">
@@ -169,7 +169,7 @@
169
  <show_in_website>1</show_in_website>
170
  <show_in_store>1</show_in_store>
171
  <comment>
172
- <![CDATA[You can view your myPOS Client number in your online banking at mypos.eu]]>
173
  </comment>
174
  </production_wallet_number>
175
 
@@ -182,7 +182,7 @@
182
  <show_in_website>1</show_in_website>
183
  <show_in_store>1</show_in_store>
184
  <comment>
185
- <![CDATA[The Private Key for your store is generated in your online banking at mypos.eu - Menu Merchant services > myPOS Virtual > Online stores > Keys menu.]]>
186
  </comment>
187
  </production_store_private_key>
188
 
@@ -195,7 +195,7 @@
195
  <show_in_website>1</show_in_website>
196
  <show_in_store>1</show_in_store>
197
  <comment>
198
- <![CDATA[The myPOS Public Certificate is available for download in your online banking at mypos.eu - Menu Merchant services > myPOS Virtual > Online stores > Keys menu.]]>
199
  </comment>
200
  </production_ipc_public_certificate>
201
 
@@ -218,7 +218,7 @@
218
  <show_in_website>1</show_in_website>
219
  <show_in_store>1</show_in_store>
220
  <comment>
221
- <![CDATA[The Key Index assigned to the certificate could be reviewed in your online banking at mypos.eu - Menu Merchant services > myPOS Virtual > Online stores > Keys menu.]]>
222
  </comment>
223
  </production_keyindex>
224
  </fields>
71
  <show_in_website>1</show_in_website>
72
  <show_in_store>1</show_in_store>
73
  <comment>
74
+ <![CDATA[Store ID is given when you add a new online store. It could be reviewed in your online banking at www.mypos.eu > menu eCommerce > Online stores.]]>
75
  </comment>
76
  </developer_sid>
77
 
84
  <show_in_website>1</show_in_website>
85
  <show_in_store>1</show_in_store>
86
  <comment>
87
+ <![CDATA[You can view your myPOS Client number in your online banking at www.mypos.eu]]>
88
  </comment>
89
  </developer_wallet_number>
90
 
97
  <show_in_website>1</show_in_website>
98
  <show_in_store>1</show_in_store>
99
  <comment>
100
+ <![CDATA[The Private Key for your store is generated in your online banking at www.mypos.eu > menu eCommerce > Online stores > Keys.]]>
101
  </comment>
102
  </developer_store_private_key>
103
 
111
  <show_in_website>1</show_in_website>
112
  <show_in_store>1</show_in_store>
113
  <comment>
114
+ <![CDATA[The myPOS Public Certificate is available for download in your online banking at www.mypos.eu > menu eCommerce > Online stores > Keys.]]>
115
  </comment>
116
  </developer_ipc_public_certificate>
117
 
134
  <show_in_website>1</show_in_website>
135
  <show_in_store>1</show_in_store>
136
  <comment>
137
+ <![CDATA[The Key Index assigned to the certificate could be reviewed in your online banking at www.mypos.eu > menu eCommerce > Online stores > Keys.]]>
138
  </comment>
139
  </developer_keyindex>
140
  </fields>
157
  <show_in_website>1</show_in_website>
158
  <show_in_store>1</show_in_store>
159
  <comment>
160
+ <![CDATA[Store ID is given when you add a new online store. It could be reviewed in your online banking at www.mypos.eu > menu eCommerce > Online stores.]]>
161
  </comment>
162
  </production_sid>
163
  <production_wallet_number translate="label">
169
  <show_in_website>1</show_in_website>
170
  <show_in_store>1</show_in_store>
171
  <comment>
172
+ <![CDATA[You can view your myPOS Client number in your online banking at www.mypos.eu]]>
173
  </comment>
174
  </production_wallet_number>
175
 
182
  <show_in_website>1</show_in_website>
183
  <show_in_store>1</show_in_store>
184
  <comment>
185
+ <![CDATA[The Private Key for your store is generated in your online banking at www.mypos.eu > menu eCommerce > Online stores > Keys.]]>
186
  </comment>
187
  </production_store_private_key>
188
 
195
  <show_in_website>1</show_in_website>
196
  <show_in_store>1</show_in_store>
197
  <comment>
198
+ <![CDATA[The myPOS Public Certificate is available for download in your online banking at www.mypos.eu > menu eCommerce > Online stores > Keys.]]>
199
  </comment>
200
  </production_ipc_public_certificate>
201
 
218
  <show_in_website>1</show_in_website>
219
  <show_in_store>1</show_in_store>
220
  <comment>
221
+ <![CDATA[The Key Index assigned to the certificate could be reviewed in your online banking at www.mypos.eu > menu eCommerce > Online stores > Keys.]]>
222
  </comment>
223
  </production_keyindex>
224
  </fields>
app/etc/modules/Mypos_Virtual.xml DELETED
@@ -1,9 +0,0 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <Mypos_Virtual>
5
- <active>true</active>
6
- <codePool>community</codePool>
7
- </Mypos_Virtual>
8
- </modules>
9
- </config>
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,20 +1,21 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>myPOS_Virtual</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Accept card payments in few easy steps! Try our simple and secure checkout solution for European merchants.</summary>
10
  <description>myPOS Virtual is an extension especially designed for European-based merchants who need a simple and secure complete checkout solution. Start accepting credit and debit card payments at your online store in few easy steps.&#xD;
11
- By using myPOS Virtual you enjoy a checkout extension backed-up by a comprehensive free merchant account with multiple currencies and an IBAN in Luxembourg.&#xD;
12
- </description>
13
- <notes>Fixed an error when tax is applied.</notes>
 
14
  <authors><author><name>iPay International S.A.</name><user>ipay_developer</user><email>mvp@ipay.eu</email></author></authors>
15
- <date>2016-06-14</date>
16
- <time>06:44:53</time>
17
- <contents><target name="magecommunity"><dir name="Mypos"><dir name="Virtual"><dir name="Helper"><file name="Data.php" hash="03c1b002b18ac56f37fa7965298ba19d"/></dir><dir name="Model"><file name="Standard.php" hash="9c304393adbff742cbfec7af6a37bea7"/></dir><dir name="controllers"><file name="PaymentController.php" hash="725bd38de841efc89f205af4615d3349"/></dir><dir name="etc"><file name="config.xml" hash="51643300f013179eac57d538544420c1"/><file name="system.xml" hash="094a97cc1847aac6b90f2cc90ddd5183"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="mypos_virtual"><file name="redirect.phtml" hash="32904da0aa80adf0e0bc8b9c03c4f89e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mypos_Virtual.xml" hash="d38d8e8a3a6631179dfc3498736c75c9"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>7.9.9</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>myPOS_Virtual</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Accept card payments in few easy steps! Try our simple and secure checkout solution for European merchants.</summary>
10
  <description>myPOS Virtual is an extension especially designed for European-based merchants who need a simple and secure complete checkout solution. Start accepting credit and debit card payments at your online store in few easy steps.&#xD;
11
+ &#xD;
12
+ By using myPOS Virtual you enjoy a checkout extension backed-up by a comprehensive free merchant account with multiple currencies and an IBAN in Luxembourg.</description>
13
+ <notes>Fixed an error when tax is applied.&#xD;
14
+ Changed fields info text in the administration.</notes>
15
  <authors><author><name>iPay International S.A.</name><user>ipay_developer</user><email>mvp@ipay.eu</email></author></authors>
16
+ <date>2016-07-25</date>
17
+ <time>10:56:47</time>
18
+ <contents><target name="magecommunity"><dir name="Mypos"><dir name="Virtual"><dir name="Helper"><file name="Data.php" hash="2a93302f24256d2acc243ca2780a8b4e"/></dir><dir name="Model"><file name="Standard.php" hash="9c304393adbff742cbfec7af6a37bea7"/></dir><dir name="controllers"><file name="PaymentController.php" hash="725bd38de841efc89f205af4615d3349"/></dir><dir name="etc"><file name="config.xml" hash="51643300f013179eac57d538544420c1"/><file name="system.xml" hash="3458b199bca9db609bc90231a53c7614"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="mypos_virtual"><file name="redirect.phtml" hash="32904da0aa80adf0e0bc8b9c03c4f89e"/></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.2.0</min><max>7.9.9</max></php></required></dependencies>
21
  </package>