mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes
This commit is contained in:
parent
e3559c4a5f
commit
527b1263ce
@ -65,7 +65,9 @@ class BlockonomicsPaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
public function getPaymentByTxid($txid)
|
public function getPaymentByTxid($txid)
|
||||||
{
|
{
|
||||||
return Payment::whereRaw('BINARY `transaction_reference` LIKE ?', ["%txid: " . $txid . "%"])->firstOrFail();
|
return Payment::where('client_id', $this->client->id)
|
||||||
|
->whereRaw('BINARY `transaction_reference` LIKE ?', ["%txid: " . $txid . "%"])
|
||||||
|
->firstOrFail();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCallbackSecret()
|
public function getCallbackSecret()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user