Authored by 郝肖肖

灰度回调地址

... ... @@ -49,7 +49,7 @@ class Service extends PayAbstract
'service' => $this->config->service,
'partner' => $this->config->partner,
'_input_charset' => $this->config->input_charset,
'notify_url' => Yohobuy::SERVICE_URL . $this->config->notify_url,
'notify_url' => 'graypayment.service.yoho.cn/' . $this->config->notify_url,
'return_url' => Helpers::url($this->config->return_url),
/* 业务参数 */
'subject' => $params->goodsName,
... ...
... ... @@ -53,7 +53,7 @@ class Service extends PayAbstract
'service' => $this->config->service,
'partner' => $this->config->partner,
'_input_charset' => $this->config->input_charset,
'notify_url' => Yohobuy::SERVICE_URL . $this->config->notify_url,
'notify_url' => 'graypayment.service.yoho.cn/' . $this->config->notify_url,
'return_url' => Helpers::url($this->config->return_url),
/* 业务参数 */
'subject' => $params->goodsName,
... ...
... ... @@ -327,7 +327,7 @@ class PaymentModel
$input->SetTotal_fee($totalFee);
$input->SetTime_start(date("YmdHis"));
$input->SetTime_expire(date("YmdHis", time() + 600));
$input->SetNotify_url(Yohobuy::SERVICE_URL . 'payment/weixin_notify');
$input->SetNotify_url('graypayment.service.yoho.cn/' . 'payment/weixin_notify');
$input->SetTrade_type("NATIVE");
$input->SetProduct_id($orderCode);
$notify = new WxPayNativePay();
... ...