mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fixes for Apple Pay
This commit is contained in:
parent
a2e08a4baa
commit
9a3d33bda8
@ -197,9 +197,9 @@ class BrowserPay implements MethodInterface
|
|||||||
$domain = config('ninja.app_url');
|
$domain = config('ninja.app_url');
|
||||||
|
|
||||||
if (Ninja::isHosted()) {
|
if (Ninja::isHosted()) {
|
||||||
$domain = isset($this->stripe_driver->company_gateway->company->portal_domain)
|
$domain = isset($this->stripe->company_gateway->company->portal_domain)
|
||||||
? $this->stripe_driver->company_gateway->company->portal_domain
|
? $this->stripe->company_gateway->company->portal_domain
|
||||||
: $this->stripe_driver->company_gateway->company->domain();
|
: $this->stripe->company_gateway->company->domain();
|
||||||
}
|
}
|
||||||
|
|
||||||
$response = ApplePayDomain::create([
|
$response = ApplePayDomain::create([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user