mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Catch missing props
This commit is contained in:
parent
ec69541e29
commit
3ac6f4c2a7
@ -251,7 +251,7 @@ class CreditCard
|
||||
|
||||
$response = $this->eway_driver->init()->eway->createTransaction(\Eway\Rapid\Enum\ApiMethod::DIRECT, $transaction);
|
||||
|
||||
if ($response->TransactionStatus) {
|
||||
if ($response->TransactionStatus ?? false) {
|
||||
$this->logResponse($response, true);
|
||||
$payment = $this->storePayment($response);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user