ZooZ_payment - Version 2.0.2

Version Notes

Zooz checkout

Download this release

Release Info

Developer ZooZ Payments
Extension ZooZ_payment
Version 2.0.2
Comparing to
See all releases


Code changes from version 2.0.1 to 2.0.2

app/code/community/ZooZ/ZoozPayment/etc/system.xml CHANGED
@@ -56,7 +56,7 @@
56
  </zooz_useremail>
57
  <zooz_serverkey translate="label">
58
  <label>Zooz Server Key</label>
59
- <frontend_type>text</frontend_type>
60
  <sort_order>80</sort_order>
61
  <show_in_default>1</show_in_default>
62
  <show_in_website>1</show_in_website>
@@ -65,7 +65,7 @@
65
 
66
  <app_key>
67
  <label>App key</label>
68
- <frontend_type>text</frontend_type>
69
  <sort_order>100</sort_order>
70
  <show_in_default>1</show_in_default>
71
  <show_in_website>1</show_in_website>
56
  </zooz_useremail>
57
  <zooz_serverkey translate="label">
58
  <label>Zooz Server Key</label>
59
+ <frontend_type>password</frontend_type>
60
  <sort_order>80</sort_order>
61
  <show_in_default>1</show_in_default>
62
  <show_in_website>1</show_in_website>
65
 
66
  <app_key>
67
  <label>App key</label>
68
+ <frontend_type>password</frontend_type>
69
  <sort_order>100</sort_order>
70
  <show_in_default>1</show_in_default>
71
  <show_in_website>1</show_in_website>
app/design/frontend/default/default/template/zoozpayment/shortcut-checkout.phtml CHANGED
@@ -1,6 +1,6 @@
1
  <a id="zooz-payment-link" style="background-color: #679100; padding: 10px; color: white; font-size: small;" href="<?php echo $this->getUrl('zoozpayment/standard/ajaxstart');?>" onclick='return localDoZooz(this);' >Checkout
2
  </a>
3
- <img id="zooz-payment-loading" style="display: none; margin-left: 10px;" src="<?php echo $this->getSkinUrl('zooz/images/loading.gif');?>" alt="loading" title="loading" />
4
  <style>
5
  .cart .title-buttons .checkout-types li { float: none; }
6
  </style>
1
  <a id="zooz-payment-link" style="background-color: #679100; padding: 10px; color: white; font-size: small;" href="<?php echo $this->getUrl('zoozpayment/standard/ajaxstart');?>" onclick='return localDoZooz(this);' >Checkout
2
  </a>
3
+ <img id="zooz-payment-loading" class="zooz-payment-loading" style="display: none; margin-left: 10px;" src="<?php echo $this->getSkinUrl('zooz/images/loading.gif');?>" alt="loading" title="loading" />
4
  <style>
5
  .cart .title-buttons .checkout-types li { float: none; }
6
  </style>
app/design/frontend/default/default/template/zoozpayment/shortcut.phtml CHANGED
@@ -4,7 +4,7 @@
4
  <a id="zooz-payment-link" style="float: right; background-color: #679100; padding: 10px; color: white; font-size: small;" href="<?php echo $this->getUrl('zoozpayment/cart/add'); ?>" onclick="return localDoZooz(this);">
5
  Quick Checkout
6
  </a>
7
- <img id="zooz-payment-loading" style="display: none; margin-left: 10px;" src="<?php echo $this->getSkinUrl('zooz/images/loading.gif'); ?>" alt="loading" title="loading" />
8
  <script type="text/javascript">
9
 
10
 
4
  <a id="zooz-payment-link" style="float: right; background-color: #679100; padding: 10px; color: white; font-size: small;" href="<?php echo $this->getUrl('zoozpayment/cart/add'); ?>" onclick="return localDoZooz(this);">
5
  Quick Checkout
6
  </a>
