NetPay_Netpayonlinepayments - Version 1.0.6

Version Notes

Fix for 3DS API request parameters

Download this release

Release Info

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


Code changes from version 1.0.5 to 1.0.6

app/code/local/NetPay/Netpayonlinepayments/Model/Netpayapi.php CHANGED
@@ -490,7 +490,7 @@ class NetPay_Netpayonlinepayments_Model_Netpayapi extends Mage_Payment_Model_Met
490
 
491
  $fields['ddd_secure_redirect']['page_generation_mode'] = 'SIMPLE';
492
 
493
- $fields['ddd_secure_redirect']['response_url'] = Mage::getBaseUrl() . 'netpayonlinepayments/payment/callbackSecure/';
494
 
495
  //Process request
496
  $response = $this->_sendRequest($fields);
490
 
491
  $fields['ddd_secure_redirect']['page_generation_mode'] = 'SIMPLE';
492
 
493
+ $fields['ddd_secure_redirect']['response_url'] = Mage::getUrl('netpayonlinepayments/payment/callbackSecure/', array('_secure' => true));
494
 
495
  //Process request
496
  $response = $this->_sendRequest($fields);
app/code/local/NetPay/Netpayonlinepayments/etc/config.xml CHANGED
@@ -20,7 +20,7 @@
20
  <config>
21
  <modules>
22
  <NetPay_Netpayonlinepayments>
23
- <version>1.0.5</version>
24
  </NetPay_Netpayonlinepayments>
25
  </modules>
26
  <global>
@@ -97,7 +97,7 @@
97
  <default>
98
  <payment>
99
  <netpaysettings>
100
- <version>1.0.5</version>
101
  </netpaysettings>
102
  <netpayonlinepayments>
103
  <active>0</active>
20
  <config>
21
  <modules>
22
  <NetPay_Netpayonlinepayments>
23
+ <version>1.0.6</version>
24
  </NetPay_Netpayonlinepayments>
25
  </modules>
26
  <global>
97
  <default>
98
  <payment>
99
  <netpaysettings>
100
+ <version>1.0.6</version>
101
  </netpaysettings>
102
  <netpayonlinepayments>
103
  <active>0</active>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>NetPay_Netpayonlinepayments</name>
4
- <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
@@ -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>Reworked API section for newer Magento version</notes>
26
  <authors><author><name>Huseyin Ozturk</name><user>netpay</user><email>huseyin.ozturk@netpay.co.uk</email></author></authors>
27
- <date>2015-09-30</date>
28
- <time>15:20:10</time>
29
- <contents><target name="magelocal"><dir name="NetPay"><dir name="Netpayonlinepayments"><dir name="Block"><file name="Api.php" hash="6aaa4f88a658c71d3747048644a10a2c"/><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="aa659f16c4e1e2848de0a09594dc8b5d"/></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="6987d08f997f0c5e53c411c2e1b9650a"/><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="722bff50171def1c0099fe01ea125f0c"/><file name="system.xml" hash="7f9d07ed0ad5fe7dd0c43ce989004b03"/></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="base"><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="d16a10dba3be3ee58d6e11be52de2bd6"/></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="3940325f7902cc5b31b84a3b8e41bff3"/></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.6</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
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>Fix for 3DS API request parameters</notes>
26
  <authors><author><name>Huseyin Ozturk</name><user>netpay</user><email>huseyin.ozturk@netpay.co.uk</email></author></authors>
27
+ <date>2015-10-13</date>
28
+ <time>10:43:43</time>
29
+ <contents><target name="magelocal"><dir name="NetPay"><dir name="Netpayonlinepayments"><dir name="Block"><file name="Api.php" hash="6aaa4f88a658c71d3747048644a10a2c"/><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="aa659f16c4e1e2848de0a09594dc8b5d"/></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="938789e8a036d55dbcbd773d0aeff7c3"/><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="6775bc8d04f64590c0e9ab90c7c9ffe8"/><file name="system.xml" hash="7f9d07ed0ad5fe7dd0c43ce989004b03"/></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="base"><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="d16a10dba3be3ee58d6e11be52de2bd6"/></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="3940325f7902cc5b31b84a3b8e41bff3"/></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>