mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Try/catch for apple pay domain
This commit is contained in:
parent
a30941bdb8
commit
2f34411b5f
@ -55,9 +55,15 @@ class ApplePayDomain implements ShouldQueue
|
||||
|
||||
if(in_array($this->company_gateway->gateway_key, $this->stripe_keys))
|
||||
{
|
||||
|
||||
$domain = $this->getDomain();
|
||||
|
||||
try{
|
||||
$this->company_gateway->driver()->setApplePayDomain($domain);
|
||||
}
|
||||
catch(\Exception $e){
|
||||
nlog("failed to set Apple Domain with Stripe " . $e->getMessage());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user