【发布时间】:2015-08-03 18:35:30
【问题描述】:
我们目前正在使用第三方单页结帐。问题是当我们使用 2checkout 付款方式下订单时,它没有重定向到网关站点,它只是重定向到我“www.mydomain.com/tco/redirect/”。 我觉得
public function indexAction() {
$this->loadLayout();
$block = $this->getLayout()->createBlock('tco/redirect');
$this->getLayout()->getBlock('content')->append($block);
$this->renderLayout();
}
public function getOrderPlaceRedirectUrl() {
return Mage::getUrl('tco/redirect');
}
indexAction 方法无法正常工作。但是,当我们停用第三方一页结帐并激活 magento 默认 opc 时,它的工作正常。
【问题讨论】: