From 9a3d33bda86cc48adaa87de42543ef797912e68f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 6 Nov 2021 10:33:49 +1100 Subject: [PATCH] Fixes for Apple Pay --- app/PaymentDrivers/Stripe/BrowserPay.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/PaymentDrivers/Stripe/BrowserPay.php b/app/PaymentDrivers/Stripe/BrowserPay.php index edb2f16a945a..22b4cb111cd2 100644 --- a/app/PaymentDrivers/Stripe/BrowserPay.php +++ b/app/PaymentDrivers/Stripe/BrowserPay.php @@ -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([