Version Notes
Fixed case sensitivity bug.
Download this release
Release Info
Developer | Brian McGowan |
Extension | Cardpay_GlobalGatewaye4 |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- app/code/community/Cardpay/GlobalGatewaye4/Block/Creditcard.php +2 -2
- app/code/community/Cardpay/GlobalGatewaye4/Block/Form.php +1 -1
- app/code/community/Cardpay/GlobalGatewaye4/Model/Creditcard.php +2 -2
- app/code/community/Cardpay/GlobalGatewaye4/controllers/CreditcardController.php +2 -2
- app/code/community/Cardpay/GlobalGatewaye4/etc/config.xml +1 -1
- package.xml +5 -5
app/code/community/Cardpay/GlobalGatewaye4/Block/Creditcard.php
CHANGED
@@ -182,7 +182,7 @@ class Cardpay_GlobalGatewaye4_Block_Creditcard extends Mage_Core_Block_Template
|
|
182 |
public function getCcAvailableTypes()
|
183 |
{
|
184 |
$types = Mage::getSingleton('payment/config')->getCcTypes();
|
185 |
-
if ($method = Mage::getModel('globalgatewaye4/
|
186 |
$availableTypes = $method->getConfigData('cctypes');
|
187 |
if ($availableTypes) {
|
188 |
$availableTypes = explode(',', $availableTypes);
|
@@ -230,7 +230,7 @@ class Cardpay_GlobalGatewaye4_Block_Creditcard extends Mage_Core_Block_Template
|
|
230 |
*/
|
231 |
public function hasVerification()
|
232 |
{
|
233 |
-
$method = Mage::getModel('globalgatewaye4/
|
234 |
return $method->getConfigData('useccv');
|
235 |
}
|
236 |
}
|
182 |
public function getCcAvailableTypes()
|
183 |
{
|
184 |
$types = Mage::getSingleton('payment/config')->getCcTypes();
|
185 |
+
if ($method = Mage::getModel('globalgatewaye4/paymentMethod')) {
|
186 |
$availableTypes = $method->getConfigData('cctypes');
|
187 |
if ($availableTypes) {
|
188 |
$availableTypes = explode(',', $availableTypes);
|
230 |
*/
|
231 |
public function hasVerification()
|
232 |
{
|
233 |
+
$method = Mage::getModel('globalgatewaye4/paymentMethod');
|
234 |
return $method->getConfigData('useccv');
|
235 |
}
|
236 |
}
|
app/code/community/Cardpay/GlobalGatewaye4/Block/Form.php
CHANGED
@@ -42,7 +42,7 @@ class Cardpay_GlobalGatewaye4_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('globalgatewaye4/
|
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('globalgatewaye4/paymentMethod')->getConfigData('use_vault')
|
46 |
&& (Mage::getSingleton('customer/session')->isLoggedIn()
|
47 |
|| Mage::getSingleton('checkout/type_onepage')->getCheckoutMethod() == $methodRegister)
|
48 |
) {
|
app/code/community/Cardpay/GlobalGatewaye4/Model/Creditcard.php
CHANGED
@@ -71,7 +71,7 @@ class Cardpay_GlobalGatewaye4_Model_Creditcard extends Mage_Core_Model_Abstract
|
|
71 |
*/
|
72 |
public function useVault()
|
73 |
{
|
74 |
-
$globalgatewaye4 = Mage::getModel('globalgatewaye4/
|
75 |
return $globalgatewaye4->getConfigData('use_vault');
|
76 |
}
|
77 |
|
@@ -82,7 +82,7 @@ class Cardpay_GlobalGatewaye4_Model_Creditcard extends Mage_Core_Model_Abstract
|
|
82 |
*/
|
83 |
public function getCardTypeName()
|
84 |
{
|
85 |
-
$globalgatewaye4 = Mage::getModel('globalgatewaye4/
|
86 |
return Mage::helper('globalgatewaye4')->getCcTypeName($this->getCcType());
|
87 |
}
|
88 |
|
71 |
*/
|
72 |
public function useVault()
|
73 |
{
|
74 |
+
$globalgatewaye4 = Mage::getModel('globalgatewaye4/paymentMethod');
|
75 |
return $globalgatewaye4->getConfigData('use_vault');
|
76 |
}
|
77 |
|
82 |
*/
|
83 |
public function getCardTypeName()
|
84 |
{
|
85 |
+
$globalgatewaye4 = Mage::getModel('globalgatewaye4/paymentMethod');
|
86 |
return Mage::helper('globalgatewaye4')->getCcTypeName($this->getCcType());
|
87 |
}
|
88 |
|
app/code/community/Cardpay/GlobalGatewaye4/controllers/CreditcardController.php
CHANGED
@@ -92,7 +92,7 @@ class Cardpay_GlobalGatewaye4_CreditCardController extends Mage_Customer_Account
|
|
92 |
$card->addData($data['payment']);
|
93 |
$card->setData('customer_id', $customerId);
|
94 |
$card->setData('cardholder_name', $cardholderName);
|
95 |
-
$globalgatewaye4 = Mage::getModel('globalgatewaye4/
|
96 |
try {
|
97 |
$token = $globalgatewaye4->verify($card);
|
98 |
} catch (Exception $e) {
|
@@ -135,7 +135,7 @@ class Cardpay_GlobalGatewaye4_CreditCardController extends Mage_Customer_Account
|
|
135 |
$card->addData($data['payment']);
|
136 |
$card->setData('customer_id', $customerId);
|
137 |
$card->setData('cardholder_name', $cardholderName);
|
138 |
-
$globalgatewaye4 = Mage::getModel('globalgatewaye4/
|
139 |
try {
|
140 |
$token = $globalgatewaye4->verify($card);
|
141 |
} catch (Exception $e) {
|
92 |
$card->addData($data['payment']);
|
93 |
$card->setData('customer_id', $customerId);
|
94 |
$card->setData('cardholder_name', $cardholderName);
|
95 |
+
$globalgatewaye4 = Mage::getModel('globalgatewaye4/paymentMethod');
|
96 |
try {
|
97 |
$token = $globalgatewaye4->verify($card);
|
98 |
} catch (Exception $e) {
|
135 |
$card->addData($data['payment']);
|
136 |
$card->setData('customer_id', $customerId);
|
137 |
$card->setData('cardholder_name', $cardholderName);
|
138 |
+
$globalgatewaye4 = Mage::getModel('globalgatewaye4/paymentMethod');
|
139 |
try {
|
140 |
$token = $globalgatewaye4->verify($card);
|
141 |
} catch (Exception $e) {
|
app/code/community/Cardpay/GlobalGatewaye4/etc/config.xml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<congig>
|
21 |
<modules>
|
22 |
<Cardpay_GlobalGatewaye4>
|
23 |
-
<version>1.0.
|
24 |
</Cardpay_GlobalGatewaye4>
|
25 |
</modules>
|
26 |
<global>
|
20 |
<congig>
|
21 |
<modules>
|
22 |
<Cardpay_GlobalGatewaye4>
|
23 |
+
<version>1.0.5</version>
|
24 |
</Cardpay_GlobalGatewaye4>
|
25 |
</modules>
|
26 |
<global>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Cardpay_GlobalGatewaye4</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 Global Gateway e4 payment extension with TransArmor.</summary>
|
10 |
<description>The First Data Global Gateway e4 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-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Cardpay"><dir name="GlobalGatewaye4"><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_GlobalGatewaye4</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 Global Gateway e4 payment extension with TransArmor.</summary>
|
10 |
<description>The First Data Global Gateway e4 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:29:54</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Cardpay"><dir name="GlobalGatewaye4"><dir name="Block"><file name="Creditcard.php" hash="00970a21fe7edb9914b6ebf13e937e28"/><file name="Form.php" hash="683cc438f6984e3af6c92efd7e2c43ba"/><file name="Info.php" hash="56fe37578d6aa6e6c722894571b06d3e"/></dir><dir name="Helper"><file name="Data.php" hash="7c86f3dc7466d5db9c47deb4fec9414d"/></dir><dir name="Model"><file name="Creditcard.php" hash="0c17e3938fb61c3f6e5dedd92d54e6c3"/><file name="Paymentmethod.php" hash="e4c643ef7a63dd5a91c01ae266e4cd5d"/><dir name="Resource"><dir name="Creditcard"><file name="Collection.php" hash="4cb6c51d028306fc0578db563fbdc749"/></dir><file name="Creditcard.php" hash="c58f28c911141b84715782822ef334c7"/></dir><dir name="Source"><file name="Cctype.php" hash="e5ba63826c4a7445836fc2747a5c0a7c"/><file name="PaymentAction.php" hash="dab7cf7a6aaf36fab506b8b73cd3663e"/></dir></dir><dir name="controllers"><file name="CreditcardController.php" hash="e0383f972133b3c9724c967ad316be87"/></dir><dir name="etc"><file name="config.xml" hash="a73f65bcbac74d43ace2a34064e26e00"/><file name="system.xml" hash="9d7250c1b4b60c38a3590081f270e51e"/></dir><dir name="sql"><dir name="globalgatewaye4_setup"><file name="install-1.0.0.php" hash="d833d213526f1f92de011ed44eeb821f"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="globalgatewaye4"><file name="form.phtml" hash="729d7b3849cbabc0724877bb585691e4"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="globalgatewaye4.xml" hash="14d4d99a2c3ba5b7739a7840b5e79bae"/></dir><dir name="template"><dir name="globalgatewaye4"><dir name="creditcard"><file name="delete.phtml" hash="69ebb39a4f8c1e2b4c0ffe08a0a9fcba"/><file name="edit.phtml" hash="3b908561a07e83b564e0ee6c23af5ac0"/><file name="index.phtml" hash="ecd154705df55134e5d9b16de05b3e0a"/></dir><file name="form.phtml" hash="e3ebbdc3832b3730a5cf9fb9cbcbbbbe"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Cardpay_GlobalGatewaye4.xml" hash="7cd69d3b88915e5dceff1dfc9996c145"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Cardpay_GlobalGatewaye4.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>
|