This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Ebizmarts_SagePayReporting_Model_Cron | |
{ | |
public function getThirdmanScores($cron) | |
{ | |
$tblName = Mage::getSingleton('core/resource')->getTableName('sagepayreporting_fraud'); | |
$sagepayOrders = Mage::getResourceModel('sales/order_grid_collection'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Ebizmarts_SagePaysuite_Block_Adminhtml_Sales_Order_Grid_Renderer_State extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract { | |
/** | |
* Renders grid column | |
* | |
* @param Varien_Object $row | |
* @return string | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set('display_errors', 1); | |
$client = new SoapClient('http://MAGENTO_URL/index.php/api/v2_soap/?wsdl'); | |
$session = $client->login('USERNAME', 'PASSWORD'); | |
$complexFilter = array( | |
'complex_filter' => array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<basket> | |
<item> | |
<description>Honeycomb Quilted Silk Bed Spread - Blue - Pebble</description> | |
<productSku>Q-HCOMB/BP</productSku> | |
<productCode>53521</productCode> | |
<quantity>1</quantity> | |
<unitNetAmount>162.50</unitNetAmount> | |
<unitTaxAmount>32.50</unitTaxAmount> | |
<unitGrossAmount>195.00</unitGrossAmount> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set('error_reporting', E_ERROR | E_PARSE); | |
ini_set('display_errors', 1); | |
$baseUrl = "http://www.brou.com.uy"; | |
$data = file_get_contents($baseUrl . "/web/guest/institucional/cotizaciones"); | |
$dom = new DOMDocument; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/code/local/Ebizmarts/SagePaySuite/Model/Api/Payment.php b/app/code/local/Ebizmarts/SagePaySuite/Model/Api/Payment.php | |
index 0b191b3..f56efab 100755 | |
--- a/app/code/local/Ebizmarts/SagePaySuite/Model/Api/Payment.php | |
+++ b/app/code/local/Ebizmarts/SagePaySuite/Model/Api/Payment.php | |
@@ -62,11 +62,11 @@ class Ebizmarts_SagePaySuite_Model_Api_Payment extends Mage_Payment_Model_Method | |
/** | |
* BasketXML related error codes. | |
- * | |
- * @var type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have added this patch which should fix it | |
Payment.php | |
Add at line 1939 | |
if($this->getConfigData('proxy_enabled')) { | |
$proxy_user_pwd = $this->getConfigData('proxy_user').':'.$this->getConfigData('proxy_pass'); | |
$proxy_host_port = 'http://'.$this->getConfigData('proxy_host').':'.$this->getConfigData('proxy_port'); | |
curl_setopt($curlSession, CURLOPT_PROXYUSERPWD, $usrPwd); | |
curl_setopt($curlSession, CURLOPT_PROXY, $proxy_host_port); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* API model access for SagePay | |
* | |
* @category Ebizmarts | |
* @package Ebizmarts_SagePaySuite | |
* @author Ebizmarts <[email protected]> | |
*/ | |
class Ebizmarts_SagePaySuite_Model_Api_Payment extends Mage_Payment_Model_Method_Cc { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<currencies> | |
<currency type="AFN"> | |
<symbol>Af</symbol> | |
</currency> | |
<currency type="ANG"> | |
<symbol>NAf.</symbol> | |
</currency> | |
<currency type="AOA"> | |
<symbol>Kz</symbol> | |
</currency> |
OlderNewer