Authored by 郝肖肖

合hotfix 异步回调地址

... ... @@ -35,7 +35,7 @@ class AliwapService
'partner' => $this->config->partner,
'_input_charset' => $this->config->input_charset,
'notify_url' => Yohobuy::SERVICE_NOTIFY . $this->config->notify_url,
'return_url' => Helpers::url($this->config->return_url),
'return_url' => Helpers::transHttpsUrl(Helpers::url($this->config->return_url)),
/* 业务参数 */
'payment_type' => $this->config->payment_type,
'seller_id' => $this->config->partner,
... ... @@ -44,7 +44,7 @@ class AliwapService
'out_trade_no' => $params->orderCode,
'subject' => $params->goodsName,
'total_fee' => $params->totalFee / 100, //单位为元
"show_url" => Helpers::url(''),
"show_url" => Helpers::transHttpsUrl(Helpers::url('')),
);
ksort($parameter);
... ...
This diff could not be displayed because it is too large.
... ... @@ -41,7 +41,7 @@ class PayController extends AbstractAction
/* 判断用户是否登录 */
$uid = $this->getUid(true);
if (!$uid) {
$this->go( Helpers::url('/signin.html', array('refer' => $this->_request->server('HTTP_REFERER'))) );
$this->go( Helpers::url('/signin.html', array('refer' => $this->server('HTTP_REFERER', SITE_MAIN))));
break;
}
... ...