Webformat_LoginWithPayPal - Version 0.9.1

Version Notes

FIXED a bug in javascript.

Download this release

Release Info

Developer WEBFORMAT s.r.l.
Extension Webformat_LoginWithPayPal
Version 0.9.1
Comparing to
See all releases


Code changes from version 0.9.0 to 0.9.1

app/code/community/Webformat/LoginWithPayPal/Helper/Data.php CHANGED
@@ -59,4 +59,4 @@ class Webformat_LoginWithPayPal_Helper_Data extends Mage_Core_Helper_Data {
59
  public function isSandBox() {
60
  return Mage::getStoreConfigFlag('webformat_loginwithpaypal/settings/flg_sandbox');
61
  }
62
- }
59
  public function isSandBox() {
60
  return Mage::getStoreConfigFlag('webformat_loginwithpaypal/settings/flg_sandbox');
61
  }
62
+ }
app/code/community/Webformat/LoginWithPayPal/Model/AbstractRequest.php CHANGED
@@ -41,4 +41,4 @@ abstract class Webformat_LoginWithPayPal_Model_AbstractRequest extends Mage_Core
41
  }
42
  return $url . $req;
43
  }
44
- }
41
  }
42
  return $url . $req;
43
  }
44
+ }
app/code/community/Webformat/LoginWithPayPal/Model/AccessToken.php CHANGED
@@ -72,4 +72,4 @@ class Webformat_LoginWithPayPal_Model_AccessToken extends Webformat_LoginWithPay
72
  throw new Zend_Exception("Could not obtain PayPal Access Token");
73
  }
74
  }
75
- }
72
  throw new Zend_Exception("Could not obtain PayPal Access Token");
73
  }
74
  }
75
+ }
app/code/community/Webformat/LoginWithPayPal/Model/Grant.php CHANGED
@@ -70,4 +70,4 @@ class Webformat_LoginWithPayPal_Model_Grant extends Webformat_LoginWithPayPal_Mo
70
  throw new Zend_Exception("Could not obtain PayPal Grant Access Token");
71
  }
72
  }
73
- }
70
  throw new Zend_Exception("Could not obtain PayPal Grant Access Token");
71
  }
72
  }
73
+ }
app/code/community/Webformat/LoginWithPayPal/Model/Login.php CHANGED
@@ -152,4 +152,4 @@ class Webformat_LoginWithPayPal_Model_Login extends Mage_Core_Model_Abstract {
152
  }
153
  $customer->addAddress($address);
154
  }
155
- }
152
  }
153
  $customer->addAddress($address);
154
  }
155
+ }
app/code/community/Webformat/LoginWithPayPal/Model/System/Config/Source/Button/Theme.php CHANGED
@@ -38,4 +38,4 @@ class Webformat_Loginwithpaypal_Model_System_Config_Source_Button_Theme {
38
  array('value' => 'neutral', 'label' => Mage::helper('webformat_loginwithpaypal')->__('Neutral')),
39
  );
40
  }
41
- }
38
  array('value' => 'neutral', 'label' => Mage::helper('webformat_loginwithpaypal')->__('Neutral')),
39
  );
40
  }
41
+ }
app/code/community/Webformat/LoginWithPayPal/Model/UserInfo.php CHANGED
@@ -60,4 +60,4 @@ class Webformat_LoginWithPayPal_Model_UserInfo extends Webformat_LoginWithPayPal
60
  throw new Zend_Exception($data->error_description);
61
  }
62
  }
63
- }
60
  throw new Zend_Exception($data->error_description);
61
  }
62
  }
63
+ }
app/code/community/Webformat/LoginWithPayPal/controllers/IndexController.php CHANGED
@@ -46,4 +46,4 @@ class Webformat_LoginWithPayPal_IndexController extends Mage_Core_Controller_Fro
46
  }
47
  $this->getResponse()->setBody($block->toHtml());
48
  }
49
- }
46
  }
47
  $this->getResponse()->setBody($block->toHtml());