7
+ <img id="zooz-payment-loading" class="zooz-payment-loading" style="display: none; margin-left: 10px;" src="<?php echo $this->getSkinUrl('zooz/images/loading.gif'); ?>" alt="loading" title="loading" />
8
  <script type="text/javascript">
9
 
10
 
app/design/frontend/default/default/template/zoozpayment/sidebar.phtml CHANGED
@@ -61,7 +61,7 @@
61
  <div class="actions">
62
  <a id="zooz-payment-link-side-bar" onclick='localDoZooz(this)' href="<?php echo $this->getUrl('zoozpayment/standard/ajaxstart');?>" style="float: right; background-color: #679100; padding: 10px; color: white; font-size: small;">Quick checkout
63
  </a>
64
- <img id="zooz-payment-loading-cart" style="display: none; margin-left: 10px;" src="<?php echo $this->getSkinUrl('zooz/images/loading.gif');?>" alt="loading" title="loading" />
65
  </div>
66
  <style>
67
  .cart .title-buttons .checkout-types li { float: none; }
61
  <div class="actions">
62
  <a id="zooz-payment-link-side-bar" onclick='localDoZooz(this)' href="<?php echo $this->getUrl('zoozpayment/standard/ajaxstart');?>" style="float: right; background-color: #679100; padding: 10px; color: white; font-size: small;">Quick checkout
63
  </a>
64
+ <img id="zooz-payment-loading-cart" class="zooz-payment-loading" style="display: none; margin-left: 10px;" src="<?php echo $this->getSkinUrl('zooz/images/loading.gif');?>" alt="loading" title="loading" />
65
  </div>
66
  <style>
67
  .cart .title-buttons .checkout-types li { float: none; }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ZooZ_payment</name>
4
- <version>2.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">GNU General Public License</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Zooz is a complete checkout plugin replaces completely the standard UI and handle payment processing and shipping address.</description>
11
  <notes>Zooz checkout</notes>
12
  <authors><author><name>ZooZ Payments</name><user>Zooz_Payments</user><email>info@zooz.com</email></author></authors>
