1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

Merge pull request #6938 from turbo124/v5-develop

Fixes for Apple Pay
This commit is contained in:
David Bomba 2021-11-06 10:36:49 +11:00 committed by GitHub
commit c91ab24d49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,9 +197,9 @@ class BrowserPay implements MethodInterface
$domain = config('ninja.app_url');
if (Ninja::isHosted()) {
$domain = isset($this->stripe_driver->company_gateway->company->portal_domain)
? $this->stripe_driver->company_gateway->company->portal_domain
: $this->stripe_driver->company_gateway->company->domain();
$domain = isset($this->stripe->company_gateway->company->portal_domain)
? $this->stripe->company_gateway->company->portal_domain
: $this->stripe->company_gateway->company->domain();
}
$response = ApplePayDomain::create([