Version Notes
change api domen
Download this release
Release Info
Developer | taply |
Extension | taply |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
app/code/local/Taply/Paybutton/controllers/SuccessController.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
class Taply_Paybutton_SuccessController extends Mage_Core_Controller_Front_Action{
|
3 |
-
const TAPLY_API_URL = "https://
|
4 |
|
5 |
|
6 |
protected $_methodType = 'taply';
|
@@ -90,7 +90,7 @@ class Taply_Paybutton_SuccessController extends Mage_Core_Controller_Front_Actio
|
|
90 |
$objCustomer->setFirstname($aUser['billingAddress']['firstName'])
|
91 |
->setLastname($aUser['billingAddress']['lastName'])
|
92 |
->setEmail($aUser['billingAddress']['email'])
|
93 |
-
->setPassword($
|
94 |
|
95 |
|
96 |
try{
|
@@ -161,7 +161,7 @@ class Taply_Paybutton_SuccessController extends Mage_Core_Controller_Front_Actio
|
|
161 |
echo json_encode( array('order_id' => $lastOrderId, 'redirect_url' => Mage::getUrl() . '/taply/success/thanks/order/' . $lastOrderId) );
|
162 |
|
163 |
} catch (Exception $e){
|
164 |
-
$quote = $
|
165 |
echo json_encode( array('error' => $e->getMessage()) );
|
166 |
}
|
167 |
|
1 |
<?php
|
2 |
class Taply_Paybutton_SuccessController extends Mage_Core_Controller_Front_Action{
|
3 |
+
const TAPLY_API_URL = "https://api.paybytaply.com/payment/";
|
4 |
|
5 |
|
6 |
protected $_methodType = 'taply';
|
90 |
$objCustomer->setFirstname($aUser['billingAddress']['firstName'])
|
91 |
->setLastname($aUser['billingAddress']['lastName'])
|
92 |
->setEmail($aUser['billingAddress']['email'])
|
93 |
+
->setPassword($objCustomer->generatePassword(7));
|
94 |
|
95 |
|
96 |
try{
|
161 |
echo json_encode( array('order_id' => $lastOrderId, 'redirect_url' => Mage::getUrl() . '/taply/success/thanks/order/' . $lastOrderId) );
|
162 |
|
163 |
} catch (Exception $e){
|
164 |
+
$quote = $objCustomer = $service = null;
|
165 |
echo json_encode( array('error' => $e->getMessage()) );
|
166 |
}
|
167 |
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>taply</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -12,8 +12,8 @@ taply allows you to use Apple Pay for an incredibly fast, secure, and seamless o
|
|
12 |
<notes>change api domen</notes>
|
13 |
<authors><author><name>taply</name><user>taply</user><email>admin@paybytaply.com</email></author></authors>
|
14 |
<date>2015-11-13</date>
|
15 |
-
<time>
|
16 |
-
<contents><target name="magelocal"><dir><dir name="Taply"><dir name="Paybutton"><dir name="Block"><dir name="Button"><file name="Pay.php" hash="7c751e6a0aa7e1e015e5dd58e4c8f7da"/></dir></dir><dir name="Helper"><file name="Data.php" hash="c8404ec959ddf4bf9fbee31fc2314d34"/></dir><dir name="Model"><file name="Payment.php" hash="4af32846253babe72e11551003a2662c"/><file name="Viewtype.php" hash="c39cf7f525e11ab1de3f10a939caf494"/></dir><dir name="controllers"><file name="GetshippingController.php" hash="eddc9190345dffefbfcfcd59035af51d"/><file name="SuccessController.php" hash="
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.4.0</min><max>5.6.999</max></php></required></dependencies>
|
19 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>taply</name>
|
4 |
+
<version>1.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
12 |
<notes>change api domen</notes>
|
13 |
<authors><author><name>taply</name><user>taply</user><email>admin@paybytaply.com</email></author></authors>
|
14 |
<date>2015-11-13</date>
|
15 |
+
<time>16:55:11</time>
|
16 |
+
<contents><target name="magelocal"><dir><dir name="Taply"><dir name="Paybutton"><dir name="Block"><dir name="Button"><file name="Pay.php" hash="7c751e6a0aa7e1e015e5dd58e4c8f7da"/></dir></dir><dir name="Helper"><file name="Data.php" hash="c8404ec959ddf4bf9fbee31fc2314d34"/></dir><dir name="Model"><file name="Payment.php" hash="4af32846253babe72e11551003a2662c"/><file name="Viewtype.php" hash="c39cf7f525e11ab1de3f10a939caf494"/></dir><dir name="controllers"><file name="GetshippingController.php" hash="eddc9190345dffefbfcfcd59035af51d"/><file name="SuccessController.php" hash="77b5116c430812e90c498bad54f61b24"/></dir><dir name="etc"><file name="config.xml" hash="609a44c8d30d748b8840400e37666dba"/><file name="system.xml" hash="520313dbaf29da8a44325f1a2880d30a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Taply_Paybutton.xml" hash="2c4c33fa727a3fe1d863353583e1dfa0"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="taply.xml" hash="bc7a785448a0e2b2754e46fa786a5b3d"/></dir><dir name="template"><dir name="taply"><file name="button.phtml" hash="b6541c278d428eea006a782e11abe2e3"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="taply"><file name="taply.1.1.js" hash="2a1757f3faa76ac06ccaa3b6a52c2f2c"/></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.4.0</min><max>5.6.999</max></php></required></dependencies>
|
19 |
</package>
|