Version Notes
Fixed case sensitivity bug.
Download this release
Release Info
Developer | Brian McGowan |
Extension | Cardpay_PayeezyLevel3 |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- app/code/community/Cardpay/PayeezyLevel3/Block/Creditcard.php +2 -2
- app/code/community/Cardpay/PayeezyLevel3/Block/Form.php +1 -1
- app/code/community/Cardpay/PayeezyLevel3/Model/Creditcard.php +2 -2
- app/code/community/Cardpay/PayeezyLevel3/controllers/CreditcardController.php +2 -2
- app/code/community/Cardpay/PayeezyLevel3/etc/config.xml +1 -1
- package.xml +5 -5
app/code/community/Cardpay/PayeezyLevel3/Block/Creditcard.php
CHANGED
@@ -182,7 +182,7 @@ class Cardpay_PayeezyLevel3_Block_Creditcard extends Mage_Core_Block_Template
|
|
182 |
public function getCcAvailableTypes()
|
183 |
{
|
184 |
$types = Mage::getSingleton('payment/config')->getCcTypes();
|
185 |
-
if ($method = Mage::getModel('payeezylevel3/
|
186 |
$availableTypes = $method->getConfigData('cctypes');
|
187 |
if ($availableTypes) {
|
188 |
$availableTypes = explode(',', $availableTypes);
|
@@ -230,7 +230,7 @@ class Cardpay_PayeezyLevel3_Block_Creditcard extends Mage_Core_Block_Template
|
|
230 |
*/
|
231 |
public function hasVerification()
|
232 |
{
|
233 |
-
$method = Mage::getModel('payeezylevel3/
|
234 |
return $method->getConfigData('useccv');
|
235 |
}
|
236 |
}
|
182 |
public function getCcAvailableTypes()
|
183 |
{
|
184 |
$types = Mage::getSingleton('payment/config')->getCcTypes();
|
185 |
+
if ($method = Mage::getModel('payeezylevel3/paymentMethod')) {
|
186 |
$availableTypes = $method->getConfigData('cctypes');
|
187 |
if ($availableTypes) {
|
188 |
$availableTypes = explode(',', $availableTypes);
|
230 |
*/
|
231 |
public function hasVerification()
|
232 |
{
|
233 |
+
$method = Mage::getModel('payeezylevel3/paymentMethod');
|
234 |
return $method->getConfigData('useccv');
|
235 |
}
|
236 |
}
|
app/code/community/Cardpay/PayeezyLevel3/Block/Form.php
CHANGED
@@ -42,7 +42,7 @@ class Cardpay_PayeezyLevel3_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('payeezylevel3/
|
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('payeezylevel3/paymentMethod')->getConfigData('use_vault')
|
46 |
&& (Mage::getSingleton('customer/session')->isLoggedIn()
|
47 |
|| Mage::getSingleton('checkout/type_onepage')->getCheckoutMethod() == $methodRegister)
|
48 |
) {
|
app/code/community/Cardpay/PayeezyLevel3/Model/Creditcard.php
CHANGED
@@ -71,7 +71,7 @@ class Cardpay_PayeezyLevel3_Model_Creditcard extends Mage_Core_Model_Abstract
|
|
71 |
*/
|
72 |
public function useVault()
|
73 |
{
|
74 |
-
$payeezylevel3 = Mage::getModel('payeezylevel3/
|
75 |
return $payeezylevel3->getConfigData('use_vault');
|
76 |
}
|
77 |
|
@@ -82,7 +82,7 @@ class Cardpay_PayeezyLevel3_Model_Creditcard extends Mage_Core_Model_Abstract
|
|
82 |
*/
|
83 |
public function getCardTypeName()
|
84 |
{
|
85 |
-
$payeezylevel3 = Mage::getModel('payeezylevel3/
|
86 |
return Mage::helper('payeezylevel3')->getCcTypeName($this->getCcType());
|
87 |
}
|
88 |
|
71 |
*/
|
72 |
public function useVault()
|
73 |
{
|
74 |
+
$payeezylevel3 = Mage::getModel('payeezylevel3/paymentMethod');
|
75 |
return $payeezylevel3->getConfigData('use_vault');
|
76 |
}
|
77 |
|
82 |
*/
|
83 |
public function getCardTypeName()
|
84 |
{
|
85 |
+
$payeezylevel3 = Mage::getModel('payeezylevel3/paymentMethod');
|
86 |
return Mage::helper('payeezylevel3')->getCcTypeName($this->getCcType());
|
87 |
}
|
88 |
|
app/code/community/Cardpay/PayeezyLevel3/controllers/CreditcardController.php
CHANGED
@@ -92,7 +92,7 @@ class Cardpay_PayeezyLevel3_CreditCardController extends Mage_Customer_AccountCo
|
|
92 |
$card->addData($data['payment']);
|
93 |
$card->setData('customer_id', $customerId);
|
94 |
$card->setData('cardholder_name', $cardholderName);
|
95 |
-
$payeezylevel3 = Mage::getModel('payeezylevel3/
|
96 |
try {
|
97 |
$token = $payeezylevel3->verify($card);
|
98 |
} catch (Exception $e) {
|
@@ -135,7 +135,7 @@ class Cardpay_PayeezyLevel3_CreditCardController extends Mage_Customer_AccountCo
|
|
135 |
$card->addData($data['payment']);
|
136 |
$card->setData('customer_id', $customerId);
|
137 |
$card->setData('cardholder_name', $cardholderName);
|
138 |
-
$payeezylevel3 = Mage::getModel('payeezylevel3/
|
139 |
try {
|
140 |
$token = $payeezylevel3->verify($card);
|
141 |
} catch (Exception $e) {
|
92 |
$card->addData($data['payment']);
|
93 |
$card->setData('customer_id', $customerId);
|
94 |
$card->setData('cardholder_name', $cardholderName);
|
95 |
+
$payeezylevel3 = Mage::getModel('payeezylevel3/paymentMethod');
|
96 |
try {
|
97 |
$token = $payeezylevel3->verify($card);
|
98 |
} catch (Exception $e) {
|
135 |
$card->addData($data['payment']);
|
136 |
$card->setData('customer_id', $customerId);
|
137 |
$card->setData('cardholder_name', $cardholderName);
|
138 |
+
$payeezylevel3 = Mage::getModel('payeezylevel3/paymentMethod');
|
139 |
try {
|
140 |
$token = $payeezylevel3->verify($card);
|
141 |
} catch (Exception $e) {
|
app/code/community/Cardpay/PayeezyLevel3/etc/config.xml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<congig>
|
21 |
<modules>
|
22 |
<Cardpay_PayeezyLevel3>
|
23 |
-
<version>1.0.
|
24 |
</Cardpay_PayeezyLevel3>
|
25 |
</modules>
|
26 |
<global>
|
20 |
<congig>
|
21 |
<modules>
|
22 |
<Cardpay_PayeezyLevel3>
|
23 |
+
<version>1.0.5</version>
|
24 |
</Cardpay_PayeezyLevel3>
|
25 |
</modules>
|
26 |
<global>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Cardpay_PayeezyLevel3</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 B2B Level 3 payment extension with TransArmor.</summary>
|
10 |
<description>The First Data Payeezy B2B payment extension allows you to securely accept credit cards through your Magento store with Level 3 transaction data to obtain the lowest possible interchange rates for Business, Corporate, and Purchase cards. 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-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Cardpay"><dir name="PayeezyLevel3"><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_PayeezyLevel3</name>
|
4 |
+
<version>1.0.5</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 B2B Level 3 payment extension with TransArmor.</summary>
|
10 |
<description>The First Data Payeezy B2B payment extension allows you to securely accept credit cards through your Magento store with Level 3 transaction data to obtain the lowest possible interchange rates for Business, Corporate, and Purchase cards. 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:22:46</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Cardpay"><dir name="PayeezyLevel3"><dir name="Block"><file name="Creditcard.php" hash="348b81b7d42691f05069d493b3b8ca3a"/><file name="Form.php" hash="2ae0a44d0f88c9c20948011523a68a57"/><file name="Info.php" hash="1dd342a5127d7efc5b5ffe024474c80e"/></dir><dir name="Helper"><file name="Data.php" hash="ed90a311afeb22c569eee685898df857"/></dir><dir name="Model"><file name="Creditcard.php" hash="60e600bc9518a6e4c1a5d5a8fa8b01e2"/><file name="Paymentmethod.php" hash="314d46842baa6392101b1c2ed798e762"/><dir name="Resource"><dir name="Creditcard"><file name="Collection.php" hash="6a9b5d47eaa40dcaa21e61c1ed908eb6"/></dir><file name="Creditcard.php" hash="e7d3bfb2eab308e2ddb1d9a927bc99e9"/></dir><dir name="Source"><file name="Cctype.php" hash="efc27b900cb34efcbaff8100e84ee306"/><file name="PaymentAction.php" hash="799cdb59f7d4a13b7193ccca4d33f78b"/></dir></dir><dir name="controllers"><file name="CreditcardController.php" hash="c24e302ea4c8f79de11a4d6329514f38"/></dir><dir name="etc"><file name="config.xml" hash="efc334ffce87ffbd7bc6d3179870a41b"/><file name="system.xml" hash="6fc495363d9031473b74928016f46903"/></dir><dir name="sql"><dir name="payeezylevel3_setup"><file name="install-1.0.0.php" hash="37a732780109ce25bdbcdca476d65d1b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="payeezylevel3"><file name="form.phtml" hash="24e5ad3350394042ba6c07766d45ecac"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="payeezylevel3.xml" hash="2b7b51e001ff2375224aded6d3358547"/></dir><dir name="template"><dir name="payeezylevel3"><dir name="creditcard"><file name="delete.phtml" hash="3330f6bf1b94299dc203d796aec51a0c"/><file name="edit.phtml" hash="c7d0c70f9fa4366419052119c16c78ad"/><file name="index.phtml" hash="db8cf141fd6add155177f9f6c7f8e3ed"/></dir><file name="form.phtml" hash="4ed133532f665016f2551b71e1619537"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Cardpay_PayeezyLevel3.xml" hash="ae44b2b97dd21cc51fb70642f51d0f04"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Cardpay_PayeezyLevel3.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>
|