app\models\AccountGateway::getWebhookUrl PHP Méthode

getWebhookUrl() public méthode

public getWebhookUrl ( ) : string
Résultat string
    public function getWebhookUrl()
    {
        $account = $this->account ? $this->account : Account::find($this->account_id);
        return \URL::to(env('WEBHOOK_PREFIX', '') . 'payment_hook/' . $account->account_key . '/' . $this->gateway_id . env('WEBHOOK_SUFFIX', ''));
    }