multon_everypay - Version 1.3.7

Version Notes

1.3.7
- FIX: return message verification
- Config: option to enable/disable jquery linking in header

1.3.6
- show error messages and last order number on payment failure
- visual changes

1.3.5
- don't show expired tokens in checkout
- use iframe method with token payment even if redirect method configured
- link to order history on checkout failure page

1.3.4
- card type logos in checkout
- separate callback url
- verify order number

1.3.3
- card type logos in token handling
- FIX: token duplicate check
- FIX: default token change

1.3.2
- Saved cards/token handling
- Saved cards/token payment

1.2.5
FIX: removed newline in multiline street data

1.2.4
link jquery in header, iframe changes

1.2.3
New log
No redirect after failed payment

1.2.2
NEW: Live/Test url selection, separate credentials

1.2.1
NEW: Support iframe payment form

1.2.0
API protocol update
FIX: remove SID from callback_url

1.1.1
Use billing address if shipping address not present (downloadable products)

1.1.0
Converted to stand-alone community extension

1.0.6
Description and contact info

1.0.5
API protocol update: separated fail/cancelled transaction status

1.0.4
API protocol update

1.0.3
add account id

1.0.2
FIX: return url
FIX: return verification
new gateway url

1.0.1
FIX: redirect template

1.0.0
Stable release

Download this release

Release Info

Developer Multon
Extension multon_everypay
Version 1.3.7
Comparing to
See all releases


Code changes from version 1.3.6 to 1.3.7

app/code/community/Multon/Everypay/Model/Everypay.php CHANGED
@@ -18,6 +18,16 @@ class Multon_Everypay_Model_Everypay extends Mage_Payment_Model_Method_Abstract
18
  'cancelled' => self::_VERIFY_CANCEL,
19
  );
20
 
 
 
 
 
 
 
 
 
 
 
21
  public function getOrderPlaceRedirectUrl()
22
  {
23
  return Mage::getUrl('everypay/everypay/redirect');
18
  'cancelled' => self::_VERIFY_CANCEL,
19
  );
20
 
21
+ /**
22
+ * Returns payment gateway URL
23
+ *
24
+ * @return string Gateway URL
25
+ */
26
+ public function getGatewayUrl()
27
+ {
28
+ return Mage::getStoreConfig('payment/' . $this->_code . '/gateway_url');
29
+ }
30
+
31
  public function getOrderPlaceRedirectUrl()
32
  {
33
  return Mage::getUrl('everypay/everypay/redirect');
app/code/community/Multon/Everypay/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Multon_Everypay>
5
- <version>1.3.6</version>
6
  </Multon_Everypay>
7
  </modules>
8
  <global>
@@ -105,6 +105,7 @@
105
  <quick_redirect>1</quick_redirect>
106
  <show_logo>1</show_logo>
107
  <show_title>0</show_title>
 
108
  </multon_everypay>
109
  </payment>
110
  </default>
2
  <config>
3
  <modules>
4
  <Multon_Everypay>
5
+ <version>1.3.7</version>
6
  </Multon_Everypay>
7
  </modules>
8
  <global>
105
  <quick_redirect>1</quick_redirect>
106
  <show_logo>1</show_logo>
107
  <show_title>0</show_title>
108
+ <add_jquery>0</add_jquery>
109
  </multon_everypay>
110
  </payment>
111
  </default>
app/code/community/Multon/Everypay/etc/system.xml CHANGED
@@ -154,6 +154,15 @@
154
  <connection_type>0</connection_type>
155
  </depends>
156
  </quick_redirect>
 
 
 
 
 
 
 
 
 
157
  <show_logo translate="label">
158
  <label>Show Logo</label>
159
  <frontend_type>select</frontend_type>
154
  <connection_type>0</connection_type>
155
  </depends>
156
  </quick_redirect>
157
+ <add_jquery translate="label">
158
+ <label>Link jQuery in header</label>
159
+ <frontend_type>select</frontend_type>
160
+ <source_model>adminhtml/system_config_source_yesno</source_model>
161
+ <sort_order>41</sort_order>
162
+ <show_in_default>1</show_in_default>
163
+ <show_in_website>0</show_in_website>
164
+ <show_in_store>0</show_in_store>
165
+ </add_jquery>
166
  <show_logo translate="label">
167
  <label>Show Logo</label>
168
  <frontend_type>select</frontend_type>
app/design/frontend/base/default/layout/multon/everypay.xml CHANGED
@@ -2,11 +2,7 @@
2
  <layout version="0.1.0">
3
  <default>
4
  <reference name="head">
5
- <block type="core/text" name="cdn.jquery">
6
- <action method="setText">
7
- <text><![CDATA[<script src="//code.jquery.com/jquery-2.1.4.min.js"></script><script>jQuery.noConflict();</script>]]></text>
8
- </action>
9
- </block>
10
  </reference>
11
  <reference name="footer">
12
  <block type="everypay/info" name="everypay_info" template="multon/everypay/info.phtml" />
2
  <layout version="0.1.0">
3
  <default>
4
  <reference name="head">
5
+ <block type="core/template" name="everypay_jquery" template="multon/everypay/jquery.phtml" />
 
 
 
 
6
  </reference>
7
  <reference name="footer">
8
  <block type="everypay/info" name="everypay_info" template="multon/everypay/info.phtml" />
app/design/frontend/base/default/template/multon/everypay/jquery.phtml ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php if (Mage::getStoreConfig('payment/multon_everypay/add_jquery')) { ?>
2
+ <script src="//code.jquery.com/jquery-2.1.4.min.js"></script><script>jQuery.noConflict();</script>
3
+ <?php } ?>
package.xml CHANGED
@@ -1,14 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>multon_everypay</name>
4
- <version>1.3.6</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Multon Everypay</summary>
10
  <description>Multon Everypay</description>
11
- <notes>1.3.6&#xD;
 
 
 
 
12
  - show error messages and last order number on payment failure&#xD;
13
  - visual changes&#xD;
14
  &#xD;
@@ -80,9 +84,9 @@ FIX: redirect template&#xD;
80
  1.0.0&#xD;
81
  Stable release</notes>
82
  <authors><author><name>Multon</name><user>eepohs</user><email>magento@multon.ee</email></author><author><name>Jaanus Vapper</name><user>hullkuri</user><email>hullkuri@gmail.com</email></author><author><name>Tanel Raja</name><user>Pronto</user><email>tanel.raja@gmail.com</email></author></authors>
83
- <date>2015-12-30</date>
84
- <time>13:24:29</time>
85
- <contents><target name="magecommunity"><dir name="Multon"><dir name="Everypay"><dir name="Block"><dir name="Adminhtml"><file name="Fieldset.php" hash="324c82a14594133019deef5c98e8ec78"/><dir name="System"><dir name="Config"><file name="Intro.php" hash="25a5c87ee274de259ede0decc040f643"/><file name="Outro.php" hash="21e9865c5f85cc0c8a601cc171d3f5d0"/><file name="Version.php" hash="63d888085e44f1b99e77aec70f12f62a"/></dir></dir></dir><dir name="Customer"><file name="Token.php" hash="0a2ac90e46d7b58c9e81c730c3c72f58"/></dir><file name="Everypay.php" hash="85ee8f94d595a6fbdcc31ae736e7f6de"/><file name="Form.php" hash="fd13823c3435792c84d17f498c3c5461"/><file name="Info.php" hash="4755af2b544c9f5de39098046e6da0fb"/></dir><dir name="Helper"><file name="Data.php" hash="b30009b1c08d4c4e798ab717d69b0468"/></dir><dir name="Model"><file name="Everypay.php" hash="8b249b45ed688c048a9f537e7583f4ec"/><dir name="Resource"><dir name="Token"><file name="Collection.php" hash="44a5139db44ea7d7fbf11ef604879c1b"/></dir><file name="Token.php" hash="ac8e40281383dadae78afada6fafaeab"/></dir><dir name="Source"><file name="ApiUrl.php" hash="e1b55560b85996fccd3492d45f02844f"/><file name="ConnectionType.php" hash="0857dfbb0deee17ca3459dc2bf5f8569"/><file name="PaymentAction.php" hash="27787205d1886997aeccecb4028d488f"/></dir><file name="Token.php" hash="10c74bf2db00665a00bd0b3fa153d73d"/></dir><dir name="controllers"><file name="EverypayController.php" hash="bd3537d58711c43cfe95e910b5b05e60"/><file name="TokenController.php" hash="92d411f00972a19b418a2bfb083c095b"/></dir><dir name="etc"><file name="config.xml" hash="942b1f4b0ff16508d0658a2c84e1040c"/><file name="system.xml" hash="a25348e537657dec3afcca2bc7441e54"/></dir><dir name="sql"><dir name="everypay_setup"><file name="install-1.0.0.php" hash="201924647c609f33835712ab2c81e4d4"/><file name="upgrade-1.2.0-1.2.1.php" hash="1ff58987d6575a8c018e80fc600897bd"/><file name="upgrade-1.2.5-1.3.0.php" hash="cd85a057eb95ed1159aa563a62a3ad3e"/><file name="upgrade-1.3.0-1.3.1.php" hash="8af504ab53bf91dbd71ac11c7a240959"/><file name="upgrade-1.3.2-1.3.3.php" hash="f8008edc166d264d6be8e32edc3c471b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Multon_Everypay.xml" hash="99a2dd0a396a3a1b937d767e48ce237f"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="multon"><file name="everypay.xml" hash="749125ff359cc8b59576fbe0626c2e9f"/></dir></dir><dir name="template"><dir name="multon"><dir name="everypay"><file name="everypay.phtml" hash="1129761bb8052ff72cb2f184eb2db62b"/><file name="form.phtml" hash="7579dca8cd189978493db9bfdda7e1f1"/><file name="info.phtml" hash="91eb9c88527bc6b0076f382df0f6809c"/><file name="link.phtml" hash="07568d519f18c363c3910a862cc3039e"/><file name="tokens.phtml" hash="518b3aeb47eb4126e743a0b5188aec51"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="multon"><dir name="everypay"><file name="master_card.png" hash="cf5e00ccdfb963017e2557b0564b1e61"/><file name="mastercard_visa_acceptance.png" hash="d448d1eff4e623c1b35c67ad80c189fb"/><file name="visa.png" hash="e74115ef4a8f92e96a59a30be03189e5"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><file name="everypay-logo.jpg" hash="909c46f5e89be9de1d0d2ad7fdfb8bc6"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="et_EE"><file name="Multon_Everypay.csv" hash="e19e10cc89d991bd075d18ebb2bd667d"/></dir></target></contents>
86
  <compatible/>
87
  <dependencies><required><php><min>5.4.0</min><max>6.0.0</max></php></required></dependencies>
88
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>multon_everypay</name>
4
+ <version>1.3.7</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Multon Everypay</summary>
10
  <description>Multon Everypay</description>
11
+ <notes>1.3.7&#xD;
12
+ - FIX: return message verification&#xD;
13
+ - Config: option to enable/disable jquery linking in header&#xD;
14
+ &#xD;
15
+ 1.3.6&#xD;
16
  - show error messages and last order number on payment failure&#xD;
17
  - visual changes&#xD;
18
  &#xD;
84
  1.0.0&#xD;
85
  Stable release</notes>
86
  <authors><author><name>Multon</name><user>eepohs</user><email>magento@multon.ee</email></author><author><name>Jaanus Vapper</name><user>hullkuri</user><email>hullkuri@gmail.com</email></author><author><name>Tanel Raja</name><user>Pronto</user><email>tanel.raja@gmail.com</email></author></authors>
87
+ <date>2016-04-01</date>
88
+ <time>14:29:53</time>
89
+ <contents><target name="magecommunity"><dir name="Multon"><dir name="Everypay"><dir name="Block"><dir name="Adminhtml"><file name="Fieldset.php" hash="324c82a14594133019deef5c98e8ec78"/><dir name="System"><dir name="Config"><file name="Intro.php" hash="25a5c87ee274de259ede0decc040f643"/><file name="Outro.php" hash="21e9865c5f85cc0c8a601cc171d3f5d0"/><file name="Version.php" hash="63d888085e44f1b99e77aec70f12f62a"/></dir></dir></dir><dir name="Customer"><file name="Token.php" hash="0a2ac90e46d7b58c9e81c730c3c72f58"/></dir><file name="Everypay.php" hash="85ee8f94d595a6fbdcc31ae736e7f6de"/><file name="Form.php" hash="fd13823c3435792c84d17f498c3c5461"/><file name="Info.php" hash="4755af2b544c9f5de39098046e6da0fb"/></dir><dir name="Helper"><file name="Data.php" hash="b30009b1c08d4c4e798ab717d69b0468"/></dir><dir name="Model"><file name="Everypay.php" hash="87ef63aa9ca12697f4ee3da409ba5920"/><dir name="Resource"><dir name="Token"><file name="Collection.php" hash="44a5139db44ea7d7fbf11ef604879c1b"/></dir><file name="Token.php" hash="ac8e40281383dadae78afada6fafaeab"/></dir><dir name="Source"><file name="ApiUrl.php" hash="e1b55560b85996fccd3492d45f02844f"/><file name="ConnectionType.php" hash="0857dfbb0deee17ca3459dc2bf5f8569"/><file name="PaymentAction.php" hash="27787205d1886997aeccecb4028d488f"/></dir><file name="Token.php" hash="10c74bf2db00665a00bd0b3fa153d73d"/></dir><dir name="controllers"><file name="EverypayController.php" hash="bd3537d58711c43cfe95e910b5b05e60"/><file name="TokenController.php" hash="92d411f00972a19b418a2bfb083c095b"/></dir><dir name="etc"><file name="config.xml" hash="e39a7a1c0a6d19963a79bf2dc8a2ff74"/><file name="system.xml" hash="c8322f31d836b00e6eeb5c3b9fbcc42e"/></dir><dir name="sql"><dir name="everypay_setup"><file name="install-1.0.0.php" hash="201924647c609f33835712ab2c81e4d4"/><file name="upgrade-1.2.0-1.2.1.php" hash="1ff58987d6575a8c018e80fc600897bd"/><file name="upgrade-1.2.5-1.3.0.php" hash="cd85a057eb95ed1159aa563a62a3ad3e"/><file name="upgrade-1.3.0-1.3.1.php" hash="8af504ab53bf91dbd71ac11c7a240959"/><file name="upgrade-1.3.2-1.3.3.php" hash="f8008edc166d264d6be8e32edc3c471b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Multon_Everypay.xml" hash="99a2dd0a396a3a1b937d767e48ce237f"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="multon"><file name="everypay.xml" hash="f6ac924f90ab62b97a7701421e441f2c"/></dir></dir><dir name="template"><dir name="multon"><dir name="everypay"><file name="everypay.phtml" hash="1129761bb8052ff72cb2f184eb2db62b"/><file name="form.phtml" hash="7579dca8cd189978493db9bfdda7e1f1"/><file name="info.phtml" hash="91eb9c88527bc6b0076f382df0f6809c"/><file name="jquery.phtml" hash="47eb7ba0d3667ce4bc4058233b79b6f9"/><file name="link.phtml" hash="07568d519f18c363c3910a862cc3039e"/><file name="tokens.phtml" hash="518b3aeb47eb4126e743a0b5188aec51"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="multon"><dir name="everypay"><file name="master_card.png" hash="cf5e00ccdfb963017e2557b0564b1e61"/><file name="mastercard_visa_acceptance.png" hash="d448d1eff4e623c1b35c67ad80c189fb"/><file name="visa.png" hash="e74115ef4a8f92e96a59a30be03189e5"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><file name="everypay-logo.jpg" hash="909c46f5e89be9de1d0d2ad7fdfb8bc6"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="et_EE"><file name="Multon_Everypay.csv" hash="e19e10cc89d991bd075d18ebb2bd667d"/></dir></target></contents>
90
  <compatible/>
91
  <dependencies><required><php><min>5.4.0</min><max>6.0.0</max></php></required></dependencies>
92
  </package>