Version Notes
Fixed case sensitivity bug.
Download this release
Release Info
Developer | Brian McGowan |
Extension | Cardpay_Payeezy |
Version | 1.0.8 |
Comparing to | |
See all releases |
Code changes from version 1.0.7 to 1.0.8
- app/code/community/Cardpay/Payeezy/Block/Creditcard.php +2 -2
- app/code/community/Cardpay/Payeezy/Block/Form.php +1 -1
- app/code/community/Cardpay/Payeezy/Model/Creditcard.php +2 -2
- app/code/community/Cardpay/Payeezy/controllers/CreditcardController.php +2 -2
- app/code/community/Cardpay/Payeezy/etc/config.xml +1 -1
- package.xml +5 -5
app/code/community/Cardpay/Payeezy/Block/Creditcard.php
CHANGED
@@ -182,7 +182,7 @@ class Cardpay_Payeezy_Block_Creditcard extends Mage_Core_Block_Template
|
|
182 |
public function getCcAvailableTypes()
|
183 |
{
|
184 |
$types = Mage::getSingleton('payment/config')->getCcTypes();
|
185 |
-
if ($method = Mage::getModel('payeezy/
|
186 |
$availableTypes = $method->getConfigData('cctypes');
|
187 |
if ($availableTypes) {
|
188 |
$availableTypes = explode(',', $availableTypes);
|
@@ -230,7 +230,7 @@ class Cardpay_Payeezy_Block_Creditcard extends Mage_Core_Block_Template
|
|
230 |
*/
|
231 |
public function hasVerification()
|
232 |
{
|
233 |
-
$method = Mage::getModel('payeezy/
|
234 |
return $method->getConfigData('useccv');
|
235 |
}
|
236 |
}
|
182 |
public function getCcAvailableTypes()
|
183 |
{
|
184 |
$types = Mage::getSingleton('payment/config')->getCcTypes();
|
185 |
+
if ($method = Mage::getModel('payeezy/paymentMethod')) {
|
186 |
$availableTypes = $method->getConfigData('cctypes');
|
187 |
if ($availableTypes) {
|
188 |
$availableTypes = explode(',', $availableTypes);
|
230 |
*/
|
231 |
public function hasVerification()
|
232 |
{
|
233 |
+
$method = Mage::getModel('payeezy/paymentMethod');
|
234 |
return $method->getConfigData('useccv');
|
235 |
}
|
236 |
}
|
app/code/community/Cardpay/Payeezy/Block/Form.php
CHANGED
@@ -42,7 +42,7 @@ class Cardpay_Payeezy_Block_Form extends Mage_Payment_Block_Form_Cc
|
|
42 |
public function canSaveCard()
|
43 |
{
|
44 |
$methodRegister = Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER;
|
45 |
-
if (Mage::getModel('payeezy/
|
46 |
&& (Mage::getSingleton('customer/session')->isLoggedIn()
|
47 |
|| Mage::getSingleton('checkout/type_onepage')->getCheckoutMethod() == $methodRegister)
|
48 |
) {
|
42 |
public function canSaveCard()
|
43 |
{
|
44 |
$methodRegister = Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER;
|
45 |
+
if (Mage::getModel('payeezy/paymentMethod')->getConfigData('use_vault')
|
46 |
&& (Mage::getSingleton('customer/session')->isLoggedIn()
|
47 |
|| Mage::getSingleton('checkout/type_onepage')->getCheckoutMethod() == $methodRegister)
|
48 |
) {
|
app/code/community/Cardpay/Payeezy/Model/Creditcard.php
CHANGED
@@ -71,7 +71,7 @@ class Cardpay_Payeezy_Model_Creditcard extends Mage_Core_Model_Abstract
|
|
71 |
*/
|
72 |
public function useVault()
|
73 |
{
|
74 |
-
$payeezy = Mage::getModel('payeezy/
|
75 |
return $payeezy->getConfigData('use_vault');
|
76 |
}
|
77 |
|
@@ -82,7 +82,7 @@ class Cardpay_Payeezy_Model_Creditcard extends Mage_Core_Model_Abstract
|
|
82 |
*/
|
83 |
public function getCardTypeName()
|
84 |
{
|
85 |
-
$payeezy = Mage::getModel('payeezy/
|
86 |
return Mage::helper('payeezy')->getCcTypeName($this->getCcType());
|
87 |
}
|
88 |
|
71 |
*/
|
72 |
public function useVault()
|
73 |
{
|
74 |
+
$payeezy = Mage::getModel('payeezy/paymentMethod');
|
75 |
return $payeezy->getConfigData('use_vault');
|
76 |
}
|
77 |
|
82 |
*/
|
83 |
public function getCardTypeName()
|
84 |
{
|
85 |
+
$payeezy = Mage::getModel('payeezy/paymentMethod');
|
86 |
return Mage::helper('payeezy')->getCcTypeName($this->getCcType());
|
87 |
}
|
88 |
|
app/code/community/Cardpay/Payeezy/controllers/CreditcardController.php
CHANGED
@@ -92,7 +92,7 @@ class Cardpay_Payeezy_CreditCardController extends Mage_Customer_AccountControll
|
|
92 |
$card->addData($data['payment']);
|
93 |
$card->setData('customer_id', $customerId);
|
94 |
$card->setData('cardholder_name', $cardholderName);
|
95 |
-
$payeezy = Mage::getModel('payeezy/
|
96 |
try {
|
97 |
$token = $payeezy->verify($card);
|
98 |
} catch (Exception $e) {
|
@@ -135,7 +135,7 @@ class Cardpay_Payeezy_CreditCardController extends Mage_Customer_AccountControll
|
|
135 |
$card->addData($data['payment']);
|
136 |
$card->setData('customer_id', $customerId);
|
137 |
$card->setData('cardholder_name', $cardholderName);
|
138 |
-
$payeezy = Mage::getModel('payeezy/
|
139 |
try {
|
140 |
$token = $payeezy->verify($card);
|
141 |
} catch (Exception $e) {
|
92 |
$card->addData($data['payment']);
|
93 |
$card->setData('customer_id', $customerId);
|
94 |
$card->setData('cardholder_name', $cardholderName);
|
95 |
+
$payeezy = Mage::getModel('payeezy/paymentMethod');
|
96 |
try {
|
97 |
$token = $payeezy->verify($card);
|
98 |
} catch (Exception $e) {
|
135 |
$card->addData($data['payment']);
|
136 |
$card->setData('customer_id', $customerId);
|
137 |
$card->setData('cardholder_name', $cardholderName);
|
138 |
+
$payeezy = Mage::getModel('payeezy/paymentMethod');
|
139 |
try {
|
140 |
$token = $payeezy->verify($card);
|
141 |
} catch (Exception $e) {
|
app/code/community/Cardpay/Payeezy/etc/config.xml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<congig>
|
21 |
<modules>
|
22 |
<Cardpay_Payeezy>
|
23 |
-
<version>1.0.
|
24 |
</Cardpay_Payeezy>
|
25 |
</modules>
|
26 |
<global>
|
20 |
<congig>
|
21 |
<modules>
|
22 |
<Cardpay_Payeezy>
|
23 |
+
<version>1.0.8</version>
|
24 |
</Cardpay_Payeezy>
|
25 |
</modules>
|
26 |
<global>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Cardpay_Payeezy</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>First Data Payeezy payment extension with TransArmor.</summary>
|
10 |
<description>The First Data Payeezy payment extension allows you to securely accept credit cards through your Magento store. In addition to processing one-time transactions, the extension also utilizes First Data TransArmor Tokenization to allow customers to securely store and manage credit card profiles for future use.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Brian McGowan</name><user>bmcgowan</user><email>bmcgowan@cardpaysolutions.com</email></author></authors>
|
13 |
-
<date>2016-12-
|
14 |
-
<time>19:
|
15 |
-
<contents><target name="magecommunity"><dir name="Cardpay"><dir name="Payeezy"><dir name="Block"><file name="Creditcard.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.29</min><max>5.6.28</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Cardpay_Payeezy</name>
|
4 |
+
<version>1.0.8</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>
|
8 |
<extends/>
|
9 |
<summary>First Data Payeezy payment extension with TransArmor.</summary>
|
10 |
<description>The First Data Payeezy payment extension allows you to securely accept credit cards through your Magento store. In addition to processing one-time transactions, the extension also utilizes First Data TransArmor Tokenization to allow customers to securely store and manage credit card profiles for future use.</description>
|
11 |
+
<notes>Fixed case sensitivity bug.</notes>
|
12 |
<authors><author><name>Brian McGowan</name><user>bmcgowan</user><email>bmcgowan@cardpaysolutions.com</email></author></authors>
|
13 |
+
<date>2016-12-06</date>
|
14 |
+
<time>19:15:18</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Cardpay"><dir name="Payeezy"><dir name="Block"><file name="Creditcard.php" hash="aa3cd4ed54c2bc58225f1f517fa14574"/><file name="Form.php" hash="56e738d8743b89cfdbddfa23d7736852"/><file name="Info.php" hash="8c120874f2dcbea00ce1f3e11620c4e3"/></dir><dir name="Helper"><file name="Data.php" hash="7082ca56f1a091e3c76852040e88a79a"/></dir><dir name="Model"><file name="Creditcard.php" hash="cec6808b180b116295051dec8a1ae207"/><file name="Paymentmethod.php" hash="fdf3f652d43a765b0612e6227bf1b983"/><dir name="Resource"><dir name="Creditcard"><file name="Collection.php" hash="6003a43e766277d0ee7e788815473783"/></dir><file name="Creditcard.php" hash="13ed47dda59c30d23382eb4af76c2293"/></dir><dir name="Source"><file name="Ccstore.php" hash="d60a6dd080a3abee1cf17722d954a943"/><file name="Cctype.php" hash="9c3e10285ec4d78d17e19e49d803518b"/><file name="PaymentAction.php" hash="1ddd3037b306f1ab9cffe8f93f0cb8e3"/></dir></dir><dir name="controllers"><file name="CreditcardController.php" hash="8b6f231f629a382345c37cf0569603b6"/></dir><dir name="etc"><file name="config.xml" hash="af2daf2815af28f92609f5721c457b70"/><file name="system.xml" hash="0e33813caa063d5c4d44dcbcabb7a171"/></dir><dir name="sql"><dir name="payeezy_setup"><file name="install-1.0.2.php" hash="99c1f9408ce25663c185719b446b2adb"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="payeezy"><file name="form.phtml" hash="692e5aa7de607c2b577ed82df3e1cc70"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="payeezy.xml" hash="2bea5df11e86b9c8c589d1e572eea4f0"/></dir><dir name="template"><dir name="payeezy"><dir name="creditcard"><file name="delete.phtml" hash="7f52b91b36608bcaff0422490363c7fd"/><file name="edit.phtml" hash="d17445164936a0635f16e4ef79b40cff"/><file name="index.phtml" hash="27b13b140de5e8797ee955b1aeb670d6"/></dir><file name="form.phtml" hash="e2496157cf70e6629c76c79c1e04f3b1"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Cardpay_Payeezy.xml" hash="7805ddefa49d4a140fc03668cde2c3c2"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Cardpay_Payeezy.csv" hash="1dad15e42befedbf24800f845bebb60c"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.29</min><max>5.6.28</max></php></required></dependencies>
|
18 |
</package>
|