mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:04:30 -04:00
Update PaymentMethod.php
remove id from sql Signed-off-by: Kendall Arneaud <kendall.arneaud@gmail.com>
This commit is contained in:
parent
608718eae3
commit
77a28b426e
@ -151,7 +151,6 @@ class PaymentMethod implements MethodInterface
|
|||||||
->where('company_gateway_id', $this->rotessa->company_gateway->id)
|
->where('company_gateway_id', $this->rotessa->company_gateway->id)
|
||||||
->where('client_id', $this->rotessa->client->id)
|
->where('client_id', $this->rotessa->client->id)
|
||||||
->where('token', $request->input('source'))
|
->where('token', $request->input('source'))
|
||||||
->where('id', $this->decodePrimaryKey($request->input('source')))
|
|
||||||
->first();
|
->first();
|
||||||
if(!$customer) throw new \Exception('Client gateway token not found!', 605);
|
if(!$customer) throw new \Exception('Client gateway token not found!', 605);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user