Instamojo_Imojo - Version 0.1.8

Version Notes

- Updated PHP version to 5.6.28

Download this release

Release Info

Developer Instamojo
Extension Instamojo_Imojo
Version 0.1.8
Comparing to
See all releases


Code changes from version 0.1.7 to 0.1.8

app/design/frontend/base/default/template/imojo/contents.phtml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class='instamojo'>
2
+ <div class='errors'>
3
+ <?php if(isset($errors)): ?>
4
+ <?php $showPhoneBox = false; ?>
5
+ <?php foreach($errors as $message): ?>
6
+ <div class='alert alert-danger'><p style='color:red'><?= $message ?></p></div>
7
+ <?php if(stristr($message,"phone") and !$showPhoneBox) $showPhoneBox = true; ?>
8
+ <?php endforeach; ?>
9
+ <?php if($showPhoneBox): ?>
10
+ <form method='post'>
11
+ <label>Telephone</label><input type='text' name='telephone' value='<?php echo $telephone ?>' />
12
+ <div><input type='submit' class='btn btn-primary' value='UPDATE TELEPHONE'></div>
13
+ </form>
14
+ <?php endif; ?>
15
+ <?php else: ?>
16
+ <div style="width:200px;margin:auto;margin-top:20px">
17
+ <img style="width:100%" src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA)."/Instamojo/spinner.gif"; ?>">
18
+ <center>Redirecting you to Instamojo</center>
19
+ </div>
20
+ <form name='instapaymentredirect' action='<?= $url ?>'>
21
+ <input type='hidden' name='embed' value='form'>
22
+ </form>
23
+ <script>
24
+ document.instapaymentredirect.submit();
25
+ </script>
26
+ <?php endif; ?>
27
+ </div>
28
+
29
+ </div>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Instamojo_Imojo</name>
4
- <version>0.1.7</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/MIT">MIT</license>
7
  <channel>community</channel>
@@ -73,11 +73,11 @@ After the custom field has been created &lt;b&gt;Existing Custom Fields&lt;/b&gt
73
  &lt;br /&gt;&#xD;
74
  &#xD;
75
  For detailed steps with screenshots visit our GitHub page: https://github.com/Instamojo/Instamojo-Magento</description>
76
- <notes>- Updated PHP version to 5.6.25</notes>
77
  <authors><author><name>Instamojo</name><user>Instamojo</user><email>dev@instamojo.com</email></author></authors>
78
- <date>2016-08-22</date>
79
- <time>13:40:02</time>
80
- <contents><target name="magecommunity"><dir name="Instamojo"><dir name="Imojo"><dir name="Helper"><file name="Data.php" hash="e53c6598fa917d8791e046b20d76d221"/></dir><dir name="Model"><file name="PaymentMethod.php" hash="43002098206ee603c86b0b166d359f11"/></dir><dir name="controllers"><file name="PaymentController.php" hash="d20544f6b232b4157db992b8df535e5a"/></dir><dir name="etc"><file name="config.xml" hash="d403c6c7f9d26a16ac326e798ffefc3b"/><file name="system.xml" hash="9b322fb2c27f4b8f0863f85eea68eafe"/></dir><file name=".DS_Store" hash="822777d708619165d544d3256174adc2"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Instamojo_Imojo.xml" hash="9a80f70915e53671e26ea6476fdbe6a4"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="imojo"><file name="deposit_failure.phtml" hash="a01f8d2f503ccaf5d3f6a4682b9caf2b"/><file name="deposit_success.phtml" hash="6952afc4383fbf0eab18ee94e185f329"/><file name="redirect.phtml" hash="4e2252a9605cfbc035cc9d809498f333"/><file name="success.phtml" hash="ad5d2318608673f5ba6ea85bd784198f"/></dir></dir></dir></dir></dir></target></contents>
81
  <compatible/>
82
- <dependencies><required><php><min>5.2.0</min><max>5.6.25</max></php></required></dependencies>
83
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Instamojo_Imojo</name>
4
+ <version>0.1.8</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/MIT">MIT</license>
7
  <channel>community</channel>
73
  &lt;br /&gt;&#xD;
74
  &#xD;
75
  For detailed steps with screenshots visit our GitHub page: https://github.com/Instamojo/Instamojo-Magento</description>
76
+ <notes>- Updated PHP version to 5.6.28</notes>
77
  <authors><author><name>Instamojo</name><user>Instamojo</user><email>dev@instamojo.com</email></author></authors>
78
+ <date>2016-12-08</date>
79
+ <time>11:03:35</time>
80
+ <contents><target name="magecommunity"><dir name="Instamojo"><dir name="Imojo"><dir name="Helper"><file name="Data.php" hash="e53c6598fa917d8791e046b20d76d221"/></dir><dir name="Model"><file name="PaymentMethod.php" hash="43002098206ee603c86b0b166d359f11"/></dir><dir name="controllers"><file name="PaymentController.php" hash="d20544f6b232b4157db992b8df535e5a"/></dir><dir name="etc"><file name="config.xml" hash="d403c6c7f9d26a16ac326e798ffefc3b"/><file name="system.xml" hash="9b322fb2c27f4b8f0863f85eea68eafe"/></dir><file name=".DS_Store" hash="822777d708619165d544d3256174adc2"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Instamojo_Imojo.xml" hash="9a80f70915e53671e26ea6476fdbe6a4"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="imojo"><file name="contents.phtml" hash="961e9b48b61fdeae0caa7ed0ab8c9eee"/><file name="deposit_failure.phtml" hash="a01f8d2f503ccaf5d3f6a4682b9caf2b"/><file name="deposit_success.phtml" hash="6952afc4383fbf0eab18ee94e185f329"/><file name="redirect.phtml" hash="4e2252a9605cfbc035cc9d809498f333"/><file name="success.phtml" hash="ad5d2318608673f5ba6ea85bd784198f"/></dir></dir></dir></dir></dir></target></contents>
81
  <compatible/>
82
+ <dependencies><required><php><min>5.2.0</min><max>5.6.28</max></php></required></dependencies>
83
  </package>