Version Notes
- fixes viewing of orders in Admin Panel for Mangeto 1.8
Download this release
Release Info
| Developer | Tim McEwen |
| Extension | Mage_Usaepay |
| Version | 1.1.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.0 to 1.1.4
- app/code/community/Mage/Usaepay/Block/Form.php +1 -1
- app/code/community/Mage/Usaepay/Helper/Data.php +1 -1
- app/code/community/Mage/Usaepay/Model/CCPaymentAction.php +2 -19
- app/code/community/Mage/Usaepay/Model/SuspectedFraudConfigOptions.php +1 -1
- app/code/community/Mage/Usaepay/Model/TranApi.php +1 -1
- app/code/community/Mage/Usaepay/etc/config.xml +2 -2
- app/code/community/Mage/Usaepay/etc/system.xml +1 -1
- app/design/adminhtml/base/default/template/usaepay/form.phtml +1 -1
- app/design/frontend/base/default/template/usaepay/form.phtml +1 -2
- app/etc/modules/Mage_Usaepay.xml +1 -1
- package.xml +7 -8
app/code/community/Mage/Usaepay/Block/Form.php
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
-
* v1.1.
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
+
* v1.1.4 - November 8th, 2013
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
app/code/community/Mage/Usaepay/Helper/Data.php
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
-
* v1.1.
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
+
* v1.1.4 - November 8th, 2013
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
app/code/community/Mage/Usaepay/Model/CCPaymentAction.php
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
-
* v1.1.
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
|
@@ -402,24 +402,7 @@ class Mage_Usaepay_Model_CCPaymentAction extends Mage_Payment_Model_Method_Cc
|
|
| 402 |
|
| 403 |
public function canVoid(Varien_Object $payment)
|
| 404 |
{
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
if ($payment->getCcTransId()) {
|
| 408 |
-
$api = $this->getApi()
|
| 409 |
-
->setTransactionId($payment->getCcTransId())
|
| 410 |
-
->setPayment($payment);
|
| 411 |
-
if ($api->canVoid()!==false) {
|
| 412 |
-
$payment->setStatus(self::STATUS_VOID);
|
| 413 |
-
} else {
|
| 414 |
-
$e = $api->getError();
|
| 415 |
-
$payment->setStatus(self::STATUS_ERROR);
|
| 416 |
-
$payment->setStatusDescription($e['message']);
|
| 417 |
-
}
|
| 418 |
-
} else {
|
| 419 |
-
$payment->setStatus(self::STATUS_ERROR);
|
| 420 |
-
$payment->setStatusDescription(Mage::helper('paygate')->__('Invalid transaction id'));
|
| 421 |
-
}
|
| 422 |
-
return $this;
|
| 423 |
}
|
| 424 |
|
| 425 |
public function void(Varien_Object $payment)
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
+
* v1.1.4 - November 8th, 2013
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
| 402 |
|
| 403 |
public function canVoid(Varien_Object $payment)
|
| 404 |
{
|
| 405 |
+
return $this->_canVoid;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 406 |
}
|
| 407 |
|
| 408 |
public function void(Varien_Object $payment)
|
app/code/community/Mage/Usaepay/Model/SuspectedFraudConfigOptions.php
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
-
* v1.1.
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
+
* v1.1.4 - November 8th, 2013
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
app/code/community/Mage/Usaepay/Model/TranApi.php
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
-
* v1.1.
|
| 5 |
*
|
| 6 |
* Copyright (c) 2010 USAePay
|
| 7 |
* All rights reserved.
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
+
* v1.1.4 - November 8th, 2013
|
| 5 |
*
|
| 6 |
* Copyright (c) 2010 USAePay
|
| 7 |
* All rights reserved.
|
app/code/community/Mage/Usaepay/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<!--
|
| 3 |
/**
|
| 4 |
* USA ePay Magento Plugin.
|
| 5 |
-
* v1.1.
|
| 6 |
*
|
| 7 |
* For assistance please contact devsupport@usaepay.com
|
| 8 |
*
|
|
@@ -46,7 +46,7 @@
|
|
| 46 |
<config>
|
| 47 |
<modules>
|
| 48 |
<Mage_Usaepay>
|
| 49 |
-
<version>
|
| 50 |
</Mage_Usaepay>
|
| 51 |
</modules>
|
| 52 |
<global>
|
| 2 |
<!--
|
| 3 |
/**
|
| 4 |
* USA ePay Magento Plugin.
|
| 5 |
+
* v1.1.4 - November 8th, 2013
|
| 6 |
*
|
| 7 |
* For assistance please contact devsupport@usaepay.com
|
| 8 |
*
|
| 46 |
<config>
|
| 47 |
<modules>
|
| 48 |
<Mage_Usaepay>
|
| 49 |
+
<version>1.1.4</version>
|
| 50 |
</Mage_Usaepay>
|
| 51 |
</modules>
|
| 52 |
<global>
|
app/code/community/Mage/Usaepay/etc/system.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<!--
|
| 3 |
/**
|
| 4 |
* USA ePay Magento Plugin.
|
| 5 |
-
* v1.1.
|
| 6 |
*
|
| 7 |
* For assistance please contact devsupport@usaepay.com
|
| 8 |
*
|
| 2 |
<!--
|
| 3 |
/**
|
| 4 |
* USA ePay Magento Plugin.
|
| 5 |
+
* v1.1.4 - November 8th, 2013
|
| 6 |
*
|
| 7 |
* For assistance please contact devsupport@usaepay.com
|
| 8 |
*
|
app/design/adminhtml/base/default/template/usaepay/form.phtml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
-
* v1.1.
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
+
* v1.1.4 - November 8th, 2013
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
app/design/frontend/base/default/template/usaepay/form.phtml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
-
* v1.1.
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
|
@@ -101,7 +101,6 @@
|
|
| 101 |
</ul>
|
| 102 |
</fieldset>
|
| 103 |
<?php
|
| 104 |
-
// TODO: make sure this isn't cached
|
| 105 |
// REM: this is outside the hidden area to avoid possible http request issues
|
| 106 |
if($this->_paymentConfig['extendedfraudprofiling'])
|
| 107 |
{
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* USA ePay Magento Plugin.
|
| 4 |
+
* v1.1.4 - November 8th, 2013
|
| 5 |
*
|
| 6 |
* For assistance please contact devsupport@usaepay.com
|
| 7 |
*
|
| 101 |
</ul>
|
| 102 |
</fieldset>
|
| 103 |
<?php
|
|
|
|
| 104 |
// REM: this is outside the hidden area to avoid possible http request issues
|
| 105 |
if($this->_paymentConfig['extendedfraudprofiling'])
|
| 106 |
{
|
app/etc/modules/Mage_Usaepay.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<!--
|
| 3 |
/**
|
| 4 |
* USA ePay Magento Plugin.
|
| 5 |
-
* v1.1.
|
| 6 |
*
|
| 7 |
* For assistance please contact devsupport@usaepay.com
|
| 8 |
*
|
| 2 |
<!--
|
| 3 |
/**
|
| 4 |
* USA ePay Magento Plugin.
|
| 5 |
+
* v1.1.4 - November 8th, 2013
|
| 6 |
*
|
| 7 |
* For assistance please contact devsupport@usaepay.com
|
| 8 |
*
|
package.xml
CHANGED
|
@@ -1,19 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Mage_Usaepay</name>
|
| 4 |
-
<version>1.1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>BSD License</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
-
<summary>Payment gateway module for USAePay
|
| 10 |
-
<description>Provides native support for the USAePay gateway.
|
| 11 |
-
<notes>-
|
| 12 |
-
- fixes bug with billing address information pulling incorrectly from the shipping address</notes>
|
| 13 |
<authors><author><name>Tim McEwen</name><user>tmcewen</user><email>tim@usaepay.com</email></author></authors>
|
| 14 |
-
<date>
|
| 15 |
-
<time>
|
| 16 |
-
<contents><target name="magecommunity"><dir name="Mage"><dir name="Usaepay"><dir name="
|
| 17 |
<compatible/>
|
| 18 |
<dependencies><required><php><min>5.2.0</min><max>5.4.0</max></php></required></dependencies>
|
| 19 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Mage_Usaepay</name>
|
| 4 |
+
<version>1.1.4</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>BSD License</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
+
<summary>Payment gateway module for USAePay.</summary>
|
| 10 |
+
<description>Provides native support for the USAePay gateway. To use module you must first generate a source key and pin within the USAePay console.</description>
|
| 11 |
+
<notes>- fixes viewing of orders in Admin Panel for Mangeto 1.8</notes>
|
|
|
|
| 12 |
<authors><author><name>Tim McEwen</name><user>tmcewen</user><email>tim@usaepay.com</email></author></authors>
|
| 13 |
+
<date>2013-11-16</date>
|
| 14 |
+
<time>00:32:12</time>
|
| 15 |
+
<contents><target name="magecommunity"><dir name="Mage"><dir name="Usaepay"><dir name="Block"><file name="Form.php" hash="134735ac6d446701d107731514487309"/></dir><dir name="Helper"><file name="Data.php" hash="1d8b5e41787d9b39f20d032e0915c440"/></dir><dir name="Model"><file name="CCPaymentAction.php" hash="8d2c81961c956f9818d370750b4676a0"/><file name="SuspectedFraudConfigOptions.php" hash="7d459b10f89724319754f552f84df822"/><file name="TranApi.php" hash="22b43314d8f5af31c88650b66253a9b1"/></dir><dir name="etc"><file name="config.xml" hash="7dd581db6f0319a339ed15ce3aac517c"/><file name="system.xml" hash="92511e632b741859fe44a54eb932aef2"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="usaepay"><file name="form.phtml" hash="48b91f62984d90a79763981c30fd525c"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="usaepay"><file name="form.phtml" hash="d6d855ebb41390d604514611ee095378"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Usaepay.xml" hash="75501b64d4533ff3fa8ee2b724542eca"/></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.2.0</min><max>5.4.0</max></php></required></dependencies>
|
| 18 |
</package>
|