48
  }
49
+ }
app/code/community/Webformat/LoginWithPayPal/etc/adminhtml.xml CHANGED
@@ -45,4 +45,4 @@
45
  </admin>
46
  </resources>
47
  </acl>
48
- </config>
45
  </admin>
46
  </resources>
47
  </acl>
48
+ </config>
app/code/community/Webformat/LoginWithPayPal/etc/config.xml CHANGED
@@ -28,7 +28,7 @@
28
  <config>
29
  <modules>
30
  <Webformat_LoginWithPayPal>
31
- <version>0.9.0</version>
32
  </Webformat_LoginWithPayPal>
33
  </modules>
34
  <global>
28
  <config>
29
  <modules>
30
  <Webformat_LoginWithPayPal>
31
+ <version>0.9.1</version>
32
  </Webformat_LoginWithPayPal>
33
  </modules>
34
  <global>
app/code/community/Webformat/LoginWithPayPal/etc/system.xml CHANGED
@@ -57,7 +57,7 @@
57
  </flg_sandbox>
58
  <client_id translate="label">
59
  <label>Client ID</label>
60
- <frontend_type>text</frontend_type>
61
  <sort_order>20</sort_order>
62
  <show_in_default>1</show_in_default>
63
  <show_in_website>1</show_in_website>
@@ -68,7 +68,7 @@
68
  </client_id>
69
  <secret translate="label">
70
  <label>Secret</label>
71
- <frontend_type>text</frontend_type>
72
  <sort_order>30</sort_order>
73
  <show_in_default>1</show_in_default>
74
  <show_in_website>1</show_in_website>
@@ -79,7 +79,7 @@
79
  </secret>
80
  <sandbox_client_id translate="label">
81
  <label>Sandbox Client ID</label>
82
- <frontend_type>text</frontend_type>
83
  <sort_order>40</sort_order>
84
  <show_in_default>1</show_in_default>
85
  <show_in_website>1</show_in_website>
@@ -90,7 +90,7 @@
90
  </sandbox_client_id>
91
  <sandbox_secret translate="label">
92
  <label>Sandbox Secret</label>
93
- <frontend_type>text</frontend_type>
94
  <sort_order>50</sort_order>
95
  <show_in_default>1</show_in_default>
96
  <show_in_website>1</show_in_website>
57
  </flg_sandbox>
58
  <client_id translate="label">
59
  <label>Client ID</label>
60
+ <frontend_type>password</frontend_type>
61
  <sort_order>20</sort_order>
62
  <show_in_default>1</show_in_default>
63
  <show_in_website>1</show_in_website>
68
  </client_id>
69
  <secret translate="label">
70
  <label>Secret</label>
71
+ <frontend_type>password</frontend_type>
72
  <sort_order>30</sort_order>
73
  <show_in_default>1</show_in_default>
74
  <show_in_website>1</show_in_website>
79
  </secret>
80
  <sandbox_client_id translate="label">
81
  <label>Sandbox Client ID</label>
82
+ <frontend_type>password</frontend_type>
83
  <sort_order>40</sort_order>
84
  <show_in_default>1</show_in_default>
85
  <show_in_website>1</show_in_website>
90
  </sandbox_client_id>
91
  <sandbox_secret translate="label">
92
  <label>Sandbox Secret</label>
93
+ <frontend_type>password</frontend_type>
94
  <sort_order>50</sort_order>
95
  <show_in_default>1</show_in_default>
96
  <show_in_website>1</show_in_website>
app/design/frontend/base/default/template/webformat/loginwithpaypal/customer/form/login/button.phtml CHANGED
@@ -42,7 +42,7 @@ paypal.use( ["login"], function(login) {
42
  "returnurl": "<?php echo $this->getReturnUrl() ?>"
43
  });
44
  if ($$('#webformat_loginwithpaypal_container button')) {
45
- $$('#webformat_loginwithpaypal_container, 'return false;');
46
  }
47
  });
