【问题标题】:Authorize.net for Magento throwing "unable to read response or response is empty"Authorize.net for Magento 抛出“无法读取响应或响应为空”
【发布时间】:2013-01-30 01:17:38
【问题描述】:

我们有一个 1.6 Magento 网站正在发送“付款交易失败”电子邮件。服务器抛出错误“无法读取响应或响应为空”。我们正在使用 Authorize.net 支付网关。它工作得很好,网站没有任何变化。什么可能导致此错误?

【问题讨论】:

  • 谁在发送电子邮件?认证网?还是Magento?是否可以看到您对 Authnet 的请求是什么样的?还有回应?
  • Magento 正在发送电子邮件。这是通用的付款出错电子邮件。我没有请求或响应日志。

标签: magento magento-1.6 authorize.net


【解决方案1】:

此错误消息,异常,在 Zend_Http_Client 周围 993 行抛出 如果你看一下代码,这意味着无法读取响应,可能是因为超时、网络故障或类似的原因。

这里是代码sn-p

$response = $this->adapter->read();
if (! $response) {
    /** @see Zend_Http_Client_Exception */
    #require_once 'Zend/Http/Client/Exception.php';
    throw new Zend_Http_Client_Exception('Unable to read response, or response is empty');
}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-12-11
    • 2020-04-26
    • 1970-01-01
    • 2014-06-13
    • 1970-01-01
    • 2019-10-22
    相关资源
    最近更新 更多