13
- <date>2014-01-01</date>
14
- <time>13:25:35</time>
15
- <contents><target name="magecommunity"><dir name="ZooZ"><dir name="ZoozPayment"><dir name="Block"><file name="Abstract.php" hash="0ac3cf5751fad5f6fd8d2240adedb197"/><dir name="Estimate"><file name="Abstract.php" hash="822638b4ec0a3d0f1f39b4d9f673de5e"/><file name="Result.php" hash="e26d7b8acaeb5424a608e43127844140"/></dir><file name="Estimate.php" hash="e16de59381c39d89633b7e3e53ee6028"/><file name="Index.php" hash="bea9161ac24756a7cf0c841ad8411da9"/></dir><dir name="Helper"><file name="Carrier.php" hash="a6482b94fcb7e419a3759171d0267df6"/><file name="Data.php" hash="392f1c937865b8bb79b13d513ac20215"/><file name="Sanbox.php" hash="9521c1d925d462d8e7d78a3318ee3ee0"/></dir><dir name="Model"><file name="Estimate.php" hash="cf4d18a7bccb4d5bedc32624a5841989"/><file name="Order.php" hash="49f8d316ef895172e59bb06a08b48771"/><file name="Session.php" hash="f2ae892657034ca2d55205f0703eedde"/><file name="Standard.php" hash="a7b496d96a63fd8e337eaefdcdb31c38"/></dir><dir name="controllers"><file name="CartController.php" hash="6c1c69df795bece32f6565acfef22f6d"/><file name="EstimateController.php" hash="d8f48c964b95ba71d78f558dc774c345"/><file name="IndexController.php" hash="4d7015bb3ac7e1748cde5917bffca1cc"/><file name="StandardController.php" hash="5541c42cb7de2eb4781ace28b15ebb55"/></dir><dir name="etc"><file name="config.xml" hash="43687ff856324ea05a00685062a20e7b"/><file name="system.xml" hash="f25b728d4924d268872b3c2d53c9dc75"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ZooZ_ZoozPayment.xml" hash="9f836c89a16d4693f96ae141906cc77d"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="zoozpayment.xml" hash="a3eaf1bf8eb27c4e20d0b30814f20d4f"/></dir><dir name="template"><dir name="zoozpayment"><file name="index.phtml" hash="2a9aeeddace7d15b22708b0421a90d5c"/><file name="result.phtml" hash="b307b3fc11f42fc375f640f06d0e1ee4"/><file name="review.phtml" hash="162e8a7f5548d80bfd987bd6ee0877e4"/><file name="shortcut-checkout.phtml" hash="a57de244881f9ebf07809bc3175a597c"/><file name="shortcut.phtml" hash="f4b7bda1ad1fe0756954991fce63295c"/><file name="sidebar.phtml" hash="45376174d8d4e21cb43fc62ced8820c3"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="zooz"><dir name="images"><file name="fastcheckout.png" hash="8f53be05b8c4a3903aec32745e9bf263"/><file name="loading.gif" hash="9a8269421303631316be4ab5e34870e1"/></dir><dir name="js"><file name="jquery-1.9.0.min.js" hash="6c4a706b2e324656fb77c0585c1cff55"/><file name="zooz-magento.js" hash="df7d456b95139fdbc4813d288c724142"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="zooz"><file name="address.php" hash="40af42bf39330383e05c57bd6ba71759"/><file name="invoice.item.php" hash="37803cf953ca2dab2583cc34f80f7844"/><file name="invoice.php" hash="2e75b69bf1592243c70fd90ebaeba41a"/><file name="nvps.php" hash="cffaa4eb22d14af1ea3e69a522e21ad0"/><file name="transaction.details.php" hash="9e7fea0feb69e7468922e6fb8323a489"/><file name="user.details.php" hash="1e571f792f5e87187e1c85172a19c99d"/><file name="zooz.exception.php" hash="dc5a70ef56e64b1bc76f0407c2187f79"/><file name="zooz.extended.server.api.php" hash="3dbed68e102e2082ca99db45df7fef8f"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ZooZ_payment</name>
4
+ <version>2.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">GNU General Public License</license>
7
  <channel>community</channel>
10
  <description>Zooz is a complete checkout plugin replaces completely the standard UI and handle payment processing and shipping address.</description>
11
  <notes>Zooz checkout</notes>
12
  <authors><author><name>ZooZ Payments</name><user>Zooz_Payments</user><email>info@zooz.com</email></author></authors>
13
+ <date>2014-01-02</date>
14
+ <time>14:56:44</time>
15
+ <contents><target name="magecommunity"><dir name="ZooZ"><dir name="ZoozPayment"><dir name="Block"><file name="Abstract.php" hash="0ac3cf5751fad5f6fd8d2240adedb197"/><dir name="Estimate"><file name="Abstract.php" hash="822638b4ec0a3d0f1f39b4d9f673de5e"/><file name="Result.php" hash="e26d7b8acaeb5424a608e43127844140"/></dir><file name="Estimate.php" hash="e16de59381c39d89633b7e3e53ee6028"/><file name="Index.php" hash="bea9161ac24756a7cf0c841ad8411da9"/></dir><dir name="Helper"><file name="Carrier.php" hash="a6482b94fcb7e419a3759171d0267df6"/><file name="Data.php" hash="392f1c937865b8bb79b13d513ac20215"/><file name="Sanbox.php" hash="9521c1d925d462d8e7d78a3318ee3ee0"/></dir><dir name="Model"><file name="Estimate.php" hash="cf4d18a7bccb4d5bedc32624a5841989"/><file name="Order.php" hash="49f8d316ef895172e59bb06a08b48771"/><file name="Session.php" hash="f2ae892657034ca2d55205f0703eedde"/><file name="Standard.php" hash="a7b496d96a63fd8e337eaefdcdb31c38"/></dir><dir name="controllers"><file name="CartController.php" hash="6c1c69df795bece32f6565acfef22f6d"/><file name="EstimateController.php" hash="d8f48c964b95ba71d78f558dc774c345"/><file name="IndexController.php" hash="4d7015bb3ac7e1748cde5917bffca1cc"/><file name="StandardController.php" hash="5541c42cb7de2eb4781ace28b15ebb55"/></dir><dir name="etc"><file name="config.xml" hash="43687ff856324ea05a00685062a20e7b"/><file name="system.xml" hash="b6e432e15e121cb067625e1a2876fb1e"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ZooZ_ZoozPayment.xml" hash="9f836c89a16d4693f96ae141906cc77d"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="zoozpayment.xml" hash="a3eaf1bf8eb27c4e20d0b30814f20d4f"/></dir><dir name="template"><dir name="zoozpayment"><file name="index.phtml" hash="2a9aeeddace7d15b22708b0421a90d5c"/><file name="result.phtml" hash="b307b3fc11f42fc375f640f06d0e1ee4"/><file name="review.phtml" hash="162e8a7f5548d80bfd987bd6ee0877e4"/><file name="shortcut-checkout.phtml" hash="11680817014ac22a1aa57e11e8f5283c"/><file name="shortcut.phtml" hash="11eb2973b1ce3b7c948d8ed233c33bae"/><file name="sidebar.phtml" hash="2a96c03b4100bb88ba3e9e3fcaa8aa8b"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="zooz"><dir name="images"><file name="fastcheckout.png" hash="8f53be05b8c4a3903aec32745e9bf263"/><file name="loading.gif" hash="9a8269421303631316be4ab5e34870e1"/></dir><dir name="js"><file name="jquery-1.9.0.min.js" hash="6c4a706b2e324656fb77c0585c1cff55"/><file name="zooz-magento.js" hash="70e716b6bb6c50091d2bdd7bf1fa26b3"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="zooz"><file name="address.php" hash="40af42bf39330383e05c57bd6ba71759"/><file name="invoice.item.php" hash="37803cf953ca2dab2583cc34f80f7844"/><file name="invoice.php" hash="2e75b69bf1592243c70fd90ebaeba41a"/><file name="nvps.php" hash="cffaa4eb22d14af1ea3e69a522e21ad0"/><file name="transaction.details.php" hash="9e7fea0feb69e7468922e6fb8323a489"/><file name="user.details.php" hash="1e571f792f5e87187e1c85172a19c99d"/><file name="zooz.exception.php" hash="dc5a70ef56e64b1bc76f0407c2187f79"/><file name="zooz.extended.server.api.php" hash="3dbed68e102e2082ca99db45df7fef8f"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
skin/frontend/base/default/zooz/js/zooz-magento.js CHANGED
@@ -7,14 +7,14 @@ function startZooz(isSandbox, formObject, url, uniqueId, returnUrl, cancelUrl){
7
  // if(zooz_button_color == 'gold')
8
  // customStyle = customStyleB;
9
 
10
- jQuery('#zooz-payment-loading').show();
11
  jQuery.ajax({
12
  type: formObject.attr('method'),
13
  url: url,
14
  data: formObject.serialize(),
15
  cache: false,
16
  success: function (response) {
17
- jQuery('#zooz-payment-loading').hide();
18
  eval(response);
19
  zoozStartCheckout({
20
  token : data.token,
7
  // if(zooz_button_color == 'gold')
8
  // customStyle = customStyleB;
9
 
10
+ jQuery('.zooz-payment-loading').show();
11
  jQuery.ajax({
12
  type: formObject.attr('method'),
13
  url: url,
14
  data: formObject.serialize(),
15
  cache: false,
16
  success: function (response) {
17
+ jQuery('.zooz-payment-loading').hide();
18
  eval(response);
19
  zoozStartCheckout({
20
  token : data.token,