48
  </script>
42
  "returnurl": "<?php echo $this->getReturnUrl() ?>"
43
  });
44
  if ($$('#webformat_loginwithpaypal_container button')) {
45
+ $$('#webformat_loginwithpaypal_container button')[0].setAttribute('onclick', 'return false;');
46
  }
47
  });
48
  </script>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Webformat_LoginWithPayPal</name>
4
- <version>0.9.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
@@ -12,11 +12,11 @@
12
  Please note that an appropiate application in PayPal developer site it's needed. You can read our help page before installing the extension:&#xD;
13
  http://www.webformat.com/index.php?id=989 (Italian documentation)&#xD;
14
  http://www.webformat.com/index.php?id=991 (English documentation)</description>
15
- <notes>First stable release</notes>
16
  <authors><author><name>WEBFORMAT s.r.l.</name><user>webformat</user><email>magesupport@webformat.com</email></author></authors>
17
- <date>2014-06-27</date>
18
- <time>08:51:24</time>
19
- <contents><target name="magecommunity"><dir name="Webformat"><dir name="LoginWithPayPal"><dir name="Block"><file name="AbstractButton.php" hash="e04788ca16d2c16e4ce4fa4d327f4dee"/><dir name="Checkout"><dir name="Onepage"><dir name="Login"><file name="Button.php" hash="338578ad8c0898153f1f1b5f2a650f29"/></dir></dir></dir><dir name="Customer"><dir name="Form"><dir name="Login"><file name="Button.php" hash="6d90b2bec3cbf61e190d1e2e34ac76ea"/><file name="LoginWithPayPal.php" hash="d8cb8f2497c1b55623bb9eaa31b3009b"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="208dd2474f021daa12d9058fc9656644"/></dir><dir name="Model"><file name="AbstractRequest.php" hash="dbe0119887c2246c1ccaabed8cb1b3df"/><file name="AccessToken.php" hash="1437543bd5108403d3bd59acb2589be1"/><dir name="BackendNotifier"><file name="Feed.php" hash="b2be1437b16032678348b47cc9fdf851"/><file name="Observer.php" hash="855c1f0bb8c9bf123dd3e2e91eb0f78e"/></dir><file name="Grant.php" hash="efc2af70982828db13ca70786b92804d"/><file name="Login.php" hash="bc380f97d84b1a6c050cbc72710a5b20"/><dir name="System"><dir name="Config"><dir name="Source"><dir name="Button"><file name="Theme.php" hash="fa6dcb47274a0986e21926933b6fa6c1"/></dir></dir></dir></dir><file name="UserInfo.php" hash="7d6712bc97c0f0e68049930cc4624e01"/></dir><dir name="controllers"><file name="IndexController.php" hash="4927a173a6de37204ca04908e4716c1a"/></dir><dir name="etc"><file name="Webformat_LoginWithPayPal.xml" hash="0c076ab21d243bfd715ab0010a8a5116"/><file name="adminhtml.xml" hash="8205afb3ba1b3920b0ce414815f16412"/><file name="config.xml" hash="ec4ad8f137c4a6cc94bb6a72cd71506d"/><file name="system.xml" hash="fdef3118041d00acfaf4357c281b3649"/></dir></dir></dir></target><target name="magelocale"><dir><dir name="it_IT"><dir name="webformat"><file name="Webformat_LoginWithPayPal.csv" hash="a4cdadcbebad4cd13e7f69d4f6b42637"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="webformat"><file name="loginwithpaypal.xml" hash="270fa729d717ed6950eb4d0d8af5c473"/></dir></dir><dir name="template"><dir name="webformat"><dir name="loginwithpaypal"><dir name="customer"><dir name="form"><dir name="login"><file name="button.phtml" hash="015659c0f98d978d88e162b5c24dddf8"/><file name="loginwithpaypal.phtml" hash="9bbfd3a6d2dda49844824f1bb6740c2c"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Webformat_LoginWithPayPal.xml" hash="237d579ed4022f3a1ce552f48e257cfe"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php><extension><name>curl</name><min>7.0.0</min><max>8.0.0</max></extension></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Webformat_LoginWithPayPal</name>
4
+ <version>0.9.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
12
  Please note that an appropiate application in PayPal developer site it's needed. You can read our help page before installing the extension:&#xD;
13
  http://www.webformat.com/index.php?id=989 (Italian documentation)&#xD;
14
  http://www.webformat.com/index.php?id=991 (English documentation)</description>
15
+ <notes>FIXED a bug in javascript.</notes>
16
  <authors><author><name>WEBFORMAT s.r.l.</name><user>webformat</user><email>magesupport@webformat.com</email></author></authors>
17
+ <date>2014-08-21</date>
18
+ <time>09:59:19</time>
19
+ <contents><target name="magecommunity"><dir name="Webformat"><dir name="LoginWithPayPal"><dir name="Block"><file name="AbstractButton.php" hash="e04788ca16d2c16e4ce4fa4d327f4dee"/><dir name="Checkout"><dir name="Onepage"><dir name="Login"><file name="Button.php" hash="338578ad8c0898153f1f1b5f2a650f29"/></dir></dir></dir><dir name="Customer"><dir name="Form"><dir name="Login"><file name="Button.php" hash="6d90b2bec3cbf61e190d1e2e34ac76ea"/><file name="LoginWithPayPal.php" hash="d8cb8f2497c1b55623bb9eaa31b3009b"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="0308a2b185357598f1ba84d366b64301"/></dir><dir name="Model"><file name="AbstractRequest.php" hash="40b0ebd9eeb0ed76c317f8b5e91891ff"/><file name="AccessToken.php" hash="db6360b0b2dfd9f28c426fd765988604"/><dir name="BackendNotifier"><file name="Feed.php" hash="b2be1437b16032678348b47cc9fdf851"/><file name="Observer.php" hash="855c1f0bb8c9bf123dd3e2e91eb0f78e"/></dir><file name="Grant.php" hash="8f16421adfe81be90925a02d3a076160"/><file name="Login.php" hash="5b5283363d73821a897766dfe4188787"/><dir name="System"><dir name="Config"><dir name="Source"><dir name="Button"><file name="Theme.php" hash="ee5558f22633bbed5058840971e4add7"/></dir></dir></dir></dir><file name="UserInfo.php" hash="e3fbbd2f72aa7b4d9d793e9007d9046f"/></dir><dir name="controllers"><file name="IndexController.php" hash="480b588f3e7a7b3e51c1e5e675a56c83"/></dir><dir name="etc"><file name="Webformat_LoginWithPayPal.xml" hash="0c076ab21d243bfd715ab0010a8a5116"/><file name="adminhtml.xml" hash="bab6d148c9560121b473b52374a234a5"/><file name="config.xml" hash="aa385cba446f75af8de4740d5879a158"/><file name="system.xml" hash="5a57ca6037d9b65d18b4f29b8017151f"/></dir></dir></dir></target><target name="magelocale"><dir><dir name="it_IT"><dir name="webformat"><file name="Webformat_LoginWithPayPal.csv" hash="a4cdadcbebad4cd13e7f69d4f6b42637"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="webformat"><file name="loginwithpaypal.xml" hash="270fa729d717ed6950eb4d0d8af5c473"/></dir></dir><dir name="template"><dir name="webformat"><dir name="loginwithpaypal"><dir name="customer"><dir name="form"><dir name="login"><file name="button.phtml" hash="9fd11a652472d5faa735a07021dfdc68"/><file name="loginwithpaypal.phtml" hash="9bbfd3a6d2dda49844824f1bb6740c2c"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Webformat_LoginWithPayPal.xml" hash="237d579ed4022f3a1ce552f48e257cfe"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php><extension><name>curl</name><min>7.0.0</min><max>8.0.0</max></extension></required></dependencies>
22
  </package>