mirror of
https://github.com/v2board/v2board.git
synced 2025-02-10 23:49:12 +08:00
update: payment
This commit is contained in:
parent
a1a95ea9c8
commit
82584cb18d
@ -39,7 +39,7 @@ class PaymentService
|
|||||||
public function pay($order)
|
public function pay($order)
|
||||||
{
|
{
|
||||||
// custom notify domain name
|
// custom notify domain name
|
||||||
$notifyUrl = url("/api/v1/guest/payment/notify/{$this->method}/{$this->config['uuid']}");
|
$notifyUrl = config('v2board.app_url', env('APP_URL')) . "/api/v1/guest/payment/notify/{$this->method}/{$this->config['uuid']}";
|
||||||
if ($this->config['notify_domain']) {
|
if ($this->config['notify_domain']) {
|
||||||
$parseUrl = parse_url($notifyUrl);
|
$parseUrl = parse_url($notifyUrl);
|
||||||
$notifyUrl = $this->config['notify_domain'] . $parseUrl['path'];
|
$notifyUrl = $this->config['notify_domain'] . $parseUrl['path'];
|
||||||
|
Loading…
Reference in New Issue
Block a user