mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 02:04:35 -04:00
Catch deleted / Archived gateways
This commit is contained in:
parent
f11452aea9
commit
e54a28b857
@ -89,6 +89,10 @@ class PaymentIntentWebhook implements ShouldQueue
|
||||
}
|
||||
|
||||
$company_gateway = CompanyGateway::query()->find($this->company_gateway_id);
|
||||
|
||||
if(!$company_gateway)
|
||||
return;
|
||||
|
||||
$stripe_driver = $company_gateway->driver()->init();
|
||||
|
||||
$charge_id = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user