Return payment if it exists
This commit is contained in:
parent
a4da2b0428
commit
b8697863a6
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ class BaseDriver extends AbstractPaymentDriver
|
|||
|
||||
$_payment = Payment::where('transaction_reference', $data['transaction_reference'])
|
||||
->where('client_id', $this->client->id)
|
||||
->exists();
|
||||
->first();
|
||||
|
||||
if($_payment)
|
||||
return $_payment;